diff options
Diffstat (limited to 'meta/3rd/Cocos4.0/library/cc.TMXMapInfo.lua')
-rw-r--r-- | meta/3rd/Cocos4.0/library/cc.TMXMapInfo.lua | 164 |
1 files changed, 164 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/library/cc.TMXMapInfo.lua b/meta/3rd/Cocos4.0/library/cc.TMXMapInfo.lua new file mode 100644 index 00000000..ffb02745 --- /dev/null +++ b/meta/3rd/Cocos4.0/library/cc.TMXMapInfo.lua @@ -0,0 +1,164 @@ +---@meta + +---@class cc.TMXMapInfo +local TMXMapInfo={ } +cc.TMXMapInfo=TMXMapInfo + + + + +---* +---@param currentString string +---@return self +function TMXMapInfo:setCurrentString (currentString) end +---* / map hexsidelength +---@return int +function TMXMapInfo:getHexSideLength () end +---* +---@param tileSize size_table +---@return self +function TMXMapInfo:setTileSize (tileSize) end +---* / map orientation +---@return int +function TMXMapInfo:getOrientation () end +---* +---@param groups array_table +---@return self +function TMXMapInfo:setObjectGroups (groups) end +---* +---@param layers array_table +---@return self +function TMXMapInfo:setLayers (layers) end +---* initializes parsing of an XML file, either a tmx (Map) file or tsx (Tileset) file +---@param xmlFilename string +---@return boolean +function TMXMapInfo:parseXMLFile (xmlFilename) end +---* / parent element +---@return int +function TMXMapInfo:getParentElement () end +---* +---@param fileName string +---@return self +function TMXMapInfo:setTMXFileName (fileName) end +---* +---@param xmlString string +---@return boolean +function TMXMapInfo:parseXMLString (xmlString) end +---@overload fun():self +---@overload fun():self +---@return array_table +function TMXMapInfo:getLayers () end +---* / map staggeraxis +---@return int +function TMXMapInfo:getStaggerAxis () end +---* +---@param hexSideLength int +---@return self +function TMXMapInfo:setHexSideLength (hexSideLength) end +---* initializes a TMX format with a tmx file +---@param tmxFile string +---@return boolean +function TMXMapInfo:initWithTMXFile (tmxFile) end +---* / parent GID +---@return int +function TMXMapInfo:getParentGID () end +---@overload fun():self +---@overload fun():self +---@return array_table +function TMXMapInfo:getTilesets () end +---* +---@param element int +---@return self +function TMXMapInfo:setParentElement (element) end +---* initializes a TMX format with an XML string and a TMX resource path +---@param tmxString string +---@param resourcePath string +---@return boolean +function TMXMapInfo:initWithXML (tmxString,resourcePath) end +---* +---@param gid int +---@return self +function TMXMapInfo:setParentGID (gid) end +---* / layer attribs +---@return int +function TMXMapInfo:getLayerAttribs () end +---* / tiles width & height +---@return size_table +function TMXMapInfo:getTileSize () end +---* +---@return map_table +function TMXMapInfo:getTileProperties () end +---* / is storing characters? +---@return boolean +function TMXMapInfo:isStoringCharacters () end +---* +---@return string +function TMXMapInfo:getExternalTilesetFileName () end +---@overload fun():self +---@overload fun():self +---@return array_table +function TMXMapInfo:getObjectGroups () end +---* +---@return string +function TMXMapInfo:getTMXFileName () end +---* +---@param staggerIndex int +---@return self +function TMXMapInfo:setStaggerIndex (staggerIndex) end +---* +---@param properties map_table +---@return self +function TMXMapInfo:setProperties (properties) end +---* +---@param orientation int +---@return self +function TMXMapInfo:setOrientation (orientation) end +---* +---@param tileProperties map_table +---@return self +function TMXMapInfo:setTileProperties (tileProperties) end +---* +---@param mapSize size_table +---@return self +function TMXMapInfo:setMapSize (mapSize) end +---* +---@return string +function TMXMapInfo:getCurrentString () end +---* +---@param storingCharacters boolean +---@return self +function TMXMapInfo:setStoringCharacters (storingCharacters) end +---* +---@param staggerAxis int +---@return self +function TMXMapInfo:setStaggerAxis (staggerAxis) end +---* / map width & height +---@return size_table +function TMXMapInfo:getMapSize () end +---* +---@param tilesets array_table +---@return self +function TMXMapInfo:setTilesets (tilesets) end +---@overload fun():self +---@overload fun():self +---@return map_table +function TMXMapInfo:getProperties () end +---* / map stagger index +---@return int +function TMXMapInfo:getStaggerIndex () end +---* +---@param layerAttribs int +---@return self +function TMXMapInfo:setLayerAttribs (layerAttribs) end +---* creates a TMX Format with a tmx file +---@param tmxFile string +---@return self +function TMXMapInfo:create (tmxFile) end +---* creates a TMX Format with an XML string and a TMX resource path +---@param tmxString string +---@param resourcePath string +---@return self +function TMXMapInfo:createWithXML (tmxString,resourcePath) end +---* js ctor +---@return self +function TMXMapInfo:TMXMapInfo () end
\ No newline at end of file |