struct DotPrison::ArrayTable(T)
Overview
Consumes an actual Table array
Duplicate keys are sometimes used in the original .prison file, so when encountered, they are silently transformed to an array.
If an array is expected, any single values will be cast and will be consumable using this helper
Defined in:
dot_prison/array_table.crConstructors
-
.new(table : DotPrison::Table)
Consumes an actual Table array
Instance Method Summary
- #[](i : Int32) : T
- #each(&)
- #size
-
#table : DotPrison::Table
Consumes an actual Table array
-
#unconsumed : Array(String)
Keys for the associated table that have not been consumed
Instance methods inherited from struct DotPrison::Consumer
initialize
initialize,
table : DotPrison::Table
table
Constructor methods inherited from struct DotPrison::Consumer
new
new
Instance methods inherited from class Object
to_prison
to_prison
Constructor Detail
Consumes an actual Table array
Duplicate keys are sometimes used in the original .prison file, so when encountered, they are silently transformed to an array.
If an array is expected, any single values will be cast and will be consumable using this helper
Instance Method Detail
Consumes an actual Table array
Duplicate keys are sometimes used in the original .prison file, so when encountered, they are silently transformed to an array.
If an array is expected, any single values will be cast and will be consumable using this helper
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