MCPcopy Create free account
hub / github.com/SolarLune/masterplan / Get

Method Get

contents.go:2462–2464  ·  view source on GitHub ↗
(point Vector)

Source from the content-addressed store, hash-verified

2460}
2461
2462func (mapData *MapData) Get(point Vector) int {
2463 return mapData.GetI(int(point.X), int(point.Y))
2464}
2465
2466func (mapData *MapData) Serialize() string {
2467 dataStr, _ := sjson.Set("{}", "contents", mapData.Data)

Callers 15

NewCheckboxContentsFunction · 0.45
AutosetSizeMethod · 0.45
UpdateMethod · 0.45
DrawMethod · 0.45
ColorMethod · 0.45
TriggerMethod · 0.45
CompletionLevelMethod · 0.45
NewNumberedContentsFunction · 0.45
UpdateMethod · 0.45
DrawMethod · 0.45
ColorMethod · 0.45
TriggerMethod · 0.45

Calls 1

GetIMethod · 0.95

Tested by

no test coverage detected