Class Parsers.Parser
java.lang.Object
com.github.retrooper.packetevents.protocol.chat.Parsers.Parser
- All Implemented Interfaces:
MappedEntity
- Enclosing class:
Parsers
-
Constructor Summary
ConstructorDescriptionParser
(String name, @Nullable Function<PacketWrapper<?>, List<Object>> read, @Nullable BiConsumer<PacketWrapper<?>, List<Object>> write) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
getId
(ClientVersion version) getName()
readProperties
(PacketWrapper<?> wrapper) void
writeProperties
(PacketWrapper<?> wrapper, List<Object> properties) Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.github.retrooper.packetevents.protocol.mapper.MappedEntity
isRegistered
-
Constructor Details
-
Parser
@Deprecated public Parser(String name, @Nullable @Nullable Function<PacketWrapper<?>, List<Object>> read, @Nullable @Nullable BiConsumer<PacketWrapper<?>, List<Object>> write) Deprecated.
-
-
Method Details
-
readProperties
-
writeProperties
-
getName
- Specified by:
getName
in interfaceMappedEntity
-
getId
- Specified by:
getId
in interfaceMappedEntity
-
equals
-