Avatar Extended Info Writer
abstract class AvatarExtendedInfoWriter<E, B>(val oldSchoolClientType: OldSchoolClientType, val encoders: E)
A base class for client-specific extended info writers.
Parameters
old School Client Type
the client for which the encoders are created.
encoders
the set of extended info encoders for the given oldSchoolClientType.
Functions
Link copied to clipboard
abstract fun pExtendedInfo(buffer: JagByteBuf, localIndex: Int, observerIndex: Int, flag: Int, blocks: B)
Main function to write all the extended info blocks over. The extended info blocks must be in the exact order as they are read within the client, and this function is responsible for converting library-specific-constants to client-specific-flags.