GameEventPlayerAttributeUpdate
A attribute (e.g. health) of a player in the game have been updated (only for CS2, Dota2 and MLBB)
type GameEventPlayerAttributeUpdate {
player: GamePlayer!
reason: GameEventPlayerAttributeUpdateType
type: GameAttributeType!
value: GameAttributeValue!
}
Fields
GameEventPlayerAttributeUpdate.player
● GamePlayer!
non-null object
The player in the game
GameEventPlayerAttributeUpdate.reason
● GameEventPlayerAttributeUpdateType
enum
The reason why the attribute was updated
GameEventPlayerAttributeUpdate.type
● GameAttributeType!
non-null enum
The type of the game attribute
GameEventPlayerAttributeUpdate.value
● GameAttributeValue!
non-null object
The current value for the attribute
Implemented By
GameEventData
union