Npc Avatar Factory
constructor(allocator: ByteBufAllocator, extendedInfoFilter: ExtendedInfoFilter, extendedInfoWriter: List<NpcAvatarExtendedInfoWriter>, huffmanCodec: HuffmanCodecProvider, zoneIndexStorage: ZoneIndexStorage)
Parameters
allocator
the byte buffer allocator used to pre-compute bitcodes for this avatar.
extended Info Filter
the filter used to determine whether the given NPC can still have extended info blocks written to it, or if we have to utilize a fall-back and tell the client that despite extended info having been flagged, we cannot write it (by writing the flag itself as a zero, so the client reads no further information).
extended Info Writer
the client-specific extended info writers for NPC information.
huffman Codec
the huffman codec is used to compress chat extended info. While NPCs do not currently have any such extended info blocks, the interface requires it be passed in, so we must still provide it.
zone Index Storage
the collection that keeps track of npc indices in various zones.