class Packets::Play::C::JoinGame

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, gamemode : UInt8, dimension : Int8, difficulty : UInt8, max_players : UInt8, level_type : String, reduced_debug_info : Bool) #

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

[View source]

Instance Method Detail

def difficulty : UInt8 #

def dimension : Int8 #

def entity_id : Int32 #

def gamemode : UInt8 #

def level_type : String #

def max_players : UInt8 #

def reduced_debug_info : Bool #