From 2d553dd24923b8b81b0498fd7a0ba97790589a69 Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Sat, 18 Jan 2025 16:19:06 +0800 Subject: [PATCH] update --- protocol/activity/pushcoin.pb.go | 16 ++++++---------- protocol/activity/pushcoin.proto | 3 +-- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/protocol/activity/pushcoin.pb.go b/protocol/activity/pushcoin.pb.go index 872fa95..3ed2157 100644 --- a/protocol/activity/pushcoin.pb.go +++ b/protocol/activity/pushcoin.pb.go @@ -91,8 +91,7 @@ const ( OpCodes_OP_Bet OpCodes = 1 // 下注 OpParam 道具id OpCodes_OP_Gain OpCodes = 2 // 得分 OpParam 1有效区 2无效区 OpItem 获得道具 OpCodes_OP_Shake OpCodes = 3 // 震动 OpParam 消耗次数 - OpCodes_OP_Refresh OpCodes = 4 // 刷新 OpParam 桌面金额 - OpCodes_OP_Exchange OpCodes = 5 // 兑换 OpParam 兑换id + OpCodes_OP_Exchange OpCodes = 4 // 兑换 OpParam 兑换id ) // Enum value maps for OpCodes. @@ -102,16 +101,14 @@ var ( 1: "OP_Bet", 2: "OP_Gain", 3: "OP_Shake", - 4: "OP_Refresh", - 5: "OP_Exchange", + 4: "OP_Exchange", } OpCodes_value = map[string]int32{ "OP_Zero": 0, "OP_Bet": 1, "OP_Gain": 2, "OP_Shake": 3, - "OP_Refresh": 4, - "OP_Exchange": 5, + "OP_Exchange": 4, } ) @@ -928,13 +925,12 @@ var file_protocol_activity_pushcoin_proto_rawDesc = []byte{ 0x72, 0x4c, 0x69, 0x6e, 0x65, 0x10, 0xfc, 0x14, 0x12, 0x1a, 0x0a, 0x15, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x44, 0x72, 0x61, 0x77, 0x49, 0x6e, 0x66, 0x6f, 0x10, 0xfd, 0x14, 0x12, 0x17, 0x0a, 0x12, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x4e, - 0x6f, 0x74, 0x69, 0x66, 0x79, 0x41, 0x77, 0x61, 0x72, 0x64, 0x10, 0xfe, 0x14, 0x2a, 0x5e, 0x0a, + 0x6f, 0x74, 0x69, 0x66, 0x79, 0x41, 0x77, 0x61, 0x72, 0x64, 0x10, 0xfe, 0x14, 0x2a, 0x4e, 0x0a, 0x07, 0x4f, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x50, 0x5f, 0x5a, 0x65, 0x72, 0x6f, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x50, 0x5f, 0x42, 0x65, 0x74, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x50, 0x5f, 0x47, 0x61, 0x69, 0x6e, 0x10, 0x02, 0x12, 0x0c, - 0x0a, 0x08, 0x4f, 0x50, 0x5f, 0x53, 0x68, 0x61, 0x6b, 0x65, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, - 0x4f, 0x50, 0x5f, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x10, 0x04, 0x12, 0x0f, 0x0a, 0x0b, - 0x4f, 0x50, 0x5f, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x10, 0x05, 0x2a, 0xd2, 0x01, + 0x0a, 0x08, 0x4f, 0x50, 0x5f, 0x53, 0x68, 0x61, 0x6b, 0x65, 0x10, 0x03, 0x12, 0x0f, 0x0a, 0x0b, + 0x4f, 0x50, 0x5f, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x10, 0x04, 0x2a, 0xd2, 0x01, 0x0a, 0x14, 0x4f, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x69, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x15, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x50, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x69, 0x6e, 0x5f, 0x53, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, diff --git a/protocol/activity/pushcoin.proto b/protocol/activity/pushcoin.proto index 75d8bfa..ecef30c 100644 --- a/protocol/activity/pushcoin.proto +++ b/protocol/activity/pushcoin.proto @@ -66,8 +66,7 @@ enum OpCodes { OP_Bet = 1; // 下注 OpParam 道具id OP_Gain = 2; // 得分 OpParam 1有效区 2无效区 OpItem 获得道具 OP_Shake = 3; // 震动 OpParam 消耗次数 - OP_Refresh = 4; // 刷新 OpParam 桌面金额 - OP_Exchange = 5; // 兑换 OpParam 兑换id + OP_Exchange = 4; // 兑换 OpParam 兑换id } enum OpResultPushCoinCode {