struct Rosegold::Clientbound::PlayerInfoUpdate::PlayerEntry

Defined in:

rosegold/packets/clientbound/player_info_update.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(uuid : UUID, name : Nil | String = nil, properties : Nil | Array(Rosegold::Clientbound::PlayerInfoUpdate::PlayerEntry::Property) = nil, chat_session_id : UUID | Nil = nil, public_key_expiry_time : Int64 | Nil = nil, encoded_public_key : Slice(UInt8) | Nil = nil, public_key_signature : Slice(UInt8) | Nil = nil, gamemode : Int32 | Nil = nil, listed : Bool | Nil = nil, latency : Int32 | Nil = nil, display_name : Nil | Rosegold::TextComponent = nil, list_priority : Int32 | Nil = nil, hat_visible : Bool | Nil = nil) #

[View source]

Instance Method Detail

def chat_session_id : UUID | Nil #

[View source]
def chat_session_id=(chat_session_id : UUID | Nil) #

[View source]
def display_name : Rosegold::TextComponent | Nil #

[View source]
def display_name=(display_name : Rosegold::TextComponent | Nil) #

[View source]
def encoded_public_key : Bytes | Nil #

[View source]
def encoded_public_key=(encoded_public_key : Bytes | Nil) #

[View source]
def gamemode : Int32 | Nil #

[View source]
def gamemode=(gamemode : Int32 | Nil) #

[View source]
def hat_visible : Bool | Nil #

[View source]
def hat_visible=(hat_visible : Bool | Nil) #

[View source]
def latency : Int32 | Nil #

[View source]
def latency=(latency : Int32 | Nil) #

[View source]
def list_priority : Int32 | Nil #

[View source]
def list_priority=(list_priority : Int32 | Nil) #

[View source]
def listed : Bool | Nil #

[View source]
def listed=(listed : Bool | Nil) #

[View source]
def name : String | Nil #

[View source]
def name=(name : String | Nil) #

[View source]
def properties : Array(Property) | Nil #

[View source]
def properties=(properties : Array(Property) | Nil) #

[View source]
def public_key_expiry_time : Int64 | Nil #

[View source]
def public_key_expiry_time=(public_key_expiry_time : Int64 | Nil) #

[View source]
def public_key_signature : Bytes | Nil #

[View source]
def public_key_signature=(public_key_signature : Bytes | Nil) #

[View source]
def uuid : UUID #

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

[View source]