A framework for the Godot engine to create TTRPG games for Advanced 5th Edition, Pathfinder 2nd Edition, and more

Removing extra code

-13
-13
src/hooks.rs
··· 3 3 use rmpv::Value; 4 4 5 5 #[wasm_bindgen] 6 - pub struct DiceWire { 7 - hooks: Hooks 8 - } 9 - 10 - impl DiceWire { 11 - pub fn new() -> Self { 12 - Self { 13 - hooks: Hooks::new() 14 - } 15 - } 16 - } 17 - 18 - #[wasm_bindgen] 19 6 pub struct Hooks { 20 7 events: HashMap<String, Vec<Hook>> 21 8 }