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 // 积分 +)