[][src]Struct smash::lib::L2CAgent

#[repr(C)]pub struct L2CAgent {
    pub vtable: u64,
    pub lua_state_agent: u64,
    pub functions: CppHash40Map<*const extern "C" fn(_: &mut Self, _: &mut Variadic)>,
    pub unk20: u64,
    pub unk28: u64,
    pub unk30: u64,
    pub battle_object: *mut BattleObject,
    pub module_accessor: *mut BattleObjectModuleAccessor,
}

Fields

vtable: u64lua_state_agent: u64functions: CppHash40Map<*const extern "C" fn(_: &mut Self, _: &mut Variadic)>unk20: u64unk28: u64unk30: u64battle_object: *mut BattleObjectmodule_accessor: *mut BattleObjectModuleAccessor

Methods

impl L2CAgent[src]

pub fn new(lua_state: u64) -> Self[src]

impl L2CAgent[src]

pub unsafe fn L2CAgent_constr(&mut self, lua_state: u64) -> *mut L2CAgent[src]

pub unsafe fn push_lua_stack(&mut self, l2c_value: &mut L2CValue) -> u64[src]

pub unsafe fn pop_lua_stack(&mut self, index: c_int) -> L2CValue[src]

pub unsafe fn sv_set_function_hash(
    &mut self,
    func: unsafe extern "C" fn(arg1: *mut L2CAgent, arg2: *mut c_void) -> u64,
    hash: Hash40
)
[src]

pub unsafe fn clear_lua_stack(&mut self) -> u64[src]

pub unsafe fn _clear_lua_stack(&mut self) -> u64[src]

Trait Implementations

impl Clone for L2CAgent[src]

impl Copy for L2CAgent[src]

impl Debug for L2CAgent[src]

impl Deref for L2CAgent[src]

type Target = u64

The resulting type after dereferencing.

Auto Trait Implementations

impl RefUnwindSafe for L2CAgent

impl !Send for L2CAgent

impl !Sync for L2CAgent

impl Unpin for L2CAgent

impl UnwindSafe for L2CAgent

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.