All pastes #971548 Raw Edit

Mine

public text v1 · immutable
·published 2008-04-04 20:43 UTC
rendered paste body

struct lua_wrapper_CBaseEntity : CBaseEntity, luabind::wrap_base
{
    lua_wrapper_CBaseEntity(  bool bServerOnly=false )
        : CBaseEntity(s) 
    {}

    virtual void Spawn(int a) 
    { 
        call<void>("Spawn"); 
    }

    static void default_spawn(base* ptr)
    {
		return ptr->CBaseEntity::Spawn();
    }
};