class Rosegold::PlayerList::Entry

Defined in:

rosegold/world/player_list.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(uuid : UUID, name : Nil | String = nil, properties : Array(Rosegold::PlayerList::Property) = [] of Property, gamemode : Int8 | Nil = nil, ping : UInt32 | Nil = nil, display_name : Nil | Rosegold::Chat = nil) #

[View source]

Instance Method Detail

def display_name : Rosegold::Chat | Nil #

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

[View source]
def gamemode : Int8 | Nil #

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

[View source]
def name : String | Nil #

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

[View source]
def ping : UInt32 | Nil #

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

[View source]
def properties : Array(Rosegold::PlayerList::Property) #

[View source]
def properties=(properties : Array(Rosegold::PlayerList::Property)) #

[View source]
def update(other : Entry) #

[View source]
def uuid : UUID #

[View source]