LocAnim

class LocAnim : ZoneProt

Loc anim packets are used to make a loc play an animation.

Constructors

Link copied to clipboard
constructor(id: Int, xInZone: Int, zInZone: 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
open override val protId: Int
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.

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