class Packets::Play::C::Teams
- Packets::Play::C::Teams
- RawPacket
- Reference
- Object
Defined in:
packets/packets.crConstructors
- .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))
- .new(packet : RawPacket)
Instance Method Summary
- #colour : Union(Int8, Nil)
- #display_name : Union(String, Nil)
- #friendly_fire : Union(Int8, Nil)
- #mode : Int8
- #name : String
- #name_tag_visibility : Union(String, Nil)
- #player_count : Union(Int32, Nil)
- #players : Union(Array(String), Nil)
- #prefix : Union(String, Nil)
- #suffix : Union(String, Nil)
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))
#