struct Rosegold::DataComponents::Trim::TrimMaterial

Overview

ID or TrimMaterial - either registry ID or inline definition

Defined in:

rosegold/inventory/slot.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(registry_id : UInt32 | Nil, inline_data : InlineTrimMaterial | Nil) #

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

[View source]

Instance Method Detail

def inline_data : InlineTrimMaterial | Nil #

[View source]
def inline_data=(inline_data : InlineTrimMaterial | Nil) #

[View source]
def registry_id : UInt32 | Nil #

[View source]
def registry_id=(registry_id : UInt32 | Nil) #

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

[View source]