This commit is contained in:
by 2024-07-10 10:01:57 +08:00
parent 1869e46418
commit ecaf657595
9 changed files with 4644 additions and 3748 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@ syntax = "proto3";
package player;
option go_package = "mongo.games.com/game/protocol/player";
import "protocol/server/pbdata.proto";
import "mongo.games.com/game/protocol/server/pbdata.proto";
//
enum OpResultCode {
@ -211,7 +211,14 @@ enum PlayerPacketID {
PACKET_SCExchangeChannel = 2826; //
PACKET_CSSMSConfig = 2827; //
PACKET_SCSMSConfig = 2828; //
PACKET_SCItem = 2830; //
PACKET_CS_DiamondLotteryInfo = 2829; //
PACKET_SC_DiamondLotteryInfo = 2830; //
PACKET_CS_DiamondLottery = 2831; //
PACKET_SC_DiamondLottery = 2832; //
PACKET_CSDiamondLotteryLuckyAward = 2833; //
PACKET_SCDiamondLotteryLuckyAward = 2834; //
PACKET_SCItem = 2835; //
}
//
@ -1153,6 +1160,7 @@ message LotteryItem{
int32 Id = 1;
int32 ItemId = 2;
int64 ItemNum =3;
int32 TypeId = 4;
}
//
@ -1194,7 +1202,7 @@ message CSExchangeChannel{
message ChannelSwitch {
repeated string OnChannelName = 1; //
int32 Tp = 2; // 1 2v卡掉落 3:
int32 Tp = 2; // 1 2v卡掉落 3: 4:
}
// PACKET_SCExchangeChannel
@ -1215,6 +1223,39 @@ message SMSInfo{
string SmsName = 2;
}
//
//PACKET_CS_DiamondLotteryInfo
message CSDiamondLotteryInfo{
}
//
//PACKET_SC_DiamondLotteryInfo
message SCDiamondLotteryInfo{
int64 LuckyScore = 1; //
repeated LotteryItem Item = 2;//
int32 MaxScore = 3;//
int32 DiamondNum = 4; //
}
//
//PACKET_CS_DiamondLottery
message CSDiamondLottery{
int32 LotteryType = 1; //1- 2-
}
//
//PACKET_SC_DiamondLottery
message SCDiamondLottery{
int64 LuckyScore = 1; //
repeated LotteryItem Item = 2; //
}
//
//PACKET_CSDiamondLotteryLuckyAward
message CSDiamondLotteryLuckyAward{
}
////PACKET_SCDiamondLotteryLuckyAward
message SCDiamondLotteryLuckyAward{
int64 LuckyScore = 1; //
repeated LotteryItem Item = 2; //
}
// PACKET_SCItem
message SCItem{
repeated server.DB_GameItem Items = 1; //

File diff suppressed because it is too large Load Diff

View File

@ -225,8 +225,6 @@ message WGPlayerEnter {
map<int32, int64> Items = 17;
repeated int32 MatchParams = 18;//
map<int32, int64> RankScore = 19;//
int64 Recharge = 20; //
int64 VCardCost = 21; // v卡消耗数量
}
//

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@ syntax = "proto3";
package webapi;
option go_package = "mongo.games.com/game/protocol/webapi";
import "protocol/server/pbdata.proto";
import "mongo.games.com/game/protocol/server/pbdata.proto";
/*
*/
@ -672,7 +672,7 @@ message WelfareCollectConfig{
// etcd /game/channel/switch
message ChannelSwitchConfig{
int32 Tp = 1; // 1. 2. 3.
int32 Tp = 1; // 1. 2. 3. 4.
string Platform = 2; // id
repeated string OnChannelName = 3; //
}
@ -737,8 +737,38 @@ message ActPermitConfig{
repeated PermitChannelConfig Configs = 4; //
}
//
message DiamondLotteryInfo{
int32 Id = 1;
int32 Type = 2;
string Name = 3;
int32 ItemId = 4;
int32 Grade = 5;
int32 Oddrate =6;
}
//
message DiamondLotteryPlayers{
int32 uid = 1;
int32 Count = 2; //
repeated int32 AwatdId = 3; //ID
}
message DiamondLotteryData{
string Channel = 1; //
repeated DiamondLotteryInfo Info = 2;
int32 MaxScore = 3; //
int32 DiamondNum = 4; //
repeated DiamondLotteryPlayers Players = 5;//
}
// etcd /game/diamond_lottery
message DiamondLotteryConfig{
string Platform = 1; //
repeated DiamondLotteryData LotteryData = 2;
}
// etcd /game/item
message ItemConfig {
string Platform = 1; //
repeated server.DB_GameItem Items = 2; //
}
}