MCPcopy Create free account
hub / github.com/YGYOOO/WorldX / parseCellKey

Method parseCellKey

client/src/systems/MapManager.ts:651–654  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

649 }
650
651 private parseCellKey(value: string): [number, number] {
652 const [gx, gy] = value.split(",").map(Number);
653 return [gx, gy];
654 }
655
656 private getInsetBounds(location: LocationRect): Pick<LocationRect, "x" | "y" | "width" | "height"> {
657 if (!this.isPinnedLocation(location.id)) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected