class Packets::Play::C::Teams

Defined in:

packets/packets.cr

Constructors

Instance Method Summary

Instance methods inherited from class RawPacket

data : Bytes data, id : Int32 id, slice : Bytes slice

Constructor methods inherited from class RawPacket

new(id : Int32, data : Bytes) new

Constructor Detail

def self.new(name : String, mode : Int8, display_name : Union(String, Nil), prefix : Union(String, Nil), suffix : Union(String, Nil), friendly_fire : Union(Int8, Nil), name_tag_visibility : Union(String, Nil), colour : Union(Int8, Nil), player_count : Union(Int32, Nil), players : Union(Array(String), Nil)) #

[View source]
def self.new(packet : RawPacket) #

[View source]

Instance Method Detail

def colour : Union(Int8, Nil) #

def display_name : Union(String, Nil) #

def friendly_fire : Union(Int8, Nil) #

def mode : Int8 #

def name : String #

def name_tag_visibility : Union(String, Nil) #

def player_count : Union(Int32, Nil) #

def players : Union(Array(String), Nil) #

def prefix : Union(String, Nil) #

def suffix : Union(String, Nil) #