class Rosegold::Clientbound::PlayerInfo
- Rosegold::Clientbound::PlayerInfo
- Rosegold::Clientbound::Packet
- Rosegold::Packet
- Rosegold::Event
- Reference
- Object
Defined in:
rosegold/packets/clientbound/player_info.crConstructors
Class Method Summary
Instance Method Summary
- #action : Action
- #action=(action : Action)
- #callback(client)
- #players : Array(PlayerList::Entry)
- #players=(players : Array(PlayerList::Entry))
-
#write : Bytes
TODO rewrite without .not_nil! checks
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(action : Rosegold::Clientbound::PlayerInfo::Action, players : Array(Rosegold::PlayerList::Entry) = Array(PlayerList::Entry).new)
#