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

43 lines
1.2 KiB
Lua

--------------------------------
-- @module Console
-- @extend Ref
-- @parent_module cc
--------------------------------
-- starts listening to specified TCP port
-- @function [parent=#Console] listenOnTCP
-- @param self
-- @param #int port
-- @return bool#bool ret (return value: bool)
--------------------------------
-- log something in the console
-- @function [parent=#Console] log
-- @param self
-- @param #char buf
-- @return Console#Console self (return value: cc.Console)
--------------------------------
-- set bind address<br>
-- address : 127.0.0.1
-- @function [parent=#Console] setBindAddress
-- @param self
-- @param #string address
-- @return Console#Console self (return value: cc.Console)
--------------------------------
-- stops the Console. 'stop' will be called at destruction time as well
-- @function [parent=#Console] stop
-- @param self
-- @return Console#Console self (return value: cc.Console)
--------------------------------
-- starts listening to specified file descriptor
-- @function [parent=#Console] listenOnFileDescriptor
-- @param self
-- @param #int fd
-- @return bool#bool ret (return value: bool)
return nil