-------------------------------- -- @module CSLoader -- @parent_module cc -------------------------------- -- -- @function [parent=#CSLoader] setJsonPath -- @param self -- @param #string jsonPath -- @return CSLoader#CSLoader self (return value: cc.CSLoader) -------------------------------- -- -- @function [parent=#CSLoader] createNodeFromJson -- @param self -- @param #string filename -- @return Node#Node ret (return value: cc.Node) -------------------------------- -- -- @function [parent=#CSLoader] createNodeWithFlatBuffersFile -- @param self -- @param #string filename -- @return Node#Node ret (return value: cc.Node) -------------------------------- -- -- @function [parent=#CSLoader] loadNodeWithFile -- @param self -- @param #string fileName -- @return Node#Node ret (return value: cc.Node) -------------------------------- -- -- @function [parent=#CSLoader] bindCallback -- @param self -- @param #string callbackName -- @param #string callbackType -- @param #ccui.Widget sender -- @param #cc.Node handler -- @return bool#bool ret (return value: bool) -------------------------------- -- -- @function [parent=#CSLoader] purge -- @param self -- @return CSLoader#CSLoader self (return value: cc.CSLoader) -------------------------------- -- -- @function [parent=#CSLoader] init -- @param self -- @return CSLoader#CSLoader self (return value: cc.CSLoader) -------------------------------- -- -- @function [parent=#CSLoader] loadNodeWithContent -- @param self -- @param #string content -- @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 -- @return CSLoader#CSLoader self (return value: cc.CSLoader) -------------------------------- -- -- @function [parent=#CSLoader] createNodeWithFlatBuffersForSimulator -- @param self -- @param #string filename -- @return Node#Node ret (return value: cc.Node) -------------------------------- -- -- @function [parent=#CSLoader] destroyInstance -- @param self -- @return CSLoader#CSLoader self (return value: cc.CSLoader) -------------------------------- -- @overload self, string, function -- @overload self, string -- @function [parent=#CSLoader] createNode -- @param self -- @param #string filename -- @param #function callback -- @return Node#Node ret (return value: cc.Node) -------------------------------- -- -- @function [parent=#CSLoader] getInstance -- @param self -- @return CSLoader#CSLoader ret (return value: cc.CSLoader) -------------------------------- -- -- @function [parent=#CSLoader] CSLoader -- @param self -- @return CSLoader#CSLoader self (return value: cc.CSLoader) return nil