MCPcopy Create free account
hub / github.com/melonjs/melonJS / resetGUID

Function resetGUID

packages/melonjs/src/utils/utils.ts:111–115  ·  view source on GitHub ↗
(base: string, index = 0)

Source from the content-addressed store, hash-verified

109 * @ignore
110 */
111export function resetGUID(base: string, index = 0) {
112 // also ensure it's only 8bit ASCII characters
113 GUID_base = toHex(base.toUpperCase());
114 GUID_index = index;
115}
116
117/**
118 * create and return a very simple GUID

Callers 1

loadTMXLevelFunction · 0.90

Calls 1

toHexFunction · 0.90

Tested by

no test coverage detected