HyCodeYourTale
classpublicfinalPriority 3

PacketRegistry

com.hypixel.hytale.protocol.PacketRegistry

3

Methods

3

Public Methods

0

Fields

1

Constructors

Constants

Map<Integer, PacketRegistry.PacketInfo>BY_ID= new HashMap<>()
Map<Integer, PacketRegistry.PacketInfo>BY_ID_UNMODIFIABLE= Collections.unmodifiableMap(BY_ID)

Constructors

private
PacketRegistry()

Methods

Public Methods (3)

publicstatic
Map<Integer, PacketRegistry.PacketInfo> all()
@Nonnull
publicstatic
PacketRegistry.PacketInfo getById(int id)
@Nullable
publicstatic
Integer getId(Class<? extends Packet> type)
@Nullable

Related Classes