struct DotPrison::Prison::Object::Prisoner::Bio

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

def age : Float64 #

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

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

[View source]
def body_type : Int32 #

TODO Int Enum?


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

TODO Int Enum?


[View source]
def clemency_chance : Float64 #

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

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

[View source]

[View source]
def drug_addiction : String #

TODO May be an array somewhere?


[View source]
def drug_addiction=(v : String) #

TODO May be an array somewhere?


[View source]

[View source]
def forename : String #

[View source]
def forename=(v : String) #

[View source]

[View source]

[View source]

[View source]

[View source]

[View source]
def original_category=(v : DotPrison::Prison::Object::Prisoner::Category) #

[View source]
def reputation_revealed : Bool #

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

[View source]
def sentence : Int32 #

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

[View source]
def served : Float64 #

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

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

[View source]
def skin_colour : DotPrison::Colour | String #

[View source]
def skin_colour=(v) #

[View source]
def surname : String #

[View source]
def surname=(v : String) #

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

def traits : Array(String) #

TODO New consumer, Array(Enum) kind of thing


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