|
@@ -7681,6 +7681,16 @@ Properties:
|
|
|
- int WM_CLAMP
|
|
- int WM_CLAMP
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
+\section LuaScriptAPI_toluaFunctions tolua functions
|
|
|
|
|
+- lua_usertype cast(lua_usertype object, const char* typename)
|
|
|
|
|
+- lua_table getpeer(lua_userdata object)
|
|
|
|
|
+- void inherit(lua_table table, lua_usertype c_instance)
|
|
|
|
|
+- bool releaseownership(lua_usertype object)
|
|
|
|
|
+- void setpeer(lua_userdata object, lua_table table)
|
|
|
|
|
+- bool takeownership(lua_usertype object)
|
|
|
|
|
+- const char* type(lua_object object)
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
\section LuaScriptAPI_GlobalFunctions Global functions
|
|
\section LuaScriptAPI_GlobalFunctions Global functions
|
|
|
- float Abs(float value)
|
|
- float Abs(float value)
|
|
|
- int AbsInt(int value)
|
|
- int AbsInt(int value)
|
|
@@ -7794,9 +7804,12 @@ Properties:
|
|
|
- Audio* audio (readonly)
|
|
- Audio* audio (readonly)
|
|
|
- ResourceCache* cache (readonly)
|
|
- ResourceCache* cache (readonly)
|
|
|
- Console* console (readonly)
|
|
- Console* console (readonly)
|
|
|
|
|
+- Context* context (readonly)
|
|
|
- Database* database (readonly)
|
|
- Database* database (readonly)
|
|
|
- DebugHud* debugHud (readonly)
|
|
- DebugHud* debugHud (readonly)
|
|
|
- Engine* engine (readonly)
|
|
- Engine* engine (readonly)
|
|
|
|
|
+- EventHandler* eventHandler (readonly)
|
|
|
|
|
+- EventSender* eventSender (readonly)
|
|
|
- FileSystem* fileSystem (readonly)
|
|
- FileSystem* fileSystem (readonly)
|
|
|
- Graphics* graphics (readonly)
|
|
- Graphics* graphics (readonly)
|
|
|
- Input* input (readonly)
|
|
- Input* input (readonly)
|