test messy res -> types::item

This commit is contained in:
yuvlian
2026-02-21 14:06:28 +07:00
parent cac15def52
commit 603ebb826c
7 changed files with 122 additions and 2 deletions

View File

@@ -3,5 +3,9 @@ mod singleton;
mod types;
fn main() {
println!("Hello, world!");
let tm = res_parser::text_map::TextMaps::parse().unwrap();
let item_search = res_parser::item::ItemConfigs::parse_to_api_type(&tm).unwrap();
singleton::set_item_search(item_search).ok();
let stellar_jade = singleton::get_item_mini_by_id(&1).unwrap();
dbg!(stellar_jade);
}