2014-10-15 02:01:12 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module CSLoader
|
|
|
|
-- @parent_module cc
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
2014-12-04 10:11:58 +08:00
|
|
|
-- @function [parent=#CSLoader] setJsonPath
|
2014-10-15 02:01:12 +08:00
|
|
|
-- @param self
|
2014-12-04 10:11:58 +08:00
|
|
|
-- @param #string jsonPath
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return CSLoader#CSLoader self (return value: cc.CSLoader)
|
2014-10-15 02:01:12 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
2014-12-04 10:11:58 +08:00
|
|
|
-- @function [parent=#CSLoader] createNodeFromJson
|
2014-10-15 02:01:12 +08:00
|
|
|
-- @param self
|
|
|
|
-- @param #string filename
|
|
|
|
-- @return Node#Node ret (return value: cc.Node)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
2014-12-04 10:11:58 +08:00
|
|
|
-- @function [parent=#CSLoader] createNodeWithFlatBuffersFile
|
2014-10-15 02:01:12 +08:00
|
|
|
-- @param self
|
2014-12-04 10:11:58 +08:00
|
|
|
-- @param #string filename
|
|
|
|
-- @return Node#Node ret (return value: cc.Node)
|
2014-10-15 02:01:12 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#CSLoader] loadNodeWithFile
|
|
|
|
-- @param self
|
|
|
|
-- @param #string fileName
|
|
|
|
-- @return Node#Node ret (return value: cc.Node)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
2014-12-04 10:11:58 +08:00
|
|
|
-- @function [parent=#CSLoader] bindCallback
|
2014-10-15 02:01:12 +08:00
|
|
|
-- @param self
|
2014-12-04 10:11:58 +08:00
|
|
|
-- @param #string callbackName
|
|
|
|
-- @param #string callbackType
|
|
|
|
-- @param #ccui.Widget sender
|
|
|
|
-- @param #cc.Node handler
|
2014-10-15 02:01:12 +08:00
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
2014-12-04 10:11:58 +08:00
|
|
|
-- @function [parent=#CSLoader] purge
|
2014-10-15 02:01:12 +08:00
|
|
|
-- @param self
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return CSLoader#CSLoader self (return value: cc.CSLoader)
|
2014-10-15 02:01:12 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
2014-12-04 10:11:58 +08:00
|
|
|
-- @function [parent=#CSLoader] init
|
2014-10-15 02:01:12 +08:00
|
|
|
-- @param self
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return CSLoader#CSLoader self (return value: cc.CSLoader)
|
2014-10-15 02:01:12 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
2014-12-04 10:11:58 +08:00
|
|
|
-- @function [parent=#CSLoader] loadNodeWithContent
|
2014-10-15 02:01:12 +08:00
|
|
|
-- @param self
|
2014-12-04 10:11:58 +08:00
|
|
|
-- @param #string content
|
2014-10-15 02:01:12 +08:00
|
|
|
-- @return Node#Node ret (return value: cc.Node)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#CSLoader] isRecordJsonPath
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#CSLoader] getJsonPath
|
|
|
|
-- @param self
|
|
|
|
-- @return string#string ret (return value: string)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#CSLoader] setRecordJsonPath
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool record
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return CSLoader#CSLoader self (return value: cc.CSLoader)
|
2014-10-15 02:01:12 +08:00
|
|
|
|
2014-12-09 18:34:49 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#CSLoader] createNodeWithFlatBuffersForSimulator
|
|
|
|
-- @param self
|
|
|
|
-- @param #string filename
|
|
|
|
-- @return Node#Node ret (return value: cc.Node)
|
|
|
|
|
2014-10-15 02:01:12 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#CSLoader] destroyInstance
|
|
|
|
-- @param self
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return CSLoader#CSLoader self (return value: cc.CSLoader)
|
2014-10-15 02:01:12 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2015-03-13 15:15:34 +08:00
|
|
|
-- @overload self, string, function
|
|
|
|
-- @overload self, string
|
|
|
|
-- @function [parent=#CSLoader] createNode
|
2014-10-15 02:01:12 +08:00
|
|
|
-- @param self
|
|
|
|
-- @param #string filename
|
2015-03-13 15:15:34 +08:00
|
|
|
-- @param #function callback
|
2014-10-15 02:01:12 +08:00
|
|
|
-- @return Node#Node ret (return value: cc.Node)
|
2015-03-13 15:15:34 +08:00
|
|
|
|
2014-10-15 02:01:12 +08:00
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#CSLoader] getInstance
|
|
|
|
-- @param self
|
|
|
|
-- @return CSLoader#CSLoader ret (return value: cc.CSLoader)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
--
|
|
|
|
-- @function [parent=#CSLoader] CSLoader
|
|
|
|
-- @param self
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return CSLoader#CSLoader self (return value: cc.CSLoader)
|
2014-10-15 02:01:12 +08:00
|
|
|
|
|
|
|
return nil
|