恢复代码

This commit is contained in:
sk 2024-09-20 07:21:07 +08:00
parent d9d78d2f13
commit 0ff33ee6a4
1 changed files with 9 additions and 0 deletions

View File

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