# Class: LotteryRemainingCountChangeEvent

LotteryRemainingCountChangeEvent()

抽奖剩余次数改变事件

description 该事件所包含的 previousValue/currentValue 对应抽奖项目的 limitation 属性中的信息。

description 仅当一个抽奖项目存在限制信息时才会被触发。

# Constructors

# constructor

+ new LotteryRemainingCountChangeEvent(lotteryId: number, previousValue: number, currentValue: number): LotteryRemainingCountChangeEvent

Overrides void

# 参数:

属性 类型
lotteryId number
previousValue number
currentValue number

# 返回值:

LotteryRemainingCountChangeEvent

# 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