Class Parsers.Parser
java.lang.Object
com.github.retrooper.packetevents.protocol.chat.Parsers.Parser
- All Implemented Interfaces:
MappedEntity
- Enclosing class:
- Parsers
-
Constructor Summary
ConstructorsConstructorDescriptionParser(String name, @Nullable Function<PacketWrapper<?>, List<Object>> read, @Nullable BiConsumer<PacketWrapper<?>, List<Object>> write) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionbooleanintgetId(ClientVersion version) getName()readProperties(PacketWrapper<?> wrapper) voidwriteProperties(PacketWrapper<?> wrapper, List<Object> properties) Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getNamein interfaceMappedEntity
-
getId
- Specified by:
getIdin interfaceMappedEntity
-
equals
-