Package-level declarations

Types

Link copied to clipboard
class WorldEntityAvatar(allocator: ByteBufAllocator, zoneIndexStorage: ZoneIndexStorage, index: Int, sizeX: Int, sizeZ: Int, level: Int, currentCoordFine: CoordFine = CoordFine.INVALID, angle: Int) : Avatar

A world entity avatar represents a dynamic world entity as a single unit.

Link copied to clipboard
class WorldEntityAvatarFactory(allocator: ByteBufAllocator, zoneIndexStorage: ZoneIndexStorage)

An avatar factory for world entities. This class will be responsible for allocating and releasing world entity avatars, allowing them to be pooled and re-used, if needed.

Link copied to clipboard

An avatar repository for world entities, keeping track of every current avatar, as well as any avatars that were previously used but now released.

Link copied to clipboard

The world entity info class tracks everything about the world entities that are near this player.

Link copied to clipboard
class WorldEntityInfoV3Packet(buffer: ByteBuf) : DefaultByteBufHolder, OutgoingGameMessage, ConsumableMessage

World entity info packet is used to update the coordinate, angle and move speed of all the world entities near a player.

Link copied to clipboard
class WorldEntityProtocol(allocator: ByteBufAllocator, exceptionHandler: WorldEntityAvatarExceptionHandler, factory: WorldEntityAvatarFactory, worker: ProtocolWorker = DefaultProtocolWorker(), zoneIndexStorage: ZoneIndexStorage)

The world entity protocol class will track everything related to world entities.