class Rosegold::Clientbound::ChatMessage

Defined in:

rosegold/packets/clientbound/chat_message.cr

Constructors

Class Method Summary

Instance Method Summary

Class methods inherited from class Rosegold::Clientbound::Packet

new_raw(bytes) new_raw, state state

Instance methods inherited from class Rosegold::Packet

callback(client_or_server) callback, to_s(io) to_s, write : Bytes write

Constructor Detail

def self.new(message : Rosegold::Chat, position : UInt8 = 0, sender : UUID = UUID.empty) #

[View source]

Class Method Detail

def self.packet_id #

[View source]
def self.read(packet) #

[View source]

Instance Method Detail

def callback(client) #

[View source]
def message : Rosegold::Chat #

[View source]
def message=(message : Rosegold::Chat) #

[View source]
def position : UInt8 #

[View source]
def position=(position : UInt8) #

[View source]
def sender : UUID #

[View source]
def sender=(sender : UUID) #

[View source]
def write : Bytes #

[View source]