@FunctionalInterface public interface ValueReader<T>
Modifier and Type | Method and Description |
---|---|
T |
read(PacketWrapper wrapper)
Reads value from a PacketWrapper
|
T read(PacketWrapper wrapper) throws Exception
wrapper
- The wrapper to read fromException
- Throws exception if it fails to readCopyright © 2016–2021. All rights reserved.