This commit is contained in:
sk 2024-08-08 13:48:59 +08:00
parent 13589ad170
commit c5a2ad4b37
4 changed files with 1708 additions and 1309 deletions

File diff suppressed because it is too large Load Diff

View File

@ -75,6 +75,13 @@ enum OpResultCode {
OPRC_Hundred_YouHadBetCannotLeave = 7001; //
OPRC_Hundred_YouHadBankerCannotLeave = 7002; //
OPRC_GuideStep_Finish = 8001; //
OPRC_GuideStep_Front = 8002; //
OPRC_GuideStep_End = 8003; //
OPRC_Guide_Close = 8004; //
OPRC_Guide_Skip = 8005; //
OPRC_Guide_SkipClose = 8006; //
}
//id
@ -222,7 +229,9 @@ enum PlayerPacketID {
PACKET_SCAwardLog = 2837; //
PACKET_CSPopUpWindowsConfig = 2838;//
PACKET_SCPopUpWindowsConfig = 2839;//
PACKET_CSUpdateAttribute = 2840;//
PACKET_SCUpdateAttribute = 2841;//
PACKET_SCGuideConfig = 2842;//
}
//
@ -334,6 +343,7 @@ message PlayerData {
repeated int32 RequestAddFriend = 49;//
int32 UseSkinId = 50; // id
string ChannelID = 51; // ID
int32 GuideStep = 52; // ; 0-1
}
//
@ -1311,4 +1321,22 @@ message WindowsInfo{
int32 Sort = 3;//
int32 PartNum = 4;//
int32 GainNum = 5;//
}
//PACKET_CSUpdateAttribute
message CSUpdateAttribute{
int32 Tp = 1; // 1. 2.
repeated int64 Param = 2;
}
//PACKET_SCUpdateAttribute
message SCUpdateAttribute{
OpResultCode OpRetCode = 1; //
int32 Tp = 2;
repeated int64 Param = 3;
}
//PACKET_SCGuideConfig
message SCGuideConfig{
int32 On = 2; // 1 2
int32 Skip = 3; // 1 2
}

View File

@ -8057,6 +8057,70 @@ func (x *AnnouncerLogInfo) GetTypeId() int32 {
return 0
}
// etcd /game/guide_config
type GuideConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Platform string `protobuf:"bytes,1,opt,name=Platform,proto3" json:"Platform,omitempty"` // 平台
On int32 `protobuf:"varint,2,opt,name=On,proto3" json:"On,omitempty"` // 引导开关 1开启 2关闭
Skip int32 `protobuf:"varint,3,opt,name=Skip,proto3" json:"Skip,omitempty"` // 引导跳过开关 1开启 2关闭
}
func (x *GuideConfig) Reset() {
*x = GuideConfig{}
if protoimpl.UnsafeEnabled {
mi := &file_common_proto_msgTypes[85]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GuideConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GuideConfig) ProtoMessage() {}
func (x *GuideConfig) ProtoReflect() protoreflect.Message {
mi := &file_common_proto_msgTypes[85]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GuideConfig.ProtoReflect.Descriptor instead.
func (*GuideConfig) Descriptor() ([]byte, []int) {
return file_common_proto_rawDescGZIP(), []int{85}
}
func (x *GuideConfig) GetPlatform() string {
if x != nil {
return x.Platform
}
return ""
}
func (x *GuideConfig) GetOn() int32 {
if x != nil {
return x.On
}
return 0
}
func (x *GuideConfig) GetSkip() int32 {
if x != nil {
return x.Skip
}
return 0
}
var File_common_proto protoreflect.FileDescriptor
var file_common_proto_rawDesc = []byte{
@ -9319,10 +9383,15 @@ var file_common_proto_rawDesc = []byte{
0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x12, 0x16,
0x0a, 0x06, 0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06,
0x49, 0x74, 0x65, 0x6d, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64,
0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x42, 0x26,
0x5a, 0x24, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f,
0x6d, 0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f,
0x77, 0x65, 0x62, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x54, 0x79, 0x70, 0x65, 0x49, 0x64, 0x22, 0x4d,
0x0a, 0x0b, 0x47, 0x75, 0x69, 0x64, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1a, 0x0a,
0x08, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x08, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x4f, 0x6e, 0x18,
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x4f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x6b, 0x69,
0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x53, 0x6b, 0x69, 0x70, 0x42, 0x26, 0x5a,
0x24, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0x2e, 0x67, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
0x2f, 0x67, 0x61, 0x6d, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x77,
0x65, 0x62, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@ -9337,7 +9406,7 @@ func file_common_proto_rawDescGZIP() []byte {
return file_common_proto_rawDescData
}
var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 93)
var file_common_proto_msgTypes = make([]protoimpl.MessageInfo, 94)
var file_common_proto_goTypes = []interface{}{
(*MysqlDbSetting)(nil), // 0: webapi.MysqlDbSetting
(*MongoDbSetting)(nil), // 1: webapi.MongoDbSetting
@ -9424,30 +9493,31 @@ var file_common_proto_goTypes = []interface{}{
(*AwardLogData)(nil), // 82: webapi.AwardLogData
(*AwardLogInfo)(nil), // 83: webapi.AwardLogInfo
(*AnnouncerLogInfo)(nil), // 84: webapi.AnnouncerLogInfo
nil, // 85: webapi.Platform.BindTelRewardEntry
nil, // 86: webapi.PlayerData.RankScoreEntry
nil, // 87: webapi.ItemShop.AwardEntry
nil, // 88: webapi.VIPcfg.AwardEntry
nil, // 89: webapi.VIPcfg.Privilege7Entry
nil, // 90: webapi.ActInviteConfig.PayScoreEntry
nil, // 91: webapi.SkinLevel.UpItemEntry
nil, // 92: webapi.SkinItem.UnlockParamEntry
(*server.DB_GameFree)(nil), // 93: server.DB_GameFree
(*server.DB_GameItem)(nil), // 94: server.DB_GameItem
(*GuideConfig)(nil), // 85: webapi.GuideConfig
nil, // 86: webapi.Platform.BindTelRewardEntry
nil, // 87: webapi.PlayerData.RankScoreEntry
nil, // 88: webapi.ItemShop.AwardEntry
nil, // 89: webapi.VIPcfg.AwardEntry
nil, // 90: webapi.VIPcfg.Privilege7Entry
nil, // 91: webapi.ActInviteConfig.PayScoreEntry
nil, // 92: webapi.SkinLevel.UpItemEntry
nil, // 93: webapi.SkinItem.UnlockParamEntry
(*server.DB_GameFree)(nil), // 94: server.DB_GameFree
(*server.DB_GameItem)(nil), // 95: server.DB_GameItem
}
var file_common_proto_depIdxs = []int32{
2, // 0: webapi.Platform.Leaderboard:type_name -> webapi.RankSwitch
3, // 1: webapi.Platform.ClubConfig:type_name -> webapi.ClubConfig
4, // 2: webapi.Platform.ThirdGameMerchant:type_name -> webapi.ThirdGame
85, // 3: webapi.Platform.BindTelReward:type_name -> webapi.Platform.BindTelRewardEntry
86, // 3: webapi.Platform.BindTelReward:type_name -> webapi.Platform.BindTelRewardEntry
6, // 4: webapi.GameConfigGlobal.GameStatus:type_name -> webapi.GameStatus
93, // 5: webapi.GameFree.DbGameFree:type_name -> server.DB_GameFree
94, // 5: webapi.GameFree.DbGameFree:type_name -> server.DB_GameFree
8, // 6: webapi.PlatformGameConfig.DbGameFrees:type_name -> webapi.GameFree
0, // 7: webapi.PlatformDbConfig.Mysql:type_name -> webapi.MysqlDbSetting
1, // 8: webapi.PlatformDbConfig.MongoDb:type_name -> webapi.MongoDbSetting
1, // 9: webapi.PlatformDbConfig.MongoDbLog:type_name -> webapi.MongoDbSetting
93, // 10: webapi.GameConfigGroup.DbGameFree:type_name -> server.DB_GameFree
86, // 11: webapi.PlayerData.RankScore:type_name -> webapi.PlayerData.RankScoreEntry
94, // 10: webapi.GameConfigGroup.DbGameFree:type_name -> server.DB_GameFree
87, // 11: webapi.PlayerData.RankScore:type_name -> webapi.PlayerData.RankScoreEntry
32, // 12: webapi.PlayerData.Items:type_name -> webapi.ItemInfo
14, // 13: webapi.PlayerData.RoleUnlockList:type_name -> webapi.ModInfo
14, // 14: webapi.PlayerData.PetUnlockList:type_name -> webapi.ModInfo
@ -9459,7 +9529,7 @@ var file_common_proto_depIdxs = []int32{
26, // 20: webapi.ExchangeShop.TelData:type_name -> webapi.TelChargeData
25, // 21: webapi.ExchangeShopList.List:type_name -> webapi.ExchangeShop
29, // 22: webapi.ExchangeShopList.Weight:type_name -> webapi.ShopWeight
87, // 23: webapi.ItemShop.Award:type_name -> webapi.ItemShop.AwardEntry
88, // 23: webapi.ItemShop.Award:type_name -> webapi.ItemShop.AwardEntry
30, // 24: webapi.ItemShopList.List:type_name -> webapi.ItemShop
32, // 25: webapi.MatchInfoAward.ItemId:type_name -> webapi.ItemInfo
33, // 26: webapi.GameMatchDate.Award:type_name -> webapi.MatchInfoAward
@ -9480,12 +9550,12 @@ var file_common_proto_depIdxs = []int32{
38, // 41: webapi.WelfareSpree.Item:type_name -> webapi.WelfareDate
48, // 42: webapi.WelfareFirstPayDataList.List:type_name -> webapi.WelfareSpree
48, // 43: webapi.WelfareContinuousPayDataList.List:type_name -> webapi.WelfareSpree
88, // 44: webapi.VIPcfg.Award:type_name -> webapi.VIPcfg.AwardEntry
89, // 45: webapi.VIPcfg.Privilege7:type_name -> webapi.VIPcfg.Privilege7Entry
89, // 44: webapi.VIPcfg.Award:type_name -> webapi.VIPcfg.AwardEntry
90, // 45: webapi.VIPcfg.Privilege7:type_name -> webapi.VIPcfg.Privilege7Entry
51, // 46: webapi.VIPcfgDataList.List:type_name -> webapi.VIPcfg
38, // 47: webapi.ChessRankConfig.Item:type_name -> webapi.WelfareDate
55, // 48: webapi.ChessRankcfgData.Datas:type_name -> webapi.ChessRankConfig
90, // 49: webapi.ActInviteConfig.PayScore:type_name -> webapi.ActInviteConfig.PayScoreEntry
91, // 49: webapi.ActInviteConfig.PayScore:type_name -> webapi.ActInviteConfig.PayScoreEntry
62, // 50: webapi.ActInviteConfig.Awards1:type_name -> webapi.RankAward
62, // 51: webapi.ActInviteConfig.Awards2:type_name -> webapi.RankAward
62, // 52: webapi.ActInviteConfig.Awards3:type_name -> webapi.RankAward
@ -9502,12 +9572,12 @@ var file_common_proto_depIdxs = []int32{
69, // 63: webapi.DiamondLotteryData.Info:type_name -> webapi.DiamondLotteryInfo
70, // 64: webapi.DiamondLotteryData.Players:type_name -> webapi.DiamondLotteryPlayers
72, // 65: webapi.DiamondLotteryConfig.LotteryData:type_name -> webapi.DiamondLotteryData
94, // 66: webapi.ItemConfig.Items:type_name -> server.DB_GameItem
95, // 66: webapi.ItemConfig.Items:type_name -> server.DB_GameItem
32, // 67: webapi.RankAwardInfo.Item:type_name -> webapi.ItemInfo
75, // 68: webapi.RankTypeInfo.Award:type_name -> webapi.RankAwardInfo
76, // 69: webapi.RankTypeConfig.Info:type_name -> webapi.RankTypeInfo
91, // 70: webapi.SkinLevel.UpItem:type_name -> webapi.SkinLevel.UpItemEntry
92, // 71: webapi.SkinItem.UnlockParam:type_name -> webapi.SkinItem.UnlockParamEntry
92, // 70: webapi.SkinLevel.UpItem:type_name -> webapi.SkinLevel.UpItemEntry
93, // 71: webapi.SkinItem.UnlockParam:type_name -> webapi.SkinItem.UnlockParamEntry
78, // 72: webapi.SkinItem.Levels:type_name -> webapi.SkinLevel
79, // 73: webapi.SkinConfig.Items:type_name -> webapi.SkinItem
82, // 74: webapi.AwardLogConfig.AwardLog:type_name -> webapi.AwardLogData
@ -10546,6 +10616,18 @@ func file_common_proto_init() {
return nil
}
}
file_common_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GuideConfig); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
@ -10553,7 +10635,7 @@ func file_common_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_common_proto_rawDesc,
NumEnums: 0,
NumMessages: 93,
NumMessages: 94,
NumExtensions: 0,
NumServices: 0,
},

View File

@ -881,3 +881,10 @@ message AnnouncerLogInfo{
int32 ItemId = 4; //ID
int32 TypeId = 5; //1- 2-
}
// etcd /game/guide_config
message GuideConfig {
string Platform = 1; //
int32 On = 2; // 1 2
int32 Skip = 3; // 1 2
}