tangled
alpha
login
or
join now
cass.cityboundforest.com
/
dice-wire
2
fork
atom
A framework for the Godot engine to create TTRPG games for Advanced 5th Edition, Pathfinder 2nd Edition, and more
2
fork
atom
overview
issues
pulls
pipelines
Removing extra code
cass.cityboundforest.com
1 day ago
4b1dfb82
f37df30e
-13
1 changed file
expand all
collapse all
unified
split
src
hooks.rs
-13
src/hooks.rs
···
3
3
use rmpv::Value;
4
4
5
5
#[wasm_bindgen]
6
6
-
pub struct DiceWire {
7
7
-
hooks: Hooks
8
8
-
}
9
9
-
10
10
-
impl DiceWire {
11
11
-
pub fn new() -> Self {
12
12
-
Self {
13
13
-
hooks: Hooks::new()
14
14
-
}
15
15
-
}
16
16
-
}
17
17
-
18
18
-
#[wasm_bindgen]
19
6
pub struct Hooks {
20
7
events: HashMap<String, Vec<Hook>>
21
8
}