struct

DotPrison::GridTable(T)

Inherits DotPrison::Consumer < Struct < Value < Object

A consumer for Tables that use 2 coordinates separated by spaces

Such as "0 0" and "100 100"

Constructors

new(table : DotPrison::Table)

A consumer for Tables that use 2 coordinates separated by spaces

Such as "0 0" and "100 100"

Source

Instance methods

[](x : Int32, y : Int32)
Source
[](xy : Tuple(Int32, Int32)) : T
Source
table

A consumer for Tables that use 2 coordinates separated by spaces

Such as "0 0" and "100 100"

unconsumed

Custom #unconsumed that removes #[] entries

Keys for the associated table that have not been consumed

This may be because they have not been implemented yet, they may have an unknown purpose, or could be part of an unsupported mod

Source
unconsumed_tree

Returns a recursive array of the {class name, key} that have not been consumed

Uses the Consumer::HANDLED_VARIABLES constant, so custom Consumer::consume macro use may not work

Similar to #unconsumed, but travels the whole tree