Skip to main content

RuntimeEventCatalog

Struct RuntimeEventCatalog 

Source
pub struct RuntimeEventCatalog {
    pub(crate) program: u64,
}

Fields§

§program: u64

Implementations§

Source§

impl RuntimeEventCatalog

Source

pub fn new() -> Self

Source

pub const fn pending_impact( &self, slot: u32, generation: u32, ) -> PendingImpactBinding

Source

pub const fn validate_pending_impact( &self, binding: PendingImpactBinding, ) -> Option<(u32, u32)>

Source

pub const fn hook_timer(&self, slot: u32, generation: u32) -> HookTimerBinding

Source

pub const fn validate_hook_timer( &self, binding: HookTimerBinding, ) -> Option<(u32, u32)>

Source

pub const fn aura( &self, local: u8, concrete: u32, key: AuraKey, target: Option<EnemyIdx>, ) -> AuraEventBinding

Source

pub const fn validate_aura( &self, binding: AuraEventBinding, ) -> Option<(u8, u32, AuraKey, Option<EnemyIdx>)>

Source

pub const fn guardian( &self, slot: u32, generation: u32, ability: Option<u16>, ) -> GuardianEventBinding

Source

pub const fn validate_guardian( &self, binding: GuardianEventBinding, ) -> Option<(u32, u32, Option<u16>)>

Source

pub const fn pet_action(&self, plan: u16) -> PetActionBinding

Source

pub const fn validate_pet_action( &self, binding: PetActionBinding, ) -> Option<u16>

Source

pub const fn raid_event(&self, plan: u16) -> RaidEventBinding

Source

pub const fn validate_raid_event( &self, binding: RaidEventBinding, ) -> Option<u16>

Source

pub const fn external_buff(&self, plan: u16) -> ExternalBuffBinding

Source

pub const fn validate_external_buff( &self, binding: ExternalBuffBinding, ) -> Option<u16>

Source

pub const fn actor_movement( &self, actor: ActorId, generation: u64, ) -> ActorMovementBinding

Source

pub const fn validate_actor_movement( &self, binding: ActorMovementBinding, ) -> Option<(ActorId, u64)>

Source

pub const fn raid_add( &self, target: EnemyIdx, activation_generation: u64, encounter_generation: PullLifecycleGeneration, ) -> RaidAddBinding

Source

pub const fn validate_raid_add( &self, binding: RaidAddBinding, ) -> Option<(EnemyIdx, u64, PullLifecycleGeneration)>

Trait Implementations§

Source§

impl Debug for RuntimeEventCatalog

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for RuntimeEventCatalog

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<S, T> Upcast<T> for S
where T: UpcastFrom<S> + ?Sized, S: ?Sized,

Source§

fn upcast(&self) -> &T
where Self: ErasableGeneric, T: ErasableGeneric<Repr = Self::Repr>,

Perform a zero-cost type-safe upcast to a wider ref type within the Wasm bindgen generics type system. Read more
Source§

fn upcast_into(self) -> T
where Self: Sized + ErasableGeneric, T: ErasableGeneric<Repr = Self::Repr>,

Perform a zero-cost type-safe upcast to a wider type within the Wasm bindgen generics type system. Read more