Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct { Handshake RegistryMap Status RegistryMap Login RegistryMap Play RegistryMap }
var Reg Registry = Registry{ Handshake: func() (clientbound map[int32]reflect.Type, serverbound map[int32]reflect.Type) { return packet.HandshakeClientboundIds, packet.HandshakeServerboundIds }, Status: func() (clientbound map[int32]reflect.Type, serverbound map[int32]reflect.Type) { return packet.StatusClientboundIds, packet.StatusServerboundIds }, Login: func() (clientbound map[int32]reflect.Type, serverbound map[int32]reflect.Type) { return packet.LoginClientboundIds, packet.LoginServerboundIds }, Play: func() (clientbound map[int32]reflect.Type, serverbound map[int32]reflect.Type) { return packet.PlayClientboundIds, packet.PlayServerboundIds }, }
Click to show internal directories.
Click to hide internal directories.