pub enum EntityAction {
CastEffect {
entity_id: Uuid,
effect_id: Uuid,
},
CastAbility {
ability_id: AbilityId,
target_entity_id: EntityId,
},
CastBasicAbility {
ability_id: AbilityId,
target_entity_id: EntityId,
},
StartCastAbility {
ability_id: AbilityId,
by_entity_id: EntityId,
pet_id: Option<PetId>,
},
}Variants§
Implementations§
Source§impl EntityAction
impl EntityAction
pub fn get_cast_ability_priority() -> ActionPriority
pub fn get_cast_basic_ability_priority() -> ActionPriority
pub fn get_starting_cast_priority() -> ActionPriority
pub fn get_cast_effect_priority() -> ActionPriority
Trait Implementations§
Source§impl Clone for EntityAction
impl Clone for EntityAction
Source§fn clone(&self) -> EntityAction
fn clone(&self) -> EntityAction
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EntityAction
impl Debug for EntityAction
Source§impl<'de> Deserialize<'de> for EntityAction
impl<'de> Deserialize<'de> for EntityAction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for EntityAction
impl PartialEq for EntityAction
Source§impl Serialize for EntityAction
impl Serialize for EntityAction
impl Eq for EntityAction
impl StructuralPartialEq for EntityAction
Auto Trait Implementations§
impl Freeze for EntityAction
impl RefUnwindSafe for EntityAction
impl Send for EntityAction
impl Sync for EntityAction
impl Unpin for EntityAction
impl UnwindSafe for EntityAction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more