Skip to main content

wowlab_engine_domain/rotation/buffer/
pet.rs

1wowlab_engine_macros::define_slot! {
2    #[slot(domain = "pet", kind = singleton)]
3    pub struct PetSlot {
4        #[expr("is_active", Bool, Direct)]
5        pub is_active: i32,
6
7        #[expr("count", Int, Direct)]
8        pub count: i32,
9
10        #[expr("remaining", Float, TimestampRemaining)]
11        pub expires_at: f64,
12    }
13}