struct Rosegold::DataComponents::Consumable::ConsumeSound

Defined in:

rosegold/inventory/slot.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(sound_type : UInt32 = 1_u32, sound_id : Nil | String = nil, has_fixed_range : Bool = false, fixed_range : Float32 | Nil = nil) #

[View source]
def self.read(io) : self #

[View source]

Instance Method Detail

def fixed_range : Float32 | Nil #

[View source]
def fixed_range=(fixed_range : Float32 | Nil) #

[View source]
def has_fixed_range=(has_fixed_range : Bool) #

[View source]
def has_fixed_range? : Bool #

[View source]
def sound_id : String | Nil #

[View source]
def sound_id=(sound_id : String | Nil) #

[View source]
def sound_type : UInt32 #

[View source]
def sound_type=(sound_type : UInt32) #

[View source]
def write(io) : Nil #

[View source]