Skip to content

格式

typescript
NetConversation.GetCurrencyAmount(type)

所属类: NetConversation

描述

获取type货币的数量。

参数

参数名类型描述
typestring货币类型

返回值

类型描述
Promise<number>货币操作结果

代码示例

typescript
NetServer.on_converastion_connect = async (conv: NetConversation) => {
    const result = await conv.GetCurrencyAmount("CurrencyType");
}