Package alexiil.mc.lib.net
Class DynamicNetId<T>
java.lang.Object
alexiil.mc.lib.net.TreeNetIdBase
alexiil.mc.lib.net.ParentNetIdBase
alexiil.mc.lib.net.ParentNetIdSingle<T>
alexiil.mc.lib.net.DynamicNetId<T>
- 
Nested Class Summary
Nested Classes - 
Field Summary
Fields inherited from class alexiil.mc.lib.net.ParentNetIdSingle
clazzFields inherited from class alexiil.mc.lib.net.TreeNetIdBase
DYNAMIC_LENGTH, fullName, length, name, parent, totalLength - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected TreadContext(NetByteBuf buffer, IMsgReadCtx ctx) protected voidwriteContext(NetByteBuf buffer, IMsgWriteCtx ctx, T value) protected voidwriteDynamicContext(CheckingNetByteBuf buffer, IMsgWriteCtx ctx, T value, List<TreeNetIdBase> resolvedPath) Methods inherited from class alexiil.mc.lib.net.ParentNetIdSingle
child, extractor, getPrintableName, idData, idData, idSignal, readKey, subType, writeKeyMethods inherited from class alexiil.mc.lib.net.TreeNetIdBase
equals, getRealClassName, hasFixedLength, hashCode, toString 
- 
Constructor Details
- 
DynamicNetId
 
 - 
 - 
Method Details
- 
readContext
- Specified by:
 readContextin classParentNetIdSingle<T>- Returns:
 - The read value, or null if the parent couldn't be read.
 - Throws:
 InvalidInputDataException- if the byte buffer contained invalid data.
 - 
writeContext
- Specified by:
 writeContextin classParentNetIdSingle<T>
 - 
writeDynamicContext
protected void writeDynamicContext(CheckingNetByteBuf buffer, IMsgWriteCtx ctx, T value, List<TreeNetIdBase> resolvedPath) - Overrides:
 writeDynamicContextin classParentNetIdSingle<T>
 
 -