# Class: SpecialLotteryCountChangeEvent
• SpecialLotteryCountChangeEvent()
特殊抽奖次数改变事件
description 该事件的 previousValue/currentValue 对应抽奖项目的 specialLottery 属性中的信息。
description 当且仅当抽奖项目配置了特殊抽奖信息时才会被触发。
# Constructors
# constructor
+ new SpecialLotteryCountChangeEvent(lotteryId: number, previousValue: number, currentValue: number): SpecialLotteryCountChangeEvent
Overrides void
# 参数:
| 属性 | 类型 |
|---|---|
lotteryId | number |
previousValue | number |
currentValue | number |
# 返回值:
SpecialLotteryCountChangeEvent
# Properties
# Readonly currentValue
• currentValue: ReadonlyClone‹number›
Inherited from AccountUpdateEvent.currentValue
数据改变后的值
Returns: ReadonlyClone‹number›
# Readonly lotteryId
• lotteryId: number
所属抽奖项目 ID
Returns: number
# Readonly previousValue
• previousValue: ReadonlyClone‹number›
Inherited from AccountUpdateEvent.previousValue
数据改变前的值
Returns: ReadonlyClone‹number›
# Readonly type
• type: undefined
Inherited from AccountDisplacedEvent.type
事件类型,由具体的事件构造时提供
Returns: undefined