Player Tinting List
class PlayerTintingList(val encoders: ClientTypeMap<OnDemandExtendedInfoEncoder<PlayerTintingList>>) : TransientExtendedInfo<PlayerTintingList, OnDemandExtendedInfoEncoder<PlayerTintingList>>
The tinting extended info block. This is a rather special case as tinting is one of the two observer-dependent extended info blocks, along with net.rsprot.protocol.common.game.outgoing.info.shared.extendedinfo.Hit. It is possible for the server to mark tinting for only a single avatar to see. In order to achieve this, we utilize observerDependent tinting, indexed by the observer's id.
Parameters
encoders
the array of client-specific encoders for tinting.
Functions
Link copied to clipboard
Gets the latest pre-computed buffer for the given oldSchoolClientType.
Link copied to clipboard
fun getEncoder(oldSchoolClientType: OldSchoolClientType): OnDemandExtendedInfoEncoder<PlayerTintingList>?
Gets the encoder for a given oldSchoolClientType.
Link copied to clipboard
Checks whether a buffer has been precomputed on the specified client type.
Link copied to clipboard
Sets the client-specific buffer at index clientTypeId.