encode

abstract fun encode(buffer: JagByteBuf, localPlayerIndex: Int, updatedAvatarIndex: Int, extendedInfo: T)