class Rosegold::DataComponents::TooltipDisplay

Overview

Component for tooltip_display (Hide all or parts of the item tooltip)

Defined in:

rosegold/inventory/slot.cr

Constructors

Instance Method Summary

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

Constructor Detail

def self.new(hide_tooltip : Bool, hidden_components : Array(UInt32) = [] of UInt32) #

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

[View source]

Instance Method Detail

def hidden_components : Array(UInt32) #

[View source]
def hidden_components=(hidden_components : Array(UInt32)) #

[View source]
def hide_tooltip : Bool #

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

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

[View source]