# Class: BackpackItemCountChangeEvent

• BackpackItemCountChangeEvent()

背包物品数量更新事件

# Properties

# Readonly currentValue

• currentValue: ReadonlyClone‹Long›

Inherited from AccountUpdateEvent.currentValue

数据改变后的值

Returns: ReadonlyClone‹Long›


# Readonly id

• id: Long

物品唯一 ID

Returns: Long


# Readonly itemId

• itemId: number

物品 ID

deprecated use typeId instead. shall be removed in 0.4.

Returns: number


# Readonly itemUid

• itemUid: Long

物品唯一 ID

deprecated use id instead. shall be removed in 0.4.

Returns: Long


# Readonly positions

• positions: keyof BackpackItemPosition[]

(事件发生时)该物品所属的背包及其位置

Returns: keyof BackpackItemPosition[]


# Readonly previousValue

• previousValue: ReadonlyClone‹Long›

Inherited from AccountUpdateEvent.previousValue

数据改变前的值

Returns: ReadonlyClone‹Long›


# Readonly type

• type: BackpackItemCountChangeEventType

Inherited from AccountDisplacedEvent.type

事件类型,由具体的事件构造时提供

Returns: BackpackItemCountChangeEventType


# Readonly typeId

• typeId: number

物品 ID

Returns: number