class
Rosegold::DataComponents::CustomModelData
Overview
CustomModelData - four prefixed arrays: floats, booleans, strings, colors (Int).
Defined in:
rosegold/inventory/slot.crConstructors
- .new(floats : Array(Float32) = [] of Float32, booleans : Array(Bool) = [] of Bool, strings : Array(String) = [] of String, colors : Array(Int32) = [] of Int32)
- .read(io) : self
Instance Method Summary
- #booleans : Array(Bool)
- #booleans=(booleans : Array(Bool))
- #colors : Array(Int32)
- #colors=(colors : Array(Int32))
- #floats : Array(Float32)
- #floats=(floats : Array(Float32))
- #strings : Array(String)
- #strings=(strings : Array(String))
- #write(io) : Nil
Instance methods inherited from class Rosegold::DataComponent
write(io) : Nil
write
Constructor methods inherited from class Rosegold::DataComponent
create_component(component_type : UInt32, io) : DataComponent
create_component,
create_component_by_name(name : String | Nil, component_type : UInt32, io) : DataComponent
create_component_by_name
Constructor Detail
def self.new(floats : Array(Float32) = [] of Float32, booleans : Array(Bool) = [] of Bool, strings : Array(String) = [] of String, colors : Array(Int32) = [] of Int32)
#