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

#[repr(C)]pub struct L2CAgent {
    pub vtable: u64,
    pub lua_state_agent: u64,
    pub unk10: u64,
    pub unk18: u64,
    pub unk20: u64,
    pub unk28: u64,
    pub unk30: u64,
    pub unk38: u64,
    pub lua_state_agentbase: u64,
}

Fields

vtable: u64lua_state_agent: u64unk10: u64unk18: u64unk20: u64unk28: u64unk30: u64unk38: u64lua_state_agentbase: u64

Implementations

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: Option<unsafe extern "C" fn(arg1: *mut L2CAgent, arg2: *mut c_void) -> u64>,
    hash: u64
) -> u64
[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 Send for L2CAgent

impl Sync for L2CAgent

impl Unpin 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, 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.