DiceProgressEvent
Defined in: server/api.d.ts:3089
An accepted server dice action. Notifications describe server decisions, which can precede the native animation. Seats and die-mask bits start at zero; turns and rolls start at one.
Properties
Section titled “Properties”faces:
number[]
Defined in: server/api.d.ts:3133
Six pip values (1 through 6) in die-index order on diceRoll; empty on other events. rolledMask identifies the dice rolled this time.
heldMask
Section titled “heldMask”heldMask:
number
Defined in: server/api.d.ts:3143
Bit mask of dice selected in the accepted move; zero otherwise.
match:
number
Defined in: server/api.d.ts:3093
Match ID.
moveIndex
Section titled “moveIndex”moveIndex:
number
Defined in: server/api.d.ts:3118
Number of accepted moves so far.
player
Section titled “player”player:
number
Defined in: server/api.d.ts:3098
Network ID of the acting player, or of the NPC on the second seat.
points
Section titled “points”points:
number
Defined in: server/api.d.ts:3148
Points added by diceMove or banked by a passed diceTurnEnd; zero otherwise.
reason
Section titled “reason”reason:
string
Defined in: server/api.d.ts:3153
continue or pass on diceMove; bust or rolled on diceRoll; pass, bust, won, gaveUp, left, timedOut, failed, or stopped on diceTurnEnd; empty on diceTurnStart.
roll:
number
Defined in: server/api.d.ts:3113
Roll within the turn; 0 before its first roll.
rolledMask
Section titled “rolledMask”rolledMask:
number
Defined in: server/api.d.ts:3138
Bit mask of dice rolled, on diceRoll; zero otherwise.
seat:
number
Defined in: server/api.d.ts:3103
Acting seat: 0 for first, 1 for second.
totalScore
Section titled “totalScore”totalScore:
number
Defined in: server/api.d.ts:3128
This seat’s banked score.
turn:
number
Defined in: server/api.d.ts:3108
Turn number across both seats, starting at 1.
turnScore
Section titled “turnScore”turnScore:
number
Defined in: server/api.d.ts:3123
Unbanked points in this turn, before they are lost on a bust or banked on a pass.