aoe2-probe 0.3.2

A rust library for editing aoe2scenario files from AoE2 DE.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::{
    parse::Token,
    utils::{DynString, PatchedMap},
};

pub struct AI2;

impl AI2 {
    pub fn template() -> Token {
        let mut root = PatchedMap::with_capacity(2);
        root.push_back("ai_file_name", DynString::with_capacity(0_u32, ""));
        root.push_back("ai_file", DynString::with_capacity(0_u32, ""));

        root.into()
    }
}