struct

DotPrison::Prison::TransferData

Inherits DotPrison::Consumer < Struct < Value < Object

TODO: Enum indexing instead of category_i

Constants

CRITERIA = {:staff_assaults => :staffAssaults, :murders => :murders, :escape_attempts => :escapeAttempts, :contraband => :contraband, :gang_members => :gangMembers, :reoffending => :reoffending, :programs_passed => :programsPassed, :criteria_met => :criteriaMet}

Constructors

new(table : DotPrison::Table)

TODO: Enum indexing instead of category_i

Source

Instance methods

category_0
category_1
category_2
table

TODO: Enum indexing instead of category_i

unconsumed

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

Nested types