Sequence

The sequence mask defines what animation an avatar is playing.

Parameters

encoders

the array of client-specific encoders for sequence.

Constructors

Link copied to clipboard

Properties

Link copied to clipboard

The delay in client cycles (20ms/cc) until the given animation begins playing.

Link copied to clipboard
Link copied to clipboard
var id: UShort

The id of the animation to play.

Functions

Link copied to clipboard
open override fun clear()

Clears this extended info block, making it ready for use by another avatar.

Link copied to clipboard
fun getBuffer(oldSchoolClientType: OldSchoolClientType): ByteBuf?

Gets the latest pre-computed buffer for the given oldSchoolClientType.

Link copied to clipboard
fun getEncoder(oldSchoolClientType: OldSchoolClientType): PrecomputedExtendedInfoEncoder<Sequence>?

Gets the encoder for a given oldSchoolClientType.

Link copied to clipboard
fun isPrecomputed(oldSchoolClientType: OldSchoolClientType): Boolean

Checks whether a buffer has been precomputed on the specified client type.

Link copied to clipboard
fun setBuffer(clientTypeId: Int, buffer: ByteBuf)

Sets the client-specific buffer at index clientTypeId.