pub trait Event: Tagged + AsAny + Debug + PartialEq<[u8]> {
Show 25 methods fn name(&self) -> &str; fn set_world_update(&mut self, update: WorldUpdate); fn set_condition(&mut self, condition: Condition); fn set_make_action_text(&mut self, text: Text); fn set_make_success_text(&mut self, text: Text); fn set_make_fail_text(&mut self, text: Text); fn get_world_update(&self) -> &WorldUpdate; fn get_condition(&self) -> &Condition; fn get_make_action_text(&self) -> &Text; fn get_make_success_text(&self) -> &Text; fn get_make_fail_text(&self) -> &Text; fn initiator(&self) -> String; fn set_initiator(&mut self, initiator: String); fn dump(&self) -> Value; fn matches(&self, value: &Value) -> bool; fn items(&self) -> Vec<String>; fn characters(&self) -> Vec<String>; fn kind(&self) -> &str { ... } fn can_be_triggered(&self, world: &dyn World) -> bool { ... } fn trigger(&mut self, world: &mut dyn World) { ... } fn perform(&mut self, world: &mut dyn World) -> bool { ... } fn action_text(&self, world: &dyn World) -> String { ... } fn success_text(&self, world: &dyn World) -> String { ... } fn fail_text(&self, world: &dyn World) -> String { ... } fn sort_key(&self, world: &dyn World) -> (usize, String, String, String) { ... }
}

Required Methods

Provided Methods

Implementors