OnDemandExtendedInfoEncoder

On-demand extended info encoders are invoked on every observer whenever information must be written. These differ from PrecomputedExtendedInfoEncoder in that they cannot be pre-computed, as the data in the buffer is dependent on the observer.

Functions

Link copied to clipboard
abstract fun encode(buffer: JagByteBuf, localPlayerIndex: Int, updatedAvatarIndex: Int, extendedInfo: T)