Skip to content

atl/sm/cell

import "atl/sm/cell"

Contents of a cell, by cell coordinates (sm.cell).

func Harvestables(x, y int, size *int) []sm.Harvestable

[server] The harvestables in a cell.

func HarvestablesByUuid(x, y int, uuid sm.Uuid, size *int) []sm.Harvestable

[server] The harvestables of one uuid in a cell.

func InteractablesByUuid(x, y int, uuid sm.Uuid) []sm.Interactable

[server] The interactables of one uuid in a cell.

func InteractablesByAnyUuid(x, y int, uuids []sm.Uuid) []sm.Interactable

[server] The interactables matching any of the uuids.

func InteractablesByTag(x, y int, tag string) []sm.Interactable

[server] The interactables with a tag.

func InteractablesByTags(x, y int, tags []string) []sm.Interactable

[server] The interactables with all of these tags.

func NodesByTag(x, y int, tag string, world sm.World) atl.Value

Terrain nodes with a tag: tables with position, rotation, scale, params, tags.

func NodesByTags(x, y int, tags []string, world sm.World) atl.Value

Terrain nodes with all of these tags.

func Tags(x, y int, world sm.World) []string

The cell's tags.