[−][src]Enum sulis_state::script::script_callback::FuncKind
A type of callback function for a CallbackData
object.
Variants
Save compatibility only. TODO remove this after a while
Called when an entity swaps their weapon set
Called when a new effect is applied to a parent
Called when a menu option is selected in a custom menu
Called whenever an effect is removed from a parent
Called whenver a parent entity loses hit points
Called on the attacking entity immediately before the attack is rolled Only applies to standard weapon attacks.
Called on the attacking entity immediately after the attack is rolled. Only applies to standard weapon attacks.
Called on the defending entity immediately after the attack is rolled. Only applies to standard weapon attacks.
Called on the defending entity immediately before the attack is rolled. Only applies to standard weapon attacks.
Called whenever an animation copmletes, due to its duration elapsing or the owning effect being removed.
Called at a specific time elapsed on an animation update.
Called once each time a round elapses for the parent
Called each time an entity moves a square
Only relevant for surfaces. Called once each time a round elapses for the surface effect, including a list of all affected entities as targets.
Called each time an entity moves within a given surface. Controlled by
set_squares_to_fire_on_moved
Called when an entity enters a surface
Called when an entity exits a surface
Called when an ability is activated
Called whena an ability mode is deactivated
Trait Implementations
impl Clone for FuncKind
[src]
impl Copy for FuncKind
[src]
impl Debug for FuncKind
[src]
impl<'de> Deserialize<'de> for FuncKind
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for FuncKind
[src]
impl Hash for FuncKind
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for FuncKind
[src]
fn cmp(&self, other: &FuncKind) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<FuncKind> for FuncKind
[src]
impl PartialOrd<FuncKind> for FuncKind
[src]
fn partial_cmp(&self, other: &FuncKind) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for FuncKind
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for FuncKind
[src]
impl StructuralPartialEq for FuncKind
[src]
Auto Trait Implementations
impl RefUnwindSafe for FuncKind
impl Send for FuncKind
impl Sync for FuncKind
impl Unpin for FuncKind
impl UnwindSafe for FuncKind
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Content for T where
T: Copy,
[src]
T: Copy,
type Owned = T
A type that holds a sized version of the content.
pub fn read<F, E>(size: usize, f: F) -> Result<T, E> where
F: FnOnce(&mut T) -> Result<(), E>,
[src]
F: FnOnce(&mut T) -> Result<(), E>,
pub fn get_elements_size() -> usize
[src]
pub fn to_void_ptr(&self) -> *const ()
[src]
pub fn ref_from_ptr(ptr: *mut (), size: usize) -> Option<*mut T>
[src]
pub fn is_size_suitable(size: usize) -> bool
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,