# Interface: Currency
• Currency()
币种(钻石、金币、点券等)
# Constructors
# constructor
+ new Currency(id
: number, name
: string, description?
: string, customInt?
: Long, customStr?
: string, resourcePath?
: string): Currency
Inherited from RewardItem.constructor
# 参数:
属性 | 类型 |
---|---|
id | number |
name | string |
description? | string |
customInt? | Long |
customStr? | string |
resourcePath? | string |
# 返回值:
# Properties
# Optional
Readonly
customInt
• customInt? : Long
Inherited from RewardItem.customInt
自定义整型
Returns: Long
# Optional
Readonly
customStr
• customStr? : string
Inherited from RewardItem.customStr
自定义字符串
Returns: string
# Optional
Readonly
description
• description? : string
Inherited from RewardItem.description
物品描述
Returns: string
# Readonly
id
• id: number
Inherited from RewardItem.id
物品id
Returns: number
# Readonly
name
• name: string
Inherited from RewardItem.name
物品名称
Returns: string
# Optional
Readonly
resourcePath
• resourcePath? : string
Inherited from RewardItem.resourcePath
资源路径
Returns: string