Class NetKeyMapper.OfEnum<E extends java.lang.Enum<E>>

java.lang.Object
alexiil.mc.lib.net.NetKeyMapper<E>
alexiil.mc.lib.net.NetKeyMapper.OfEnum<E>
Enclosing class:
NetKeyMapper<T>

public static class NetKeyMapper.OfEnum<E extends java.lang.Enum<E>>
extends NetKeyMapper<E>
  • Nested Class Summary

    Nested classes/interfaces inherited from class alexiil.mc.lib.net.NetKeyMapper

    NetKeyMapper.OfEnum<E extends java.lang.Enum<E>>, NetKeyMapper.ToString<T>
  • Field Summary

    Fields inherited from class alexiil.mc.lib.net.NetKeyMapper

    clazz, length, LENGTH_DYNAMIC
  • Constructor Summary

    Constructors 
    Constructor Description
    OfEnum​(java.lang.Class<E> clazz)  
  • Method Summary

    Modifier and Type Method Description
    E read​(NetByteBuf buffer, IMsgReadCtx ctx)
    Reads the value for the key from the buffer, optionally using the parent keys.
    void write​(NetByteBuf buffer, IMsgWriteCtx ctx, E value)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait