class Packets::Play::C::CombatEvent

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(event : Int32, duration : Union(Int32, Nil), player_id : Union(Int32, Nil), entity_id : Union(Int32, Nil), message : Union(String, Nil)) #

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

[View source]

Instance Method Detail

def duration : Union(Int32, Nil) #

def entity_id : Union(Int32, Nil) #

def event : Int32 #

def message : Union(String, Nil) #

def player_id : Union(Int32, Nil) #