LocAnimSpecific

class LocAnimSpecific : OutgoingGameMessage

Loc anim specific packets are used to make a loc play an animation, specific to one player and not the entire world.

Constructors

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

Properties

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

the id of the animation to play

Link copied to clipboard
Link copied to clipboard

the rotation of the loc, a value of 0 to 3 (inclusive) is expected.

Link copied to clipboard
val shape: Int

the shape of the loc, a value of 0 to 22 (inclusive) is expected.

Link copied to clipboard

the x coordinate of the loc 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 loc 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