UpdateZonePartialEnclosed

class UpdateZonePartialEnclosed : OutgoingGameMessage

Update zone partial-enclosed is used to send a batch of updates for a given zone all in one packet. This results in less bandwidth being used, as well as avoiding the client limitations of 100 packets/client cycle (20ms/cc).

Constructors

Link copied to clipboard
constructor(zoneX: Int, zoneZ: Int, level: Int, payload: ByteBuf)

Properties

Link copied to clipboard
open override val category: ServerProtCategory
Link copied to clipboard
val level: Int

the height level of the zone, typically equal to the player's own height level.

Link copied to clipboard
val payload: ByteBuf
Link copied to clipboard
val zoneX: Int

the x coordinate of the zone's south-western corner in the build area.

Link copied to clipboard
val zoneZ: Int

the z coordinate of the zone's south-western corner in the build area.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String