Consolidate API object code (#12728)
Co-authored-by: sfan5 <sfan5@live.de>
This commit is contained in:
committed by
GitHub
parent
b21fb18379
commit
7632af3c73
@@ -45,12 +45,11 @@ class ObjectRef : public ModApiBase {
|
||||
|
||||
static void Register(lua_State *L);
|
||||
|
||||
static ObjectRef *checkobject(lua_State *L, int narg);
|
||||
|
||||
static ServerActiveObject* getobject(ObjectRef *ref);
|
||||
|
||||
static const char className[];
|
||||
private:
|
||||
ServerActiveObject *m_object = nullptr;
|
||||
static const char className[];
|
||||
static luaL_Reg methods[];
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user