axmol/cocos/scripting/lua-bindings/auto/api/Application.lua

41 lines
1.3 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module Application
-- @parent_module cc
2014-03-10 14:04:58 +08:00
--------------------------------
-- brief Get target platform
2014-03-10 14:04:58 +08:00
-- @function [parent=#Application] getTargetPlatform
-- @param self
-- @return int#int ret (return value: int)
2014-03-10 14:04:58 +08:00
--------------------------------
-- brief Get current language iso 639-1 code<br>
-- return Current language iso 639-1 code
-- @function [parent=#Application] getCurrentLanguageCode
2014-03-10 14:04:58 +08:00
-- @param self
-- @return char#char ret (return value: char)
2014-03-10 14:04:58 +08:00
--------------------------------
-- brief Get current language config<br>
-- return Current language config
2014-03-10 14:04:58 +08:00
-- @function [parent=#Application] getCurrentLanguage
-- @param self
-- @return int#int ret (return value: int)
2014-03-10 14:04:58 +08:00
--------------------------------
-- brief Callback by Director to limit FPS.<br>
-- param interval The time, expressed in seconds, between current frame and next.
-- @function [parent=#Application] setAnimationInterval
-- @param self
-- @param #double interval
2014-03-10 14:04:58 +08:00
--------------------------------
-- brief Get current application instance.<br>
-- return Current application instance pointer.
2014-03-10 14:04:58 +08:00
-- @function [parent=#Application] getInstance
-- @param self
-- @return Application#Application ret (return value: cc.Application)
return nil