RebuildRegionZone

This class wraps a reference zone to be copied together with the respective xtea key needed to decrypt the backing mapsquare.

Constructors

Link copied to clipboard
constructor(zoneX: Int, zoneZ: Int, level: Int, rotation: Int, key: XteaKey)

Types

Link copied to clipboard

A value class around zone objects that bitpacks all the properties into a single integer to be written to the client as the client expects it.

Properties

Link copied to clipboard
val key: XteaKey

the xtea key needed to decrypt the locs file in the cache of that respective mapsquare

Link copied to clipboard
val level: Int
Link copied to clipboard
Link copied to clipboard

the zone to be copied from the static map

Link copied to clipboard
Link copied to clipboard
val zoneX: Int
Link copied to clipboard
val zoneZ: Int

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