Browse Source

Update Lua script API documention.

Aster Jian 12 years ago
parent
commit
b75e301f8b
1 changed files with 10 additions and 0 deletions
  1. 10 0
      Docs/LuaScriptAPI.dox

+ 10 - 0
Docs/LuaScriptAPI.dox

@@ -2463,13 +2463,21 @@ LuaScriptInstance : Component
 Methods:<br>
 - bool CreateObject(const String objectType)
 - bool CreateObject(const String fileName, const String objectType)
+- void SetScriptFileName(const String scriptFileName)
+- void SetScriptObjectType(const String scriptObjectType)
 - void SubscribeToEvent(const String eventName, const String functionName)
 - void UnsubscribeFromEvent(const String eventName)
 - void UnsubscribeFromAllEvents()
 - void SubscribeToEvent(void* object, const String eventName, const String functionName)
 - void UnsubscribeFromEvent(void* object, const String eventName)
 - void UnsubscribeFromEvents(void* object)
+- const String& GetScriptFileName() const
+- const String& GetScriptObjectType() const
 
+Properties:<br>
+- const String scriptFileName
+- const String scriptObjectType
+    
 BoundingBox
 
 Methods:<br>
@@ -3821,6 +3829,8 @@ Methods:<br>
 - virtual ~Scene()
 - bool LoadXML(File* source)
 - bool SaveXML(File* dest) const
+- bool LoadXML(const String fileName)
+- bool SaveXML(const String fileName) const
 - bool LoadAsync(File* file)
 - bool LoadAsyncXML(File* file)
 - void StopAsyncLoading()