MapAnimSpecific

class MapAnimSpecific : OutgoingGameMessage

Map anim specific is sent to play a graphical effect/spotanim on a tile, local to a single user, and not the entire world.

Constructors

Link copied to clipboard
constructor(id: Int, delay: Int, height: Int, zoneX: Int, xInZone: Int, zoneZ: Int, zInZone: Int)
constructor(id: Int, delay: Int, height: Int, xInBuildArea: Int, zInBuildArea: Int)

Properties

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

the delay in client cycles (20ms/cc) until the spotanim begins playing

Link copied to clipboard
val height: Int

the height at which the spotanim will play

Link copied to clipboard
val id: Int

the id of the spotanim

Link copied to clipboard

the x coordinate of the obj within the zone it is in, a value in range of 0 to 7 (inclusive) is expected. Any bits outside that are ignored.

Link copied to clipboard

the z coordinate of the obj within the zone it is in, a value in range of 0 to 7 (inclusive) is expected. Any bits outside that are ignored.

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 fun estimateSize(): Int
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String