struct DotPrison::Prison::Execution

Defined in:

dot_prison/prison/execution.cr

Constructors

Instance Method Summary

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

def self.new(table : DotPrison::Table) #

[View source]

Instance Method Detail

def active : Bool #

[View source]
def active=(v : Bool) #

[View source]
def actors : DotPrison::Table #

TODO Unknown format


[View source]
def execution_time : Float64 #

[View source]
def execution_time=(v : Number) #

[View source]
def previous_illegal : Bool #

[View source]
def previous_illegal=(v : Bool) #

[View source]
def prisoner_id : Int32 #

[View source]
def prisoner_id=(v : Int) #

[View source]
def prisoner_uid : Int32 #

[View source]
def prisoner_uid=(v : Int) #

[View source]
def room_id : Int32 #

[View source]
def room_id=(v : Int) #

[View source]
def room_uid : Int32 #

[View source]
def room_uid=(v : Int) #

[View source]

[View source]
def table : DotPrison::Table #

def unconsumed : Array(String) #

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


[View source]
def unconsumed_tree : Array(Tuple(String, String)) #

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