From 0ff33ee6a4693cb73e0a2ea471b4acaa9701b186 Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Fri, 20 Sep 2024 07:21:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=81=A2=E5=A4=8D=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/constant.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/common/constant.go b/common/constant.go index 7dbec17..f40c311 100644 --- a/common/constant.go +++ b/common/constant.go @@ -568,6 +568,8 @@ const ( ItemIDVCard = 30001 // v卡 ItemIDJCard = 30002 // 金券 ItemDiamondScore = 100012 //钻石积分 + ItemIDClawdoll = 40003 // 娃娃卡 + ItemDollCard = 40004 // 娃娃卡积分 ) func ToItemId(id int32) int32 { @@ -598,6 +600,7 @@ const ( ItemTypeObjective = 16 // 目标类道具 ItemTypeChange = 17 // 兑换话费 ItemTypeSkinChip = 22 // 皮肤碎片 + ItemTypeDoll = 26 //娃娃兑换 ) func GetKeyNoviceGameId(gameId int) string { @@ -851,3 +854,9 @@ type NotifyType int // 通知类型 const ( NotifyPrivateRoomList NotifyType = 1 // 私人房间列表 ) + +// SCPlayerCoinChange 中数值类型 +const ( + PlayerChangeTypeCoin = 0 // 金币 + PlayerChangeTypeNum = 1 // 积分 +)