abstract class Rosegold::DataComponent

Overview

Base class for data components

Direct Known Subclasses

Defined in:

rosegold/inventory/slot.cr

Constructors

Instance Method Summary

Constructor Detail

def self.create_component(component_type : UInt32, io) : DataComponent #

Factory method to create structured components by type ID


[View source]

Instance Method Detail

abstract def write(io) : Nil #

[View source]