Package alexiil.mc.lib.net
Class ParentNetIdDuelDirect<T>
java.lang.Object
alexiil.mc.lib.net.TreeNetIdBase
alexiil.mc.lib.net.ParentNetIdBase
alexiil.mc.lib.net.ParentNetIdSingle<T>
alexiil.mc.lib.net.ParentNetIdDuel<T,T>
alexiil.mc.lib.net.ParentNetIdDuelDirect<T>
-
Field Summary
Fields inherited from class alexiil.mc.lib.net.ParentNetIdDuel
parentFields inherited from class alexiil.mc.lib.net.ParentNetIdSingle
clazzFields inherited from class alexiil.mc.lib.net.TreeNetIdBase
DYNAMIC_LENGTH, fullName, length, name, totalLength -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TextractParent(T value) protected TreadContext(NetByteBuf buffer, IMsgReadCtx ctx, T parentValue) protected voidwriteContext0(NetByteBuf buffer, IMsgWriteCtx ctx, T value) Methods inherited from class alexiil.mc.lib.net.ParentNetIdDuel
getPrintableName, readContext, writeContext, writeDynamicContextMethods inherited from class alexiil.mc.lib.net.ParentNetIdSingle
child, extractor, idData, idData, idSignal, readKey, subType, writeKeyMethods inherited from class alexiil.mc.lib.net.TreeNetIdBase
equals, getRealClassName, hasFixedLength, hashCode, toString
-
Constructor Details
-
ParentNetIdDuelDirect
-
-
Method Details
-
extractParent
- Specified by:
extractParentin classParentNetIdDuel<T,T>
-
writeContext0
- Specified by:
writeContext0in classParentNetIdDuel<T,T>
-
readContext
protected T readContext(NetByteBuf buffer, IMsgReadCtx ctx, T parentValue) throws InvalidInputDataException - Specified by:
readContextin classParentNetIdDuel<T,T> - Returns:
- The read value.
- Throws:
InvalidInputDataException- if the byte buffer contained invalid data.
-