Npc Info Protocol
class NpcInfoProtocol(allocator: ByteBufAllocator, npcIndexSupplier: NpcIndexSupplier, resolutionChangeEncoders: ClientTypeMap<NpcResolutionChangeEncoder>, avatarFactory: NpcAvatarFactory, exceptionHandler: NpcAvatarExceptionHandler, worker: ProtocolWorker = DefaultProtocolWorker())
NPC info protocol is the root class bringing everything together about NPC info.
Parameters
avatar Factory
the factory responsible for allocating new npc avatars.
Constructors
Link copied to clipboard
constructor(allocator: ByteBufAllocator, npcIndexSupplier: NpcIndexSupplier, resolutionChangeEncoders: ClientTypeMap<NpcResolutionChangeEncoder>, avatarFactory: NpcAvatarFactory, exceptionHandler: NpcAvatarExceptionHandler, worker: ProtocolWorker = DefaultProtocolWorker())