MCPcopy Create free account
hub / github.com/cocos/cocos4 / parseXMLString

Method parseXMLString

cocos/tiledmap/tmx-xml-parser.ts:541–797  ·  view source on GitHub ↗

* Initializes parsing of an XML string, either a tmx (Map) string or tsx (Tileset) string * @param {String} xmlString * @param {Number} tilesetFirstGid * @return {Element}

(xmlStr: string, tilesetFirstGid?: number)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

initWithXMLMethod · 0.95

Calls 15

parseMethod · 0.95
setStaggerAxisMethod · 0.95
setStaggerIndexMethod · 0.95
setHexSideLengthMethod · 0.95
setMapSizeMethod · 0.95
setTileSizeMethod · 0.95
setTilesetsMethod · 0.95
_shouldIgnoreNodeMethod · 0.95
_parseImageLayerMethod · 0.95
setImageLayersMethod · 0.95
_parseLayerMethod · 0.95
setLayersMethod · 0.95

Tested by

no test coverage detected