UpdateStatV2

class UpdateStatV2 : OutgoingGameMessage

Update stat packet is used to set the current experience and levels of a skill for a given player.

Constructors

Link copied to clipboard
constructor(stat: Int, currentLevel: Int, invisibleBoostedLevel: Int, experience: Int)

Properties

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

player's current level in that stat, e.g. boosted or drained.

Link copied to clipboard

player's experience in the skill, in its integer form - expected value range 0 to 200,000,000.

Link copied to clipboard

player's level in the stat with invisible boosts included

Link copied to clipboard
val stat: Int

the id of the stat to update

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