struct

Rosegold::DataComponents::Consumable::ConsumeSound

Inherits Struct / Value / Object

Constructors

new(sound_type : UInt32 = 1_u32, sound_id : Nil | String = nil, has_fixed_range : Bool = false, fixed_range : Float32 | Nil = nil)
Source
read(io) : self
Source

Instance methods

fixed_range
Source
fixed_range=(fixed_range : Float32 | Nil)
Source
has_fixed_range=(has_fixed_range : Bool)
Source
has_fixed_range?
Source
sound_id
Source
sound_id=(sound_id : String | Nil)
Source
sound_type
Source
sound_type=(sound_type : UInt32)
Source
write(io) : Nil
Source