class Packets::Play::C::CombatEvent
- Packets::Play::C::CombatEvent
- RawPacket
- Reference
- Object
Defined in:
packets/packets.crConstructors
- .new(event : Int32, duration : Union(Int32, Nil), player_id : Union(Int32, Nil), entity_id : Union(Int32, Nil), message : Union(String, Nil))
- .new(packet : RawPacket)
Instance Method Summary
- #duration : Union(Int32, Nil)
- #entity_id : Union(Int32, Nil)
- #event : Int32
- #message : Union(String, Nil)
- #player_id : Union(Int32, 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(event : Int32, duration : Union(Int32, Nil), player_id : Union(Int32, Nil), entity_id : Union(Int32, Nil), message : Union(String, Nil))
#