class Packets::Play::C::SpawnObject

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(entity_id : Int32, type : Int8, x : Int32, y : Int32, z : Int32, pitch : Angle, yaw : Angle, object_data : Int32, velocity_x : Union(Int16, Nil), velocity_y : Union(Int16, Nil), velocity_z : Union(Int16, Nil)) #

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

[View source]

Instance Method Detail

def entity_id : Int32 #

def object_data : Int32 #

def pitch : Angle #

def type : Int8 #

def velocity_x : Union(Int16, Nil) #

def velocity_y : Union(Int16, Nil) #

def velocity_z : Union(Int16, Nil) #

def x : Int32 #

def y : Int32 #

def yaw : Angle #

def z : Int32 #