struct DotPrison::Prison::Object::Prisoner::Needs

Defined in:

dot_prison/prison/object/prisoner.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


[View source]

[View source]
def complain_need_id : Int32 #

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

[View source]
def complain_need_uid : Int32 #

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

[View source]
def complaining : Int32 #

TODO is this an enum? Maybe just a count of unfulfilled needs


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

TODO is this an enum? Maybe just a count of unfulfilled needs


[View source]
def last_ate : Float64 #

[View source]
def last_ate=(v : Float) #

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

[View source]

[View source]
def priority : Int32 #

TODO Might be an Enum but who knows


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

TODO Might be an Enum but who knows


[View source]
def starve_timer : Float64 #

[View source]
def starve_timer=(v : Float) #

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

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

def timer : Float64 #

[View source]
def timer=(v : Float) #

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

[View source]
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]