# Interface: IncomeUnit
• IncomeUnit()
收益单位详情
# Constructors
# constructor
+ new IncomeUnit(id: number, name: string, description?: string, customInt?: Long, customStr?: string, resourcePath?: string): IncomeUnit
Inherited from IncomeUnit.constructor
# 参数:
| 属性 | 类型 |
|---|---|
id | number |
name | string |
description? | string |
customInt? | Long |
customStr? | string |
resourcePath? | string |
# 返回值:
# Properties
# Optional Readonly customInt
• customInt? : Long
Inherited from IncomeUnit.customInt
自定义整型
Returns: Long
# Optional Readonly customStr
• customStr? : string
Inherited from IncomeUnit.customStr
自定义字符串
Returns: string
# Optional Readonly description
• description? : string
Inherited from IncomeUnit.description
物品描述
Returns: string
# Readonly id
• id: number
Inherited from IncomeUnit.id
物品id
Returns: number
# Readonly name
• name: string
Inherited from IncomeUnit.name
物品名称
Returns: string
# Optional Readonly resourcePath
• resourcePath? : string
Inherited from IncomeUnit.resourcePath
资源路径
Returns: string