同步表+钻石存储罐功能实现+七日签到进阶奖励修改

This commit is contained in:
by 2024-06-25 17:31:41 +08:00
parent 11d78d2386
commit da249ec436
30 changed files with 2122 additions and 999 deletions

View File

@ -273,6 +273,7 @@ const (
GainWayBuyWeekCard = 87 // 商城购买周卡
GainWayVipBuyCoin = 88 // vip商城购买金币
GainWaySign7 = 89 // 连续签到7天进阶消耗
GainWay_PigrankGainDiamond = 90 //存钱罐打开获取钻石
)
// 后台选择 金币变化类型 的充值 类型id号起始

Binary file not shown.

View File

@ -2503,6 +2503,118 @@
"Location": "0",
"Describe": "可联系客服兑换实物奖励",
"Entity": 9
},
{
"Id": 30008,
"Name": "1元话费直兑券",
"ShowLocation": [
1,
1
],
"Classify": [
0,
0,
0
],
"Type": 17,
"Effect0": [
1,
0,
0
],
"Effect": [
1,
0,
0
],
"CompositionMax": 1,
"Location": "0",
"Describe": "用途:话费兑换码\n产出途径七日累签进阶奖励",
"Num": 1
},
{
"Id": 30009,
"Name": "2元话费直兑券",
"ShowLocation": [
1,
1
],
"Classify": [
0,
0,
0
],
"Type": 17,
"Effect0": [
1,
0,
0
],
"Effect": [
1,
0,
0
],
"CompositionMax": 1,
"Location": "0",
"Describe": "用途:话费兑换码\n产出途径七日累签进阶奖励",
"Num": 2
},
{
"Id": 30010,
"Name": "5元话费直兑券",
"ShowLocation": [
1,
1
],
"Classify": [
0,
0,
0
],
"Type": 17,
"Effect0": [
1,
0,
0
],
"Effect": [
1,
0,
0
],
"CompositionMax": 1,
"Location": "0",
"Describe": "用途:话费兑换码\n产出途径七日累签进阶奖励",
"Num": 5
},
{
"Id": 30011,
"Name": "10元话费直兑券",
"ShowLocation": [
1,
1
],
"Classify": [
0,
0,
0
],
"Type": 17,
"Effect0": [
1,
0,
0
],
"Effect": [
1,
0,
0
],
"CompositionMax": 1,
"Location": "0",
"Describe": "用途:话费兑换码\n产出途径七日累签进阶奖励",
"Num": 10
}
]
}

View File

@ -1,56 +1,55 @@
Ð ±ê(2
ˆ' ±ê(J2
<10>N ±ê(•2
˜u ±ê(ß2
 œ ±ê(©2
¨Ã ±ê(ó2
°ê ±ê(¾2
¸ ±ê(ˆ2
 À¸ ±ê(Ò2
Ð ±ê(2
ˆ' ±ê(12
<10>N ±ê(c2
˜u ±ê(2
 œ ±ê(Æ2
¨Ã ±ê(÷2
°ê ±ê(©2
¸ ±ê(Û2
 À¸ ±ê(Œ2

Èß ±ê2
 І ±ê2
 Ø­ ±ê2
 àÔ ±ê2
èû ±ê2
𢠱ê(<28>2
øÉ ±ê2
€ñ ±ê(¤ 2
ˆ˜ ±ê(î 2
<10>¿ ±ê
2
˜æ ±ê 2
 <> ±ê 2
ð“ ±ê(´2
Àš ±ê2
<10>¡ ±ê(<28>2
à§ ±ê(ç"2
°® ±ê(Î(2
€µ ±ê(´.2
л ±ê(42
 Â ±ê(<28>:2
ðÈ! ±ê(è?2
ÀÏ$ ±ê(ÎE2
 <10>Ö' ±ê(µK2
!àÜ* ±ê(<28>N2
"°ã- ±ê(<28>N2
#€ê0 ±ê(<28>N2
$Ðð3 ±ê(<28>N2
% ÷6 ±ê(<28>N2
&ðý9 ±ê(<28>N2
'À„= ±ê(<28>N2
(€‰z ±ê(<28>N2
)À–± ±ê(<28>N2
*€­â ±ê(<28>N2 
+ÀÓ ±ê(<28>N2
,€ÚÄ ±ê(<28>N2
-Àðõ ±ê(<28>N2#'
.€‡§ ±ê(<28>N2+/
/À<>Ø ±ê(<28>N226
0€´‰ ±ê(<28>N29=
1Àʺ ±ê(<28>N2AE
2€áë ±ê(<28>N2HL
3€Â×/ ±ê(<28>N2
4€£ÃG ±ê(<28>N2Ýá
5€„¯_ ±ê(<28>N2§«
Èß ±ê2
 І ±ê2
 Ø­ ±ê2
 àÔ ±ê2
èû ±ê2
𢠱ê2
øÉ ±ê2
€ñ ±ê(˜2
ˆ˜ ±ê2
<10>¿ ±ê2
˜æ ±ê(­2
 <> ±ê2
ð“ ±ê 2
Àš ±ê2
<10>¡ ±ê2
à§ ±ê2
°® ±ê(‰2
€µ ±ê2
л ±ê(ç"2
 Â ±ê(Ö&2
ðÈ! ±ê(Å*2
ÀÏ$ ±ê(´.2
 <10>Ö' ±ê(£22
!àÜ* ±ê(ë32
"°ã- ±ê(³52
#€ê0 ±ê(û62
$Ðð3 ±ê(Ã82
% ÷6 ±ê(:2
&ðý9 ±ê(Ó;2
'À„= ±ê(=2
(€‰z ±ê(ã>2
)À–± ±ê(«@2
*€­â ±ê(<28>N2
+ÀÓ ±ê(<28>N2
,€ÚÄ ±ê(<28>N2
-Àðõ ±ê(<28>N2
.€‡§ ±ê(<28>N2$
/À<>Ø ±ê(<28>N2$*
0€´‰ ±ê(<28>N2)0
1Àʺ ±ê(<28>N2.6
2€áë ±ê(<28>N23<
3€Â×/ ±ê(<28>N2e{
4€£ÃG ±ê(<28>N2¤
5€„¯_ ±ê(<28>N2Çö

View File

@ -4,7 +4,7 @@
"Id": 1,
"Bet": 2000,
"ItemId1": 30001,
"Rate1": 30,
"Rate1": 20,
"Amount1": [
1,
1
@ -14,7 +14,7 @@
"Id": 2,
"Bet": 5000,
"ItemId1": 30001,
"Rate1": 74,
"Rate1": 49,
"Amount1": [
1,
1
@ -24,7 +24,7 @@
"Id": 3,
"Bet": 10000,
"ItemId1": 30001,
"Rate1": 149,
"Rate1": 99,
"Amount1": [
1,
1
@ -34,7 +34,7 @@
"Id": 4,
"Bet": 15000,
"ItemId1": 30001,
"Rate1": 223,
"Rate1": 149,
"Amount1": [
1,
1
@ -44,7 +44,7 @@
"Id": 5,
"Bet": 20000,
"ItemId1": 30001,
"Rate1": 297,
"Rate1": 198,
"Amount1": [
1,
1
@ -54,7 +54,7 @@
"Id": 6,
"Bet": 25000,
"ItemId1": 30001,
"Rate1": 371,
"Rate1": 247,
"Amount1": [
1,
1
@ -64,7 +64,7 @@
"Id": 7,
"Bet": 30000,
"ItemId1": 30001,
"Rate1": 446,
"Rate1": 297,
"Amount1": [
1,
1
@ -74,7 +74,7 @@
"Id": 8,
"Bet": 35000,
"ItemId1": 30001,
"Rate1": 520,
"Rate1": 347,
"Amount1": [
1,
1
@ -84,7 +84,7 @@
"Id": 9,
"Bet": 40000,
"ItemId1": 30001,
"Rate1": 594,
"Rate1": 396,
"Amount1": [
1,
1
@ -94,7 +94,7 @@
"Id": 10,
"Bet": 45000,
"ItemId1": 30001,
"Rate1": 668,
"Rate1": 445,
"Amount1": [
1,
1
@ -104,7 +104,7 @@
"Id": 11,
"Bet": 50000,
"ItemId1": 30001,
"Rate1": 743,
"Rate1": 495,
"Amount1": [
1,
1
@ -114,7 +114,7 @@
"Id": 12,
"Bet": 55000,
"ItemId1": 30001,
"Rate1": 817,
"Rate1": 545,
"Amount1": [
1,
1
@ -124,7 +124,7 @@
"Id": 13,
"Bet": 60000,
"ItemId1": 30001,
"Rate1": 891,
"Rate1": 594,
"Amount1": [
1,
1
@ -134,7 +134,7 @@
"Id": 14,
"Bet": 65000,
"ItemId1": 30001,
"Rate1": 965,
"Rate1": 643,
"Amount1": [
1,
1
@ -144,7 +144,7 @@
"Id": 15,
"Bet": 70000,
"ItemId1": 30001,
"Rate1": 1040,
"Rate1": 693,
"Amount1": [
1,
1
@ -154,7 +154,7 @@
"Id": 16,
"Bet": 75000,
"ItemId1": 30001,
"Rate1": 1114,
"Rate1": 743,
"Amount1": [
1,
1
@ -164,7 +164,7 @@
"Id": 17,
"Bet": 80000,
"ItemId1": 30001,
"Rate1": 1188,
"Rate1": 792,
"Amount1": [
1,
1
@ -174,7 +174,7 @@
"Id": 18,
"Bet": 85000,
"ItemId1": 30001,
"Rate1": 1262,
"Rate1": 841,
"Amount1": [
1,
1
@ -184,7 +184,7 @@
"Id": 19,
"Bet": 90000,
"ItemId1": 30001,
"Rate1": 1337,
"Rate1": 891,
"Amount1": [
1,
1
@ -194,7 +194,7 @@
"Id": 20,
"Bet": 95000,
"ItemId1": 30001,
"Rate1": 1411,
"Rate1": 941,
"Amount1": [
1,
1
@ -204,7 +204,7 @@
"Id": 21,
"Bet": 100000,
"ItemId1": 30001,
"Rate1": 1485,
"Rate1": 990,
"Amount1": [
1,
1
@ -214,7 +214,7 @@
"Id": 22,
"Bet": 150000,
"ItemId1": 30001,
"Rate1": 2228,
"Rate1": 1485,
"Amount1": [
1,
1
@ -224,7 +224,7 @@
"Id": 23,
"Bet": 200000,
"ItemId1": 30001,
"Rate1": 2970,
"Rate1": 1980,
"Amount1": [
1,
1
@ -234,7 +234,7 @@
"Id": 24,
"Bet": 250000,
"ItemId1": 30001,
"Rate1": 3713,
"Rate1": 2475,
"Amount1": [
1,
1
@ -244,170 +244,170 @@
"Id": 25,
"Bet": 300000,
"ItemId1": 30001,
"Rate1": 4455,
"Rate1": 2970,
"Amount1": [
1,
2
1
]
},
{
"Id": 26,
"Bet": 350000,
"ItemId1": 30001,
"Rate1": 5198,
"Rate1": 3465,
"Amount1": [
1,
2
1
]
},
{
"Id": 27,
"Bet": 400000,
"ItemId1": 30001,
"Rate1": 5940,
"Rate1": 3960,
"Amount1": [
1,
2
1
]
},
{
"Id": 28,
"Bet": 450000,
"ItemId1": 30001,
"Rate1": 6683,
"Rate1": 4455,
"Amount1": [
1,
2
1
]
},
{
"Id": 29,
"Bet": 500000,
"ItemId1": 30001,
"Rate1": 7425,
"Rate1": 4950,
"Amount1": [
1,
2
1
]
},
{
"Id": 30,
"Bet": 550000,
"ItemId1": 30001,
"Rate1": 8168,
"Rate1": 5445,
"Amount1": [
1,
2
1
]
},
{
"Id": 31,
"Bet": 600000,
"ItemId1": 30001,
"Rate1": 8910,
"Rate1": 5940,
"Amount1": [
1,
2
1
]
},
{
"Id": 32,
"Bet": 650000,
"ItemId1": 30001,
"Rate1": 9653,
"Rate1": 6435,
"Amount1": [
1,
2
1
]
},
{
"Id": 33,
"Bet": 700000,
"ItemId1": 30001,
"Rate1": 10000,
"Rate1": 6635,
"Amount1": [
1,
2
1
]
},
{
"Id": 34,
"Bet": 750000,
"ItemId1": 30001,
"Rate1": 10000,
"Rate1": 6835,
"Amount1": [
1,
2
1
]
},
{
"Id": 35,
"Bet": 800000,
"ItemId1": 30001,
"Rate1": 10000,
"Rate1": 7035,
"Amount1": [
1,
2
1
]
},
{
"Id": 36,
"Bet": 850000,
"ItemId1": 30001,
"Rate1": 10000,
"Rate1": 7235,
"Amount1": [
1,
2
1
]
},
{
"Id": 37,
"Bet": 900000,
"ItemId1": 30001,
"Rate1": 10000,
"Rate1": 7435,
"Amount1": [
1,
2
1
]
},
{
"Id": 38,
"Bet": 950000,
"ItemId1": 30001,
"Rate1": 10000,
"Rate1": 7635,
"Amount1": [
1,
2
1
]
},
{
"Id": 39,
"Bet": 1000000,
"ItemId1": 30001,
"Rate1": 10000,
"Rate1": 7835,
"Amount1": [
1,
2
1
]
},
{
"Id": 40,
"Bet": 2000000,
"ItemId1": 30001,
"Rate1": 10000,
"Rate1": 8035,
"Amount1": [
1,
5
3
]
},
{
"Id": 41,
"Bet": 5000000,
"ItemId1": 30001,
"Rate1": 10000,
"Rate1": 8235,
"Amount1": [
5,
9
4,
6
]
},
{
@ -416,8 +416,8 @@
"ItemId1": 30001,
"Rate1": 10000,
"Amount1": [
13,
17
11,
13
]
},
{
@ -426,8 +426,8 @@
"ItemId1": 30001,
"Rate1": 10000,
"Amount1": [
20,
24
16,
18
]
},
{
@ -436,8 +436,8 @@
"ItemId1": 30001,
"Rate1": 10000,
"Amount1": [
28,
32
21,
24
]
},
{
@ -446,8 +446,8 @@
"ItemId1": 30001,
"Rate1": 10000,
"Amount1": [
35,
39
24,
29
]
},
{
@ -456,8 +456,8 @@
"ItemId1": 30001,
"Rate1": 10000,
"Amount1": [
43,
47
31,
36
]
},
{
@ -466,8 +466,8 @@
"ItemId1": 30001,
"Rate1": 10000,
"Amount1": [
50,
54
36,
42
]
},
{
@ -476,8 +476,8 @@
"ItemId1": 30001,
"Rate1": 10000,
"Amount1": [
57,
61
41,
48
]
},
{
@ -486,8 +486,8 @@
"ItemId1": 30001,
"Rate1": 10000,
"Amount1": [
65,
69
46,
54
]
},
{
@ -496,8 +496,8 @@
"ItemId1": 30001,
"Rate1": 10000,
"Amount1": [
72,
76
51,
60
]
},
{
@ -506,8 +506,8 @@
"ItemId1": 30001,
"Rate1": 10000,
"Amount1": [
147,
151
101,
123
]
},
{
@ -516,8 +516,8 @@
"ItemId1": 30001,
"Rate1": 10000,
"Amount1": [
221,
225
150,
164
]
},
{
@ -526,8 +526,8 @@
"ItemId1": 30001,
"Rate1": 10000,
"Amount1": [
295,
299
199,
246
]
}
]

View File

@ -1,4 +1,4 @@
 
 (
<18>チラ/ 2
 (Ђ­в08Сэ@dHPc
 ((Ђ­в8Тэ@dH¬PЗ
яБЧ/ 2(Ђ­в0о8Уэ@dHоPу

View File

@ -4,19 +4,37 @@
"Id": 1,
"BuyCountMin": 1,
"BuyCountMax": 1,
"CostDiamond": 30
"CostDiamond": 30,
"MaxGold": 10000000,
"MaxDiamond": 150,
"DiamondId": 98001,
"CoinPrice": 100,
"DiamondPrice": 150,
"DiamondNowPrice": 99
},
{
"Id": 2,
"BuyCountMin": 2,
"BuyCountMax": 2,
"CostDiamond": 40
"CostDiamond": 40,
"MaxGold": 10000000,
"MaxDiamond": 300,
"DiamondId": 98002,
"CoinPrice": 100,
"DiamondPrice": 300,
"DiamondNowPrice": 199
},
{
"Id": 3,
"BuyCountMin": 3,
"BuyCountMax": 99999999,
"CostDiamond": 50
"CostDiamond": 50,
"MaxGold": 10000000,
"MaxDiamond": 750,
"DiamondId": 98003,
"CoinPrice": 100,
"DiamondPrice": 750,
"DiamondNowPrice": 499
}
]
}

View File

@ -1,6 +1,8 @@
 BankMaxCoin€­â
 WinCoinRate
 LoseCoinRate
 WinCoinRate
 LoseCoinRate
 DayBuyMaxCnt
 DayBuyMaxCnt
WinCoinRateDiamond
LoseCoinRateDiamond
DayBuyMaxCntDiamond

View File

@ -2,23 +2,31 @@
"Arr": [
{
"Id": 1,
"PorpName": "BankMaxCoin",
"PropValue": 10000000
},
{
"Id": 2,
"PorpName": "WinCoinRate",
"PropValue": 5
},
{
"Id": 3,
"Id": 2,
"PorpName": "LoseCoinRate",
"PropValue": 10
},
{
"Id": 4,
"Id": 3,
"PorpName": "DayBuyMaxCnt",
"PropValue": 3
},
{
"Id": 4,
"PorpName": "WinCoinRateDiamond"
},
{
"Id": 5,
"PorpName": "LoseCoinRateDiamond"
},
{
"Id": 6,
"PorpName": "DayBuyMaxCntDiamond",
"PropValue": 3
}
]
}

Binary file not shown.

Binary file not shown.

View File

@ -146,8 +146,8 @@
"TargetTimes": 1,
"FinishTimes": 1,
"Award": {
"100001": 1000000,
"100002": 10
"100001": 100000,
"100002": 1
}
},
{
@ -158,8 +158,8 @@
"TargetTimes": 10,
"FinishTimes": 1,
"Award": {
"100001": 1000000,
"100002": 10
"100001": 100000,
"100002": 1
},
"GameType": 1
},
@ -171,7 +171,7 @@
"TargetTimes": 10000000,
"FinishTimes": 1,
"Award": {
"100001": 1000000
"100001": 100000
}
},
{
@ -182,8 +182,8 @@
"TargetTimes": 10,
"FinishTimes": 1,
"Award": {
"100001": 1000000,
"100002": 10
"100001": 100000,
"100002": 1
},
"GameType": 1
},
@ -195,8 +195,8 @@
"TargetTimes": 3,
"FinishTimes": 1,
"Award": {
"100001": 10000000,
"100002": 10
"100001": 1000000,
"100002": 1
}
},
{
@ -207,7 +207,7 @@
"TargetTimes": 10,
"FinishTimes": 1,
"Award": {
"100001": 250000,
"100001": 25000,
"50001": 1
}
},
@ -219,7 +219,7 @@
"TargetTimes": 5,
"FinishTimes": 1,
"Award": {
"100001": 2500000,
"100001": 250000,
"50001": 2
}
},
@ -231,7 +231,7 @@
"TargetTimes": 10,
"FinishTimes": 1,
"Award": {
"100001": 5000000,
"100001": 500000,
"50001": 4
}
},
@ -243,7 +243,7 @@
"TargetTimes": 100,
"FinishTimes": 1,
"Award": {
"100001": 2500000,
"100001": 250000,
"50001": 2
}
},
@ -255,7 +255,7 @@
"TargetTimes": 500,
"FinishTimes": 1,
"Award": {
"100001": 12500000,
"100001": 1250000,
"50001": 10
}
},
@ -267,7 +267,7 @@
"TargetTimes": 1000,
"FinishTimes": 1,
"Award": {
"100001": 25000000,
"100001": 2500000,
"50001": 20
}
},
@ -279,8 +279,8 @@
"TargetTimes": 10000,
"FinishTimes": 1,
"Award": {
"100001": 1000000,
"100002": 20
"100001": 100000,
"100002": 2
}
},
{
@ -291,8 +291,8 @@
"TargetTimes": 50000,
"FinishTimes": 1,
"Award": {
"100001": 10000000,
"100002": 20
"100001": 1000000,
"100002": 2
}
},
{
@ -303,8 +303,8 @@
"TargetTimes": 200000,
"FinishTimes": 1,
"Award": {
"100001": 20000000,
"100002": 50
"100001": 2000000,
"100002": 5
}
},
{
@ -315,8 +315,8 @@
"TargetTimes": 1000000,
"FinishTimes": 1,
"Award": {
"100001": 50000000,
"100002": 100
"100001": 5000000,
"100002": 10
}
},
{
@ -327,8 +327,8 @@
"TargetTimes": 100000000,
"FinishTimes": 1,
"Award": {
"100001": 1000000,
"100002": 10
"100001": 100000,
"100002": 1
},
"GameType": 1
},
@ -340,8 +340,8 @@
"TargetTimes": 1000000000,
"FinishTimes": 1,
"Award": {
"100001": 2000000,
"100002": 20
"100001": 200000,
"100002": 2
},
"GameType": 1
},
@ -353,8 +353,8 @@
"TargetTimes": 10000000000,
"FinishTimes": 1,
"Award": {
"100001": 3000000,
"100002": 30
"100001": 300000,
"100002": 3
},
"GameType": 1
},
@ -366,8 +366,8 @@
"TargetTimes": 100000000000,
"FinishTimes": 1,
"Award": {
"100001": 5000000,
"100002": 50
"100001": 500000,
"100002": 5
},
"GameType": 1
},
@ -379,8 +379,8 @@
"TargetTimes": 500000000000,
"FinishTimes": 1,
"Award": {
"100001": 10000000,
"100002": 100
"100001": 1000000,
"100002": 10
},
"GameType": 1
},
@ -392,8 +392,8 @@
"TargetTimes": 1000000000000,
"FinishTimes": 1,
"Award": {
"100001": 20000000,
"100002": 200
"100001": 2000000,
"100002": 20
},
"GameType": 1
},
@ -405,8 +405,8 @@
"TargetTimes": 100,
"FinishTimes": 1,
"Award": {
"100001": 1000000,
"100002": 10
"100001": 100000,
"100002": 1
},
"GameType": 1
},
@ -418,8 +418,8 @@
"TargetTimes": 1000,
"FinishTimes": 1,
"Award": {
"100001": 2000000,
"100002": 20
"100001": 200000,
"100002": 2
},
"GameType": 1
},
@ -431,8 +431,8 @@
"TargetTimes": 5000,
"FinishTimes": 1,
"Award": {
"100001": 3000000,
"100002": 30
"100001": 300000,
"100002": 3
},
"GameType": 1
},
@ -444,8 +444,8 @@
"TargetTimes": 10000,
"FinishTimes": 1,
"Award": {
"100001": 5000000,
"100002": 50
"100001": 500000,
"100002": 5
},
"GameType": 1
},
@ -457,8 +457,8 @@
"TargetTimes": 50000,
"FinishTimes": 1,
"Award": {
"100001": 10000000,
"100002": 100
"100001": 1000000,
"100002": 10
},
"GameType": 1
},
@ -470,8 +470,8 @@
"TargetTimes": 100000,
"FinishTimes": 1,
"Award": {
"100001": 20000000,
"100002": 200
"100001": 2000000,
"100002": 20
},
"GameType": 1
},
@ -483,8 +483,8 @@
"TargetTimes": 100,
"FinishTimes": 1,
"Award": {
"100001": 1000000,
"100002": 10
"100001": 100000,
"100002": 1
},
"GameType": 1
},
@ -496,8 +496,8 @@
"TargetTimes": 1000,
"FinishTimes": 1,
"Award": {
"100001": 2000000,
"100002": 20
"100001": 200000,
"100002": 2
},
"GameType": 1
},
@ -509,8 +509,8 @@
"TargetTimes": 5000,
"FinishTimes": 1,
"Award": {
"100001": 3000000,
"100002": 30
"100001": 300000,
"100002": 3
},
"GameType": 1
},
@ -522,8 +522,8 @@
"TargetTimes": 10000,
"FinishTimes": 1,
"Award": {
"100001": 5000000,
"100002": 50
"100001": 500000,
"100002": 5
},
"GameType": 1
},
@ -535,8 +535,8 @@
"TargetTimes": 50000,
"FinishTimes": 1,
"Award": {
"100001": 10000000,
"100002": 100
"100001": 1000000,
"100002": 10
},
"GameType": 1
},
@ -548,8 +548,8 @@
"TargetTimes": 100000,
"FinishTimes": 1,
"Award": {
"100001": 20000000,
"100002": 200
"100001": 2000000,
"100002": 20
},
"GameType": 1
},
@ -561,8 +561,8 @@
"TargetTimes": 100,
"FinishTimes": 1,
"Award": {
"100001": 1000000,
"100002": 10
"100001": 100000,
"100002": 1
},
"GameType": 1
},
@ -574,8 +574,8 @@
"TargetTimes": 1000,
"FinishTimes": 1,
"Award": {
"100001": 2000000,
"100002": 20
"100001": 200000,
"100002": 2
},
"GameType": 1
},
@ -587,8 +587,8 @@
"TargetTimes": 5000,
"FinishTimes": 1,
"Award": {
"100001": 3000000,
"100002": 30
"100001": 300000,
"100002": 3
},
"GameType": 1
},
@ -600,8 +600,8 @@
"TargetTimes": 10000,
"FinishTimes": 1,
"Award": {
"100001": 5000000,
"100002": 50
"100001": 500000,
"100002": 5
},
"GameType": 1
},
@ -613,8 +613,8 @@
"TargetTimes": 50000,
"FinishTimes": 1,
"Award": {
"100001": 10000000,
"100002": 100
"100001": 1000000,
"100002": 10
},
"GameType": 1
},
@ -626,8 +626,8 @@
"TargetTimes": 100000,
"FinishTimes": 1,
"Award": {
"100001": 20000000,
"100002": 200
"100001": 2000000,
"100002": 20
},
"GameType": 1
},
@ -639,8 +639,8 @@
"TargetTimes": 10,
"FinishTimes": 1,
"Award": {
"100001": 1000000,
"100002": 10
"100001": 100000,
"100002": 1
},
"Position": [
1,
@ -655,8 +655,8 @@
"TargetTimes": 100,
"FinishTimes": 1,
"Award": {
"100001": 2000000,
"100002": 20
"100001": 200000,
"100002": 2
},
"Position": [
1,
@ -671,8 +671,8 @@
"TargetTimes": 1000,
"FinishTimes": 1,
"Award": {
"100001": 3000000,
"100002": 30
"100001": 300000,
"100002": 3
},
"Position": [
1,
@ -687,8 +687,8 @@
"TargetTimes": 10000,
"FinishTimes": 1,
"Award": {
"100001": 5000000,
"100002": 50
"100001": 500000,
"100002": 5
},
"Position": [
1,
@ -703,8 +703,8 @@
"TargetTimes": 50000,
"FinishTimes": 1,
"Award": {
"100001": 10000000,
"100002": 100
"100001": 1000000,
"100002": 10
},
"Position": [
1,
@ -719,8 +719,8 @@
"TargetTimes": 100000,
"FinishTimes": 1,
"Award": {
"100001": 20000000,
"100002": 200
"100001": 2000000,
"100002": 20
},
"Position": [
1,
@ -735,8 +735,8 @@
"TargetTimes": 10,
"FinishTimes": 1,
"Award": {
"100001": 1000000,
"100002": 10
"100001": 100000,
"100002": 1
}
},
{
@ -747,8 +747,8 @@
"TargetTimes": 20,
"FinishTimes": 1,
"Award": {
"100001": 2000000,
"100002": 20
"100001": 200000,
"100002": 2
}
},
{
@ -759,8 +759,8 @@
"TargetTimes": 50,
"FinishTimes": 1,
"Award": {
"100001": 3000000,
"100002": 30
"100001": 300000,
"100002": 3
}
},
{
@ -771,8 +771,8 @@
"TargetTimes": 100,
"FinishTimes": 1,
"Award": {
"100001": 5000000,
"100002": 50
"100001": 500000,
"100002": 5
}
},
{
@ -783,8 +783,8 @@
"TargetTimes": 500,
"FinishTimes": 1,
"Award": {
"100001": 10000000,
"100002": 100
"100001": 1000000,
"100002": 10
}
},
{
@ -795,8 +795,8 @@
"TargetTimes": 1000,
"FinishTimes": 1,
"Award": {
"100001": 20000000,
"100002": 200
"100001": 2000000,
"100002": 20
}
}
]

Binary file not shown.

View File

@ -52,7 +52,8 @@
],
"RewardOutlineID": [
2
]
],
"MatchFreeTimes": 1
},
{
"Id": 2,
@ -81,7 +82,8 @@
],
"RewardOutlineID": [
2
]
],
"MatchFreeTimes": 2
},
{
"Id": 3,
@ -110,7 +112,8 @@
],
"RewardOutlineID": [
3
]
],
"MatchFreeTimes": 3
},
{
"Id": 4,
@ -139,7 +142,8 @@
],
"RewardOutlineID": [
3
]
],
"MatchFreeTimes": 4
},
{
"Id": 5,
@ -168,7 +172,8 @@
],
"RewardOutlineID": [
4
]
],
"MatchFreeTimes": 5
},
{
"Id": 6,
@ -197,7 +202,8 @@
],
"RewardOutlineID": [
4
]
],
"MatchFreeTimes": 6
},
{
"Id": 7,
@ -226,7 +232,8 @@
],
"RewardOutlineID": [
3
]
],
"MatchFreeTimes": 7
},
{
"Id": 8,
@ -255,7 +262,8 @@
],
"RewardOutlineID": [
3
]
],
"MatchFreeTimes": 8
},
{
"Id": 9,
@ -284,7 +292,8 @@
],
"RewardOutlineID": [
4
]
],
"MatchFreeTimes": 9
},
{
"Id": 10,
@ -313,7 +322,8 @@
],
"RewardOutlineID": [
4
]
],
"MatchFreeTimes": 10
},
{
"Id": 11,
@ -342,7 +352,8 @@
],
"RewardOutlineID": [
0
]
],
"MatchFreeTimes": 11
},
{
"Id": 12,
@ -371,7 +382,8 @@
],
"RewardOutlineID": [
0
]
],
"MatchFreeTimes": 12
},
{
"Id": 13,
@ -400,7 +412,8 @@
],
"RewardOutlineID": [
0
]
],
"MatchFreeTimes": 13
},
{
"Id": 14,
@ -429,7 +442,8 @@
],
"RewardOutlineID": [
0
]
],
"MatchFreeTimes": 14
},
{
"Id": 15,
@ -458,7 +472,8 @@
],
"RewardOutlineID": [
0
]
],
"MatchFreeTimes": 15
},
{
"Id": 16,
@ -487,7 +502,8 @@
],
"RewardOutlineID": [
0
]
],
"MatchFreeTimes": 16
},
{}
]

View File

@ -478,9 +478,16 @@ type TaskData struct {
}
type PigBankData struct {
TakeTimes int32
BankCoin int64
DayBuyTimes int32
TakeTimes int32 //一共领取次数
BankCoin int64 //当前金币数量
DayBuyTimes int32 //当天领取次数
}
// 钻石储存罐数据
type DiamondBankData struct {
TakeTimes int32 //一共领取次数
BankDiamond float64 //当前钻石数量
DayBuyTimes int32 //当天领取次数
}
type WelfareData struct {
@ -496,6 +503,8 @@ type WelfareData struct {
Task map[int32]*TaskData // 任务
PhoneLotteryTask map[int32]*TaskData // 抽手机任务
PigBank *PigBankData // 存钱罐
DiamondBank *DiamondBankData // 钻石储存罐
}
func NewWelfareData() *WelfareData {

File diff suppressed because it is too large Load Diff

View File

@ -1237,6 +1237,48 @@ message DB_NewPlayerArray {
repeated DB_NewPlayer Arr = 1;
}
message DB_PetSkill {
int32 ID = 1;
int32 PetId = 2;
string SkillName = 3;
string SKillDes = 4;
int32 SKillLevel = 5;
int32 SKillUnlockType = 6;
string SKillUnlockTakes = 7;
}
message DB_PetSkillArray {
repeated DB_PetSkill Arr = 1;
}
message DB_PetSkillDes {
int32 ID = 1;
int32 SkillId = 2;
int32 SkillLevel = 3;
string SKillValue = 4;
int32 Fragment = 5;
int32 Amount = 6;
}
message DB_PetSkillDesArray {
repeated DB_PetSkillDes Arr = 1;
}
message DB_PhoneLottery {
int32 Id = 1;
@ -1279,6 +1321,18 @@ message DB_PigBank_Diamond {
int32 CostDiamond = 4;
int32 MaxGold = 5;
int32 MaxDiamond = 6;
int32 DiamondId = 7;
int32 CoinPrice = 8;
int32 DiamondPrice = 9;
int32 DiamondNowPrice = 10;
}
message DB_PigBank_DiamondArray {

View File

@ -128,14 +128,18 @@ const (
SPacketID_PACKET_CSWelfRelief SPacketID = 2900 //救济金信息
SPacketID_PACKET_SCWelfRelief SPacketID = 2901 //救济金信息
// 邀请活动
SPacketID_PACKET_CSInviteInfo SPacketID = 2902 //邀请信息
SPacketID_PACKET_SCInviteInfo SPacketID = 2903 //邀请信息
SPacketID_PACKET_CSBindInvite SPacketID = 2904 //绑定邀请人
SPacketID_PACKET_SCBindInvite SPacketID = 2905 //绑定邀请人
SPacketID_PACKET_CSPigbankGetInfo SPacketID = 2910 // 存钱罐信息获取
SPacketID_PACKET_SCPigbankGetInfo SPacketID = 2911 // 存钱罐信息获取
SPacketID_PACKET_CSPigbankTakeCoin SPacketID = 2912 // 存钱罐领取金币
SPacketID_PACKET_SCPigbankTakeCoin SPacketID = 2913 // 存钱罐领取金币
SPacketID_PACKET_CSInviteInfo SPacketID = 2902 //邀请信息
SPacketID_PACKET_SCInviteInfo SPacketID = 2903 //邀请信息
SPacketID_PACKET_CSBindInvite SPacketID = 2904 //绑定邀请人
SPacketID_PACKET_SCBindInvite SPacketID = 2905 //绑定邀请人
SPacketID_PACKET_CSPigbankGetInfo SPacketID = 2910 // 存钱罐信息获取
SPacketID_PACKET_SCPigbankGetInfo SPacketID = 2911 // 存钱罐信息获取
SPacketID_PACKET_CSPigbankTakeCoin SPacketID = 2912 // 存钱罐领取金币
SPacketID_PACKET_SCPigbankTakeCoin SPacketID = 2913 // 存钱罐领取金币
SPacketID_PACKET_CSDiamondBankGetInfo SPacketID = 2914 //钻石存钱罐信息获取
SPacketID_PACKET_SCDiamondBankGetInfo SPacketID = 2915 //钻石存钱罐信息返回
SPacketID_PACKET_CSDiamondBankTakeDiamond SPacketID = 2916 //钻石存钱罐领取
SPacketID_PACKET_SCDiamondBankTakeDiamond SPacketID = 2917 //钻石存钱罐领取返回
)
// Enum value maps for SPacketID.
@ -174,41 +178,49 @@ var (
2911: "PACKET_SCPigbankGetInfo",
2912: "PACKET_CSPigbankTakeCoin",
2913: "PACKET_SCPigbankTakeCoin",
2914: "PACKET_CSDiamondBankGetInfo",
2915: "PACKET_SCDiamondBankGetInfo",
2916: "PACKET_CSDiamondBankTakeDiamond",
2917: "PACKET_SCDiamondBankTakeDiamond",
}
SPacketID_value = map[string]int32{
"PACKET_SHOP_ZERO": 0,
"PACKET_CS_WELF_GETRELIEFFUND": 2580,
"PACKET_SC_WELF_GETRELIEFFUND": 2581,
"PACKET_CS_WELF_GETTURNPLATE": 2582,
"PACKET_SC_WELF_GETTURNPLATE": 2583,
"PACKET_CS_WELF_GETADDUPSIGN": 2584,
"PACKET_SC_WELF_GETADDUPSIGN": 2585,
"PACKET_CS_WELF_WELFAREINFO": 2586,
"PACKET_SC_WELF_WELFAREINFO": 2587,
"PACKET_CS_WELF_BLINBOXINFO": 2588,
"PACKET_SC_WELF_BLINBOXINFO": 2589,
"PACKET_CS_WELF_GETBLINBOX": 2590,
"PACKET_SC_WELF_GETBLINBOX": 2591,
"PACKET_CS_WELF_FIRSTPAYINFO": 2592,
"PACKET_SC_WELF_FIRSTPAYINFO": 2593,
"PACKET_CS_WELF_FIRSTPAY": 2594,
"PACKET_SC_WELF_FIRSTPAY": 2595,
"PACKET_CS_WELF_CONTINPAYINFO": 2596,
"PACKET_SC_WELF_CONTINPAYINFO": 2597,
"PACKET_CS_WELF_CONTINPAY": 2598,
"PACKET_SC_WELF_CONTINPAY": 2599,
"PACKET_CS_SignDay_Addup2Award": 2600,
"PACKET_SC_SignDay_Addup2Award": 2601,
"PACKET_CSWelfRelief": 2900,
"PACKET_SCWelfRelief": 2901,
"PACKET_CSInviteInfo": 2902,
"PACKET_SCInviteInfo": 2903,
"PACKET_CSBindInvite": 2904,
"PACKET_SCBindInvite": 2905,
"PACKET_CSPigbankGetInfo": 2910,
"PACKET_SCPigbankGetInfo": 2911,
"PACKET_CSPigbankTakeCoin": 2912,
"PACKET_SCPigbankTakeCoin": 2913,
"PACKET_SHOP_ZERO": 0,
"PACKET_CS_WELF_GETRELIEFFUND": 2580,
"PACKET_SC_WELF_GETRELIEFFUND": 2581,
"PACKET_CS_WELF_GETTURNPLATE": 2582,
"PACKET_SC_WELF_GETTURNPLATE": 2583,
"PACKET_CS_WELF_GETADDUPSIGN": 2584,
"PACKET_SC_WELF_GETADDUPSIGN": 2585,
"PACKET_CS_WELF_WELFAREINFO": 2586,
"PACKET_SC_WELF_WELFAREINFO": 2587,
"PACKET_CS_WELF_BLINBOXINFO": 2588,
"PACKET_SC_WELF_BLINBOXINFO": 2589,
"PACKET_CS_WELF_GETBLINBOX": 2590,
"PACKET_SC_WELF_GETBLINBOX": 2591,
"PACKET_CS_WELF_FIRSTPAYINFO": 2592,
"PACKET_SC_WELF_FIRSTPAYINFO": 2593,
"PACKET_CS_WELF_FIRSTPAY": 2594,
"PACKET_SC_WELF_FIRSTPAY": 2595,
"PACKET_CS_WELF_CONTINPAYINFO": 2596,
"PACKET_SC_WELF_CONTINPAYINFO": 2597,
"PACKET_CS_WELF_CONTINPAY": 2598,
"PACKET_SC_WELF_CONTINPAY": 2599,
"PACKET_CS_SignDay_Addup2Award": 2600,
"PACKET_SC_SignDay_Addup2Award": 2601,
"PACKET_CSWelfRelief": 2900,
"PACKET_SCWelfRelief": 2901,
"PACKET_CSInviteInfo": 2902,
"PACKET_SCInviteInfo": 2903,
"PACKET_CSBindInvite": 2904,
"PACKET_SCBindInvite": 2905,
"PACKET_CSPigbankGetInfo": 2910,
"PACKET_SCPigbankGetInfo": 2911,
"PACKET_CSPigbankTakeCoin": 2912,
"PACKET_SCPigbankTakeCoin": 2913,
"PACKET_CSDiamondBankGetInfo": 2914,
"PACKET_SCDiamondBankGetInfo": 2915,
"PACKET_CSDiamondBankTakeDiamond": 2916,
"PACKET_SCDiamondBankTakeDiamond": 2917,
}
)
@ -2463,6 +2475,7 @@ type SCPigbankGetInfo struct {
CostDiamond int64 `protobuf:"varint,4,opt,name=CostDiamond,proto3" json:"CostDiamond,omitempty"` // 耗费钻石
BankMaxCoin int64 `protobuf:"varint,5,opt,name=BankMaxCoin,proto3" json:"BankMaxCoin,omitempty"` // 存钱罐最储存值
DayBuyMaxCnt int32 `protobuf:"varint,6,opt,name=DayBuyMaxCnt,proto3" json:"DayBuyMaxCnt,omitempty"` // 今日最大可购买次数
Price int64 `protobuf:"varint,7,opt,name=Price,proto3" json:"Price,omitempty"` //消耗钻石原价
}
func (x *SCPigbankGetInfo) Reset() {
@ -2539,6 +2552,13 @@ func (x *SCPigbankGetInfo) GetDayBuyMaxCnt() int32 {
return 0
}
func (x *SCPigbankGetInfo) GetPrice() int64 {
if x != nil {
return x.Price
}
return 0
}
// 存钱罐领取金币
//PACKET_CSPigbankTakeCoin
type CSPigbankTakeCoin struct {
@ -2592,6 +2612,7 @@ type SCPigbankTakeCoin struct {
CostDiamond int64 `protobuf:"varint,4,opt,name=CostDiamond,proto3" json:"CostDiamond,omitempty"` // 耗费钻石
BankMaxCoin int64 `protobuf:"varint,5,opt,name=BankMaxCoin,proto3" json:"BankMaxCoin,omitempty"` // 存钱罐最储存值
DayBuyMaxCnt int32 `protobuf:"varint,6,opt,name=DayBuyMaxCnt,proto3" json:"DayBuyMaxCnt,omitempty"` // 今日最大可购买次数
Price int64 `protobuf:"varint,7,opt,name=Price,proto3" json:"Price,omitempty"` //消耗钻石原价
}
func (x *SCPigbankTakeCoin) Reset() {
@ -2668,6 +2689,158 @@ func (x *SCPigbankTakeCoin) GetDayBuyMaxCnt() int32 {
return 0
}
func (x *SCPigbankTakeCoin) GetPrice() int64 {
if x != nil {
return x.Price
}
return 0
}
// 钻石存钱罐信息
//PACKET_CSDiamondBankGetInfo
type CSDiamondBankGetInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *CSDiamondBankGetInfo) Reset() {
*x = CSDiamondBankGetInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_welfare_proto_msgTypes[40]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CSDiamondBankGetInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CSDiamondBankGetInfo) ProtoMessage() {}
func (x *CSDiamondBankGetInfo) ProtoReflect() protoreflect.Message {
mi := &file_welfare_proto_msgTypes[40]
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 CSDiamondBankGetInfo.ProtoReflect.Descriptor instead.
func (*CSDiamondBankGetInfo) Descriptor() ([]byte, []int) {
return file_welfare_proto_rawDescGZIP(), []int{40}
}
// 钻石存钱罐信息
//PACKET_SCDiamondBankGetInfo
type SCDiamondBankGetInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
OpRetCode OpResultCode `protobuf:"varint,1,opt,name=OpRetCode,proto3,enum=welfare.OpResultCode" json:"OpRetCode,omitempty"` //结果
BankDiamond float64 `protobuf:"fixed64,2,opt,name=BankDiamond,proto3" json:"BankDiamond,omitempty"` // 当前已存钻石
TakeTimes int32 `protobuf:"varint,3,opt,name=TakeTimes,proto3" json:"TakeTimes,omitempty"` // 领取次数
BankMaxCoin int64 `protobuf:"varint,4,opt,name=BankMaxCoin,proto3" json:"BankMaxCoin,omitempty"` // 存钱罐最大储存值
DayBuyMaxCnt int32 `protobuf:"varint,5,opt,name=DayBuyMaxCnt,proto3" json:"DayBuyMaxCnt,omitempty"` // 今日最大可购买次数
Price int64 `protobuf:"varint,6,opt,name=Price,proto3" json:"Price,omitempty"` //原价
NowPrice int64 `protobuf:"varint,7,opt,name=NowPrice,proto3" json:"NowPrice,omitempty"` //现价
ShopId int32 `protobuf:"varint,8,opt,name=ShopId,proto3" json:"ShopId,omitempty"` //商城ID
}
func (x *SCDiamondBankGetInfo) Reset() {
*x = SCDiamondBankGetInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_welfare_proto_msgTypes[41]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SCDiamondBankGetInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SCDiamondBankGetInfo) ProtoMessage() {}
func (x *SCDiamondBankGetInfo) ProtoReflect() protoreflect.Message {
mi := &file_welfare_proto_msgTypes[41]
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 SCDiamondBankGetInfo.ProtoReflect.Descriptor instead.
func (*SCDiamondBankGetInfo) Descriptor() ([]byte, []int) {
return file_welfare_proto_rawDescGZIP(), []int{41}
}
func (x *SCDiamondBankGetInfo) GetOpRetCode() OpResultCode {
if x != nil {
return x.OpRetCode
}
return OpResultCode_OPRC_Sucess
}
func (x *SCDiamondBankGetInfo) GetBankDiamond() float64 {
if x != nil {
return x.BankDiamond
}
return 0
}
func (x *SCDiamondBankGetInfo) GetTakeTimes() int32 {
if x != nil {
return x.TakeTimes
}
return 0
}
func (x *SCDiamondBankGetInfo) GetBankMaxCoin() int64 {
if x != nil {
return x.BankMaxCoin
}
return 0
}
func (x *SCDiamondBankGetInfo) GetDayBuyMaxCnt() int32 {
if x != nil {
return x.DayBuyMaxCnt
}
return 0
}
func (x *SCDiamondBankGetInfo) GetPrice() int64 {
if x != nil {
return x.Price
}
return 0
}
func (x *SCDiamondBankGetInfo) GetNowPrice() int64 {
if x != nil {
return x.NowPrice
}
return 0
}
func (x *SCDiamondBankGetInfo) GetShopId() int32 {
if x != nil {
return x.ShopId
}
return 0
}
var File_welfare_proto protoreflect.FileDescriptor
var file_welfare_proto_rawDesc = []byte{
@ -2892,7 +3065,7 @@ var file_welfare_proto_rawDesc = []byte{
0x15, 0x2e, 0x77, 0x65, 0x6c, 0x66, 0x61, 0x72, 0x65, 0x2e, 0x4f, 0x70, 0x52, 0x65, 0x73, 0x75,
0x6c, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x09, 0x4f, 0x70, 0x52, 0x65, 0x74, 0x43, 0x6f, 0x64,
0x65, 0x22, 0x12, 0x0a, 0x10, 0x43, 0x53, 0x50, 0x69, 0x67, 0x62, 0x61, 0x6e, 0x6b, 0x47, 0x65,
0x74, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0xe9, 0x01, 0x0a, 0x10, 0x53, 0x43, 0x50, 0x69, 0x67, 0x62,
0x74, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0xff, 0x01, 0x0a, 0x10, 0x53, 0x43, 0x50, 0x69, 0x67, 0x62,
0x61, 0x6e, 0x6b, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x33, 0x0a, 0x09, 0x4f, 0x70,
0x52, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e,
0x77, 0x65, 0x6c, 0x66, 0x61, 0x72, 0x65, 0x2e, 0x4f, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
@ -2907,108 +3080,139 @@ var file_welfare_proto_rawDesc = []byte{
0x52, 0x0b, 0x42, 0x61, 0x6e, 0x6b, 0x4d, 0x61, 0x78, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x22, 0x0a,
0x0c, 0x44, 0x61, 0x79, 0x42, 0x75, 0x79, 0x4d, 0x61, 0x78, 0x43, 0x6e, 0x74, 0x18, 0x06, 0x20,
0x01, 0x28, 0x05, 0x52, 0x0c, 0x44, 0x61, 0x79, 0x42, 0x75, 0x79, 0x4d, 0x61, 0x78, 0x43, 0x6e,
0x74, 0x22, 0x13, 0x0a, 0x11, 0x43, 0x53, 0x50, 0x69, 0x67, 0x62, 0x61, 0x6e, 0x6b, 0x54, 0x61,
0x6b, 0x65, 0x43, 0x6f, 0x69, 0x6e, 0x22, 0xf0, 0x01, 0x0a, 0x11, 0x53, 0x43, 0x50, 0x69, 0x67,
0x62, 0x61, 0x6e, 0x6b, 0x54, 0x61, 0x6b, 0x65, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x33, 0x0a, 0x09,
0x4f, 0x70, 0x52, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
0x15, 0x2e, 0x77, 0x65, 0x6c, 0x66, 0x61, 0x72, 0x65, 0x2e, 0x4f, 0x70, 0x52, 0x65, 0x73, 0x75,
0x6c, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x09, 0x4f, 0x70, 0x52, 0x65, 0x74, 0x43, 0x6f, 0x64,
0x65, 0x12, 0x20, 0x0a, 0x0b, 0x54, 0x61, 0x6b, 0x65, 0x43, 0x6f, 0x69, 0x6e, 0x4e, 0x75, 0x6d,
0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x54, 0x61, 0x6b, 0x65, 0x43, 0x6f, 0x69, 0x6e,
0x4e, 0x75, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x54, 0x61, 0x6b, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x73,
0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x54, 0x61, 0x6b, 0x65, 0x54, 0x69, 0x6d, 0x65,
0x73, 0x12, 0x20, 0x0a, 0x0b, 0x43, 0x6f, 0x73, 0x74, 0x44, 0x69, 0x61, 0x6d, 0x6f, 0x6e, 0x64,
0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x43, 0x6f, 0x73, 0x74, 0x44, 0x69, 0x61, 0x6d,
0x6f, 0x6e, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x42, 0x61, 0x6e, 0x6b, 0x4d, 0x61, 0x78, 0x43, 0x6f,
0x69, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x42, 0x61, 0x6e, 0x6b, 0x4d, 0x61,
0x78, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x44, 0x61, 0x79, 0x42, 0x75, 0x79, 0x4d,
0x61, 0x78, 0x43, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x44, 0x61, 0x79,
0x42, 0x75, 0x79, 0x4d, 0x61, 0x78, 0x43, 0x6e, 0x74, 0x2a, 0x86, 0x02, 0x0a, 0x0c, 0x4f, 0x70,
0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x4f, 0x50,
0x52, 0x43, 0x5f, 0x53, 0x75, 0x63, 0x65, 0x73, 0x73, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x4f,
0x50, 0x52, 0x43, 0x5f, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x4f,
0x50, 0x52, 0x43, 0x5f, 0x4e, 0x6f, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x10, 0x02, 0x12, 0x14, 0x0a,
0x10, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x43, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x6f, 0x4d, 0x6f, 0x72,
0x65, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x45, 0x72, 0x72, 0x43,
0x6f, 0x69, 0x6e, 0x10, 0x04, 0x12, 0x14, 0x0a, 0x10, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x41, 0x6c,
0x72, 0x65, 0x61, 0x64, 0x79, 0x42, 0x69, 0x6e, 0x64, 0x10, 0x05, 0x12, 0x11, 0x0a, 0x0d, 0x4f,
0x50, 0x52, 0x43, 0x5f, 0x42, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x6c, 0x66, 0x10, 0x06, 0x12, 0x11,
0x0a, 0x0d, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x4d, 0x79, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x10,
0x07, 0x12, 0x11, 0x0a, 0x0d, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x4e, 0x6f, 0x74, 0x45, 0x78, 0x69,
0x73, 0x74, 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x44, 0x69, 0x61,
0x6d, 0x6f, 0x6e, 0x64, 0x4c, 0x65, 0x73, 0x73, 0x10, 0x09, 0x12, 0x17, 0x0a, 0x13, 0x4f, 0x50,
0x52, 0x43, 0x5f, 0x50, 0x69, 0x67, 0x62, 0x61, 0x6e, 0x6b, 0x4e, 0x6f, 0x74, 0x46, 0x75, 0x6c,
0x6c, 0x10, 0x0a, 0x12, 0x1d, 0x0a, 0x19, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x50, 0x69, 0x67, 0x62,
0x61, 0x6e, 0x6b, 0x4f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x6b, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x73,
0x10, 0x0b, 0x2a, 0x95, 0x08, 0x0a, 0x09, 0x53, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x49, 0x44,
0x12, 0x14, 0x0a, 0x10, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x48, 0x4f, 0x50, 0x5f,
0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x21, 0x0a, 0x1c, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54,
0x5f, 0x43, 0x53, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x5f, 0x47, 0x45, 0x54, 0x52, 0x45, 0x4c, 0x49,
0x45, 0x46, 0x46, 0x55, 0x4e, 0x44, 0x10, 0x94, 0x14, 0x12, 0x21, 0x0a, 0x1c, 0x50, 0x41, 0x43,
0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x5f, 0x47, 0x45, 0x54, 0x52,
0x45, 0x4c, 0x49, 0x45, 0x46, 0x46, 0x55, 0x4e, 0x44, 0x10, 0x95, 0x14, 0x12, 0x20, 0x0a, 0x1b,
0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x5f, 0x47,
0x45, 0x54, 0x54, 0x55, 0x52, 0x4e, 0x50, 0x4c, 0x41, 0x54, 0x45, 0x10, 0x96, 0x14, 0x12, 0x20,
0x0a, 0x1b, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x57, 0x45, 0x4c, 0x46,
0x5f, 0x47, 0x45, 0x54, 0x54, 0x55, 0x52, 0x4e, 0x50, 0x4c, 0x41, 0x54, 0x45, 0x10, 0x97, 0x14,
0x12, 0x20, 0x0a, 0x1b, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x57, 0x45,
0x4c, 0x46, 0x5f, 0x47, 0x45, 0x54, 0x41, 0x44, 0x44, 0x55, 0x50, 0x53, 0x49, 0x47, 0x4e, 0x10,
0x98, 0x14, 0x12, 0x20, 0x0a, 0x1b, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f,
0x74, 0x12, 0x14, 0x0a, 0x05, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03,
0x52, 0x05, 0x50, 0x72, 0x69, 0x63, 0x65, 0x22, 0x13, 0x0a, 0x11, 0x43, 0x53, 0x50, 0x69, 0x67,
0x62, 0x61, 0x6e, 0x6b, 0x54, 0x61, 0x6b, 0x65, 0x43, 0x6f, 0x69, 0x6e, 0x22, 0x86, 0x02, 0x0a,
0x11, 0x53, 0x43, 0x50, 0x69, 0x67, 0x62, 0x61, 0x6e, 0x6b, 0x54, 0x61, 0x6b, 0x65, 0x43, 0x6f,
0x69, 0x6e, 0x12, 0x33, 0x0a, 0x09, 0x4f, 0x70, 0x52, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18,
0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x77, 0x65, 0x6c, 0x66, 0x61, 0x72, 0x65, 0x2e,
0x4f, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x09, 0x4f, 0x70,
0x52, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x54, 0x61, 0x6b, 0x65, 0x43,
0x6f, 0x69, 0x6e, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x54, 0x61,
0x6b, 0x65, 0x43, 0x6f, 0x69, 0x6e, 0x4e, 0x75, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x54, 0x61, 0x6b,
0x65, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x54, 0x61,
0x6b, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x43, 0x6f, 0x73, 0x74, 0x44,
0x69, 0x61, 0x6d, 0x6f, 0x6e, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x43, 0x6f,
0x73, 0x74, 0x44, 0x69, 0x61, 0x6d, 0x6f, 0x6e, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x42, 0x61, 0x6e,
0x6b, 0x4d, 0x61, 0x78, 0x43, 0x6f, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b,
0x42, 0x61, 0x6e, 0x6b, 0x4d, 0x61, 0x78, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x44,
0x61, 0x79, 0x42, 0x75, 0x79, 0x4d, 0x61, 0x78, 0x43, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28,
0x05, 0x52, 0x0c, 0x44, 0x61, 0x79, 0x42, 0x75, 0x79, 0x4d, 0x61, 0x78, 0x43, 0x6e, 0x74, 0x12,
0x14, 0x0a, 0x05, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
0x50, 0x72, 0x69, 0x63, 0x65, 0x22, 0x16, 0x0a, 0x14, 0x43, 0x53, 0x44, 0x69, 0x61, 0x6d, 0x6f,
0x6e, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x9b, 0x02,
0x0a, 0x14, 0x53, 0x43, 0x44, 0x69, 0x61, 0x6d, 0x6f, 0x6e, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x47,
0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x33, 0x0a, 0x09, 0x4f, 0x70, 0x52, 0x65, 0x74, 0x43,
0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x77, 0x65, 0x6c, 0x66,
0x61, 0x72, 0x65, 0x2e, 0x4f, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x64, 0x65,
0x52, 0x09, 0x4f, 0x70, 0x52, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x42,
0x61, 0x6e, 0x6b, 0x44, 0x69, 0x61, 0x6d, 0x6f, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01,
0x52, 0x0b, 0x42, 0x61, 0x6e, 0x6b, 0x44, 0x69, 0x61, 0x6d, 0x6f, 0x6e, 0x64, 0x12, 0x1c, 0x0a,
0x09, 0x54, 0x61, 0x6b, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05,
0x52, 0x09, 0x54, 0x61, 0x6b, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x42,
0x61, 0x6e, 0x6b, 0x4d, 0x61, 0x78, 0x43, 0x6f, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03,
0x52, 0x0b, 0x42, 0x61, 0x6e, 0x6b, 0x4d, 0x61, 0x78, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x22, 0x0a,
0x0c, 0x44, 0x61, 0x79, 0x42, 0x75, 0x79, 0x4d, 0x61, 0x78, 0x43, 0x6e, 0x74, 0x18, 0x05, 0x20,
0x01, 0x28, 0x05, 0x52, 0x0c, 0x44, 0x61, 0x79, 0x42, 0x75, 0x79, 0x4d, 0x61, 0x78, 0x43, 0x6e,
0x74, 0x12, 0x14, 0x0a, 0x05, 0x50, 0x72, 0x69, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03,
0x52, 0x05, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x4e, 0x6f, 0x77, 0x50, 0x72,
0x69, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x4e, 0x6f, 0x77, 0x50, 0x72,
0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x68, 0x6f, 0x70, 0x49, 0x64, 0x18, 0x08, 0x20,
0x01, 0x28, 0x05, 0x52, 0x06, 0x53, 0x68, 0x6f, 0x70, 0x49, 0x64, 0x2a, 0x86, 0x02, 0x0a, 0x0c,
0x4f, 0x70, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x0f, 0x0a, 0x0b,
0x4f, 0x50, 0x52, 0x43, 0x5f, 0x53, 0x75, 0x63, 0x65, 0x73, 0x73, 0x10, 0x00, 0x12, 0x0e, 0x0a,
0x0a, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x10, 0x01, 0x12, 0x10, 0x0a,
0x0c, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x4e, 0x6f, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x10, 0x02, 0x12,
0x14, 0x0a, 0x10, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x43, 0x6f, 0x69, 0x6e, 0x54, 0x6f, 0x6f, 0x4d,
0x6f, 0x72, 0x65, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x45, 0x72,
0x72, 0x43, 0x6f, 0x69, 0x6e, 0x10, 0x04, 0x12, 0x14, 0x0a, 0x10, 0x4f, 0x50, 0x52, 0x43, 0x5f,
0x41, 0x6c, 0x72, 0x65, 0x61, 0x64, 0x79, 0x42, 0x69, 0x6e, 0x64, 0x10, 0x05, 0x12, 0x11, 0x0a,
0x0d, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x42, 0x69, 0x6e, 0x64, 0x53, 0x65, 0x6c, 0x66, 0x10, 0x06,
0x12, 0x11, 0x0a, 0x0d, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x4d, 0x79, 0x49, 0x6e, 0x76, 0x69, 0x74,
0x65, 0x10, 0x07, 0x12, 0x11, 0x0a, 0x0d, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x4e, 0x6f, 0x74, 0x45,
0x78, 0x69, 0x73, 0x74, 0x10, 0x08, 0x12, 0x14, 0x0a, 0x10, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x44,
0x69, 0x61, 0x6d, 0x6f, 0x6e, 0x64, 0x4c, 0x65, 0x73, 0x73, 0x10, 0x09, 0x12, 0x17, 0x0a, 0x13,
0x4f, 0x50, 0x52, 0x43, 0x5f, 0x50, 0x69, 0x67, 0x62, 0x61, 0x6e, 0x6b, 0x4e, 0x6f, 0x74, 0x46,
0x75, 0x6c, 0x6c, 0x10, 0x0a, 0x12, 0x1d, 0x0a, 0x19, 0x4f, 0x50, 0x52, 0x43, 0x5f, 0x50, 0x69,
0x67, 0x62, 0x61, 0x6e, 0x6b, 0x4f, 0x76, 0x65, 0x72, 0x54, 0x61, 0x6b, 0x65, 0x54, 0x69, 0x6d,
0x65, 0x73, 0x10, 0x0b, 0x2a, 0xa5, 0x09, 0x0a, 0x09, 0x53, 0x50, 0x61, 0x63, 0x6b, 0x65, 0x74,
0x49, 0x44, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x48, 0x4f,
0x50, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x21, 0x0a, 0x1c, 0x50, 0x41, 0x43, 0x4b,
0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x5f, 0x47, 0x45, 0x54, 0x52, 0x45,
0x4c, 0x49, 0x45, 0x46, 0x46, 0x55, 0x4e, 0x44, 0x10, 0x94, 0x14, 0x12, 0x21, 0x0a, 0x1c, 0x50,
0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x5f, 0x47, 0x45,
0x54, 0x52, 0x45, 0x4c, 0x49, 0x45, 0x46, 0x46, 0x55, 0x4e, 0x44, 0x10, 0x95, 0x14, 0x12, 0x20,
0x0a, 0x1b, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x57, 0x45, 0x4c, 0x46,
0x5f, 0x47, 0x45, 0x54, 0x54, 0x55, 0x52, 0x4e, 0x50, 0x4c, 0x41, 0x54, 0x45, 0x10, 0x96, 0x14,
0x12, 0x20, 0x0a, 0x1b, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x57, 0x45,
0x4c, 0x46, 0x5f, 0x47, 0x45, 0x54, 0x54, 0x55, 0x52, 0x4e, 0x50, 0x4c, 0x41, 0x54, 0x45, 0x10,
0x97, 0x14, 0x12, 0x20, 0x0a, 0x1b, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f,
0x57, 0x45, 0x4c, 0x46, 0x5f, 0x47, 0x45, 0x54, 0x41, 0x44, 0x44, 0x55, 0x50, 0x53, 0x49, 0x47,
0x4e, 0x10, 0x99, 0x14, 0x12, 0x1f, 0x0a, 0x1a, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43,
0x53, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x41, 0x52, 0x45, 0x49, 0x4e,
0x46, 0x4f, 0x10, 0x9a, 0x14, 0x12, 0x1f, 0x0a, 0x1a, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f,
0x53, 0x43, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x41, 0x52, 0x45, 0x49,
0x4e, 0x46, 0x4f, 0x10, 0x9b, 0x14, 0x12, 0x1f, 0x0a, 0x1a, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54,
0x5f, 0x43, 0x53, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x5f, 0x42, 0x4c, 0x49, 0x4e, 0x42, 0x4f, 0x58,
0x49, 0x4e, 0x46, 0x4f, 0x10, 0x9c, 0x14, 0x12, 0x1f, 0x0a, 0x1a, 0x50, 0x41, 0x43, 0x4b, 0x45,
0x54, 0x5f, 0x53, 0x43, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x5f, 0x42, 0x4c, 0x49, 0x4e, 0x42, 0x4f,
0x58, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x9d, 0x14, 0x12, 0x1e, 0x0a, 0x19, 0x50, 0x41, 0x43, 0x4b,
0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x5f, 0x47, 0x45, 0x54, 0x42, 0x4c,
0x49, 0x4e, 0x42, 0x4f, 0x58, 0x10, 0x9e, 0x14, 0x12, 0x1e, 0x0a, 0x19, 0x50, 0x41, 0x43, 0x4b,
0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x5f, 0x47, 0x45, 0x54, 0x42, 0x4c,
0x49, 0x4e, 0x42, 0x4f, 0x58, 0x10, 0x9f, 0x14, 0x12, 0x20, 0x0a, 0x1b, 0x50, 0x41, 0x43, 0x4b,
0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x5f, 0x46, 0x49, 0x52, 0x53, 0x54,
0x50, 0x41, 0x59, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0xa0, 0x14, 0x12, 0x20, 0x0a, 0x1b, 0x50, 0x41,
0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x5f, 0x46, 0x49, 0x52,
0x53, 0x54, 0x50, 0x41, 0x59, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0xa1, 0x14, 0x12, 0x1c, 0x0a, 0x17,
0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x5f, 0x46,
0x49, 0x52, 0x53, 0x54, 0x50, 0x41, 0x59, 0x10, 0xa2, 0x14, 0x12, 0x1c, 0x0a, 0x17, 0x50, 0x41,
0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x5f, 0x46, 0x49, 0x52,
0x53, 0x54, 0x50, 0x41, 0x59, 0x10, 0xa3, 0x14, 0x12, 0x21, 0x0a, 0x1c, 0x50, 0x41, 0x43, 0x4b,
0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x49,
0x4e, 0x50, 0x41, 0x59, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0xa4, 0x14, 0x12, 0x21, 0x0a, 0x1c, 0x50,
0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x5f, 0x43, 0x4f,
0x4e, 0x54, 0x49, 0x4e, 0x50, 0x41, 0x59, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0xa5, 0x14, 0x12, 0x1d,
0x0a, 0x18, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x57, 0x45, 0x4c, 0x46,
0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x49, 0x4e, 0x50, 0x41, 0x59, 0x10, 0xa6, 0x14, 0x12, 0x1d, 0x0a,
0x18, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x5f,
0x43, 0x4f, 0x4e, 0x54, 0x49, 0x4e, 0x50, 0x41, 0x59, 0x10, 0xa7, 0x14, 0x12, 0x22, 0x0a, 0x1d,
0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x53, 0x69, 0x67, 0x6e, 0x44, 0x61,
0x79, 0x5f, 0x41, 0x64, 0x64, 0x75, 0x70, 0x32, 0x41, 0x77, 0x61, 0x72, 0x64, 0x10, 0xa8, 0x14,
0x12, 0x22, 0x0a, 0x1d, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x53, 0x69,
0x67, 0x6e, 0x44, 0x61, 0x79, 0x5f, 0x41, 0x64, 0x64, 0x75, 0x70, 0x32, 0x41, 0x77, 0x61, 0x72,
0x64, 0x10, 0xa9, 0x14, 0x12, 0x18, 0x0a, 0x13, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43,
0x53, 0x57, 0x65, 0x6c, 0x66, 0x52, 0x65, 0x6c, 0x69, 0x65, 0x66, 0x10, 0xd4, 0x16, 0x12, 0x18,
0x0a, 0x13, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x57, 0x65, 0x6c, 0x66, 0x52,
0x65, 0x6c, 0x69, 0x65, 0x66, 0x10, 0xd5, 0x16, 0x12, 0x18, 0x0a, 0x13, 0x50, 0x41, 0x43, 0x4b,
0x45, 0x54, 0x5f, 0x43, 0x53, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x10,
0xd6, 0x16, 0x12, 0x18, 0x0a, 0x13, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x49,
0x6e, 0x76, 0x69, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x10, 0xd7, 0x16, 0x12, 0x18, 0x0a, 0x13,
0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x42, 0x69, 0x6e, 0x64, 0x49, 0x6e, 0x76,
0x69, 0x74, 0x65, 0x10, 0xd8, 0x16, 0x12, 0x18, 0x0a, 0x13, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54,
0x5f, 0x53, 0x43, 0x42, 0x69, 0x6e, 0x64, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x10, 0xd9, 0x16,
0x12, 0x1c, 0x0a, 0x17, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x50, 0x69, 0x67,
0x62, 0x61, 0x6e, 0x6b, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x10, 0xde, 0x16, 0x12, 0x1c,
0x0a, 0x17, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x50, 0x69, 0x67, 0x62, 0x61,
0x6e, 0x6b, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x10, 0xdf, 0x16, 0x12, 0x1d, 0x0a, 0x18,
0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x50, 0x69, 0x67, 0x62, 0x61, 0x6e, 0x6b,
0x54, 0x61, 0x6b, 0x65, 0x43, 0x6f, 0x69, 0x6e, 0x10, 0xe0, 0x16, 0x12, 0x1d, 0x0a, 0x18, 0x50,
0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x50, 0x69, 0x67, 0x62, 0x61, 0x6e, 0x6b, 0x54,
0x61, 0x6b, 0x65, 0x43, 0x6f, 0x69, 0x6e, 0x10, 0xe1, 0x16, 0x42, 0x27, 0x5a, 0x25, 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, 0x6c, 0x66,
0x61, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x4e, 0x10, 0x98, 0x14, 0x12, 0x20, 0x0a, 0x1b, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53,
0x43, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x5f, 0x47, 0x45, 0x54, 0x41, 0x44, 0x44, 0x55, 0x50, 0x53,
0x49, 0x47, 0x4e, 0x10, 0x99, 0x14, 0x12, 0x1f, 0x0a, 0x1a, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54,
0x5f, 0x43, 0x53, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x41, 0x52, 0x45,
0x49, 0x4e, 0x46, 0x4f, 0x10, 0x9a, 0x14, 0x12, 0x1f, 0x0a, 0x1a, 0x50, 0x41, 0x43, 0x4b, 0x45,
0x54, 0x5f, 0x53, 0x43, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x41, 0x52,
0x45, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x9b, 0x14, 0x12, 0x1f, 0x0a, 0x1a, 0x50, 0x41, 0x43, 0x4b,
0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x5f, 0x42, 0x4c, 0x49, 0x4e, 0x42,
0x4f, 0x58, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x9c, 0x14, 0x12, 0x1f, 0x0a, 0x1a, 0x50, 0x41, 0x43,
0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x5f, 0x42, 0x4c, 0x49, 0x4e,
0x42, 0x4f, 0x58, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x9d, 0x14, 0x12, 0x1e, 0x0a, 0x19, 0x50, 0x41,
0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x5f, 0x47, 0x45, 0x54,
0x42, 0x4c, 0x49, 0x4e, 0x42, 0x4f, 0x58, 0x10, 0x9e, 0x14, 0x12, 0x1e, 0x0a, 0x19, 0x50, 0x41,
0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x5f, 0x47, 0x45, 0x54,
0x42, 0x4c, 0x49, 0x4e, 0x42, 0x4f, 0x58, 0x10, 0x9f, 0x14, 0x12, 0x20, 0x0a, 0x1b, 0x50, 0x41,
0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x5f, 0x46, 0x49, 0x52,
0x53, 0x54, 0x50, 0x41, 0x59, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0xa0, 0x14, 0x12, 0x20, 0x0a, 0x1b,
0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x5f, 0x46,
0x49, 0x52, 0x53, 0x54, 0x50, 0x41, 0x59, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0xa1, 0x14, 0x12, 0x1c,
0x0a, 0x17, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x57, 0x45, 0x4c, 0x46,
0x5f, 0x46, 0x49, 0x52, 0x53, 0x54, 0x50, 0x41, 0x59, 0x10, 0xa2, 0x14, 0x12, 0x1c, 0x0a, 0x17,
0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x5f, 0x46,
0x49, 0x52, 0x53, 0x54, 0x50, 0x41, 0x59, 0x10, 0xa3, 0x14, 0x12, 0x21, 0x0a, 0x1c, 0x50, 0x41,
0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x5f, 0x43, 0x4f, 0x4e,
0x54, 0x49, 0x4e, 0x50, 0x41, 0x59, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0xa4, 0x14, 0x12, 0x21, 0x0a,
0x1c, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x57, 0x45, 0x4c, 0x46, 0x5f,
0x43, 0x4f, 0x4e, 0x54, 0x49, 0x4e, 0x50, 0x41, 0x59, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0xa5, 0x14,
0x12, 0x1d, 0x0a, 0x18, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x57, 0x45,
0x4c, 0x46, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x49, 0x4e, 0x50, 0x41, 0x59, 0x10, 0xa6, 0x14, 0x12,
0x1d, 0x0a, 0x18, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f, 0x57, 0x45, 0x4c,
0x46, 0x5f, 0x43, 0x4f, 0x4e, 0x54, 0x49, 0x4e, 0x50, 0x41, 0x59, 0x10, 0xa7, 0x14, 0x12, 0x22,
0x0a, 0x1d, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x5f, 0x53, 0x69, 0x67, 0x6e,
0x44, 0x61, 0x79, 0x5f, 0x41, 0x64, 0x64, 0x75, 0x70, 0x32, 0x41, 0x77, 0x61, 0x72, 0x64, 0x10,
0xa8, 0x14, 0x12, 0x22, 0x0a, 0x1d, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x5f,
0x53, 0x69, 0x67, 0x6e, 0x44, 0x61, 0x79, 0x5f, 0x41, 0x64, 0x64, 0x75, 0x70, 0x32, 0x41, 0x77,
0x61, 0x72, 0x64, 0x10, 0xa9, 0x14, 0x12, 0x18, 0x0a, 0x13, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54,
0x5f, 0x43, 0x53, 0x57, 0x65, 0x6c, 0x66, 0x52, 0x65, 0x6c, 0x69, 0x65, 0x66, 0x10, 0xd4, 0x16,
0x12, 0x18, 0x0a, 0x13, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x57, 0x65, 0x6c,
0x66, 0x52, 0x65, 0x6c, 0x69, 0x65, 0x66, 0x10, 0xd5, 0x16, 0x12, 0x18, 0x0a, 0x13, 0x50, 0x41,
0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x49, 0x6e, 0x66,
0x6f, 0x10, 0xd6, 0x16, 0x12, 0x18, 0x0a, 0x13, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53,
0x43, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x10, 0xd7, 0x16, 0x12, 0x18,
0x0a, 0x13, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x42, 0x69, 0x6e, 0x64, 0x49,
0x6e, 0x76, 0x69, 0x74, 0x65, 0x10, 0xd8, 0x16, 0x12, 0x18, 0x0a, 0x13, 0x50, 0x41, 0x43, 0x4b,
0x45, 0x54, 0x5f, 0x53, 0x43, 0x42, 0x69, 0x6e, 0x64, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x10,
0xd9, 0x16, 0x12, 0x1c, 0x0a, 0x17, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x50,
0x69, 0x67, 0x62, 0x61, 0x6e, 0x6b, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x10, 0xde, 0x16,
0x12, 0x1c, 0x0a, 0x17, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x50, 0x69, 0x67,
0x62, 0x61, 0x6e, 0x6b, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x10, 0xdf, 0x16, 0x12, 0x1d,
0x0a, 0x18, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x50, 0x69, 0x67, 0x62, 0x61,
0x6e, 0x6b, 0x54, 0x61, 0x6b, 0x65, 0x43, 0x6f, 0x69, 0x6e, 0x10, 0xe0, 0x16, 0x12, 0x1d, 0x0a,
0x18, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x50, 0x69, 0x67, 0x62, 0x61, 0x6e,
0x6b, 0x54, 0x61, 0x6b, 0x65, 0x43, 0x6f, 0x69, 0x6e, 0x10, 0xe1, 0x16, 0x12, 0x20, 0x0a, 0x1b,
0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x44, 0x69, 0x61, 0x6d, 0x6f, 0x6e, 0x64,
0x42, 0x61, 0x6e, 0x6b, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x10, 0xe2, 0x16, 0x12, 0x20,
0x0a, 0x1b, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x53, 0x43, 0x44, 0x69, 0x61, 0x6d, 0x6f,
0x6e, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x10, 0xe3, 0x16,
0x12, 0x24, 0x0a, 0x1f, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x5f, 0x43, 0x53, 0x44, 0x69, 0x61,
0x6d, 0x6f, 0x6e, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x54, 0x61, 0x6b, 0x65, 0x44, 0x69, 0x61, 0x6d,
0x6f, 0x6e, 0x64, 0x10, 0xe4, 0x16, 0x12, 0x24, 0x0a, 0x1f, 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54,
0x5f, 0x53, 0x43, 0x44, 0x69, 0x61, 0x6d, 0x6f, 0x6e, 0x64, 0x42, 0x61, 0x6e, 0x6b, 0x54, 0x61,
0x6b, 0x65, 0x44, 0x69, 0x61, 0x6d, 0x6f, 0x6e, 0x64, 0x10, 0xe5, 0x16, 0x42, 0x27, 0x5a, 0x25,
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,
0x6c, 0x66, 0x61, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@ -3024,7 +3228,7 @@ func file_welfare_proto_rawDescGZIP() []byte {
}
var file_welfare_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_welfare_proto_msgTypes = make([]protoimpl.MessageInfo, 40)
var file_welfare_proto_msgTypes = make([]protoimpl.MessageInfo, 42)
var file_welfare_proto_goTypes = []interface{}{
(OpResultCode)(0), // 0: welfare.OpResultCode
(SPacketID)(0), // 1: welfare.SPacketID
@ -3068,6 +3272,8 @@ var file_welfare_proto_goTypes = []interface{}{
(*SCPigbankGetInfo)(nil), // 39: welfare.SCPigbankGetInfo
(*CSPigbankTakeCoin)(nil), // 40: welfare.CSPigbankTakeCoin
(*SCPigbankTakeCoin)(nil), // 41: welfare.SCPigbankTakeCoin
(*CSDiamondBankGetInfo)(nil), // 42: welfare.CSDiamondBankGetInfo
(*SCDiamondBankGetInfo)(nil), // 43: welfare.SCDiamondBankGetInfo
}
var file_welfare_proto_depIdxs = []int32{
0, // 0: welfare.SCGetReliefFund.OpRetCode:type_name -> welfare.OpResultCode
@ -3097,11 +3303,12 @@ var file_welfare_proto_depIdxs = []int32{
0, // 24: welfare.SCBindInvite.OpRetCode:type_name -> welfare.OpResultCode
0, // 25: welfare.SCPigbankGetInfo.OpRetCode:type_name -> welfare.OpResultCode
0, // 26: welfare.SCPigbankTakeCoin.OpRetCode:type_name -> welfare.OpResultCode
27, // [27:27] is the sub-list for method output_type
27, // [27:27] is the sub-list for method input_type
27, // [27:27] is the sub-list for extension type_name
27, // [27:27] is the sub-list for extension extendee
0, // [0:27] is the sub-list for field type_name
0, // 27: welfare.SCDiamondBankGetInfo.OpRetCode:type_name -> welfare.OpResultCode
28, // [28:28] is the sub-list for method output_type
28, // [28:28] is the sub-list for method input_type
28, // [28:28] is the sub-list for extension type_name
28, // [28:28] is the sub-list for extension extendee
0, // [0:28] is the sub-list for field type_name
}
func init() { file_welfare_proto_init() }
@ -3590,6 +3797,30 @@ func file_welfare_proto_init() {
return nil
}
}
file_welfare_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CSDiamondBankGetInfo); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_welfare_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SCDiamondBankGetInfo); 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{
@ -3597,7 +3828,7 @@ func file_welfare_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_welfare_proto_rawDesc,
NumEnums: 2,
NumMessages: 40,
NumMessages: 42,
NumExtensions: 0,
NumServices: 0,
},

View File

@ -56,6 +56,13 @@ enum SPacketID {
PACKET_SCPigbankGetInfo = 2911;//
PACKET_CSPigbankTakeCoin = 2912;//
PACKET_SCPigbankTakeCoin = 2913;//
PACKET_CSDiamondBankGetInfo = 2914; //
PACKET_SCDiamondBankGetInfo = 2915; //
PACKET_CSDiamondBankTakeDiamond = 2916; //
PACKET_SCDiamondBankTakeDiamond = 2917; //
}
//
@ -307,6 +314,7 @@ message SCPigbankGetInfo{
int64 CostDiamond = 4; //
int64 BankMaxCoin = 5; //
int32 DayBuyMaxCnt = 6; //
int64 Price = 7; //
}
@ -324,5 +332,23 @@ message SCPigbankTakeCoin{
int64 CostDiamond = 4; //
int64 BankMaxCoin = 5; //
int32 DayBuyMaxCnt = 6; //
int64 Price = 7; //
}
//
//PACKET_CSDiamondBankGetInfo
message CSDiamondBankGetInfo{
}
//
//PACKET_SCDiamondBankGetInfo
message SCDiamondBankGetInfo{
OpResultCode OpRetCode = 1; //
double BankDiamond = 2; //
int32 TakeTimes = 3; //
int64 BankMaxCoin = 4; //
int32 DayBuyMaxCnt = 5; //
int64 Price = 6; //
int64 NowPrice = 7; //
int32 ShopId = 8; //ID
}

View File

@ -1,6 +1,7 @@
package main
import (
"mongo.games.com/game/srvdata"
"time"
"mongo.games.com/goserver/core/basic"
@ -384,6 +385,24 @@ func (this *CSPayInfoHandler) Process(s *netlib.Session, packetid int, data inte
if shopInfo.Page == ShopPageGift {
if !p.CheckWeekCard(shopInfo.Id) {
SendClient(shop.OpResultCode_OPRC_Error)
return nil
}
}
if shopInfo.Page == ShopPageDiamondBank {
// 检查每日领取次数
fGetPropValue := func(propName string) int32 {
pool := srvdata.PBDB_Pigbank_PropMgr.Datas.GetArr()
for _, PropItem := range pool {
if PropItem.PorpName == propName {
return PropItem.PropValue
}
}
return 0
}
DayBuyMaxCnt := fGetPropValue("DayBuyMaxCnt")
if p.WelfData.DiamondBank.DayBuyTimes >= DayBuyMaxCnt {
SendClient(shop.OpResultCode_OPRC_Error)
return nil
}
}
if shopInfo.Page == ShopPageVip {

View File

@ -96,7 +96,7 @@ func (this *CSGetAddupSignHandler) Process(s *netlib.Session, packetid int, data
}
WelfareMgrSington.GetAddupSign(p, msg.GetAddUpDay())
WelfareMgrSington.UpdateAddUp2Date(p, msg.GetAddUpDay(), time.Now().Unix()+3600)
WelfareMgrSington.UpdateAddUp2Date(p, 0, msg.GetAddUpDay(), time.Now().Unix()+3600)
}
return nil
}
@ -513,6 +513,56 @@ func (this *CSSignDayAddup2AwardHandler) Process(s *netlib.Session, packetid int
}
return nil
}
type CSDiamondBankGetInfoPacketFactory struct {
}
type CSDiamondBankGetInfoHandler struct {
}
func (this *CSDiamondBankGetInfoPacketFactory) CreatePacket() interface{} {
pack := &welfare.CSDiamondBankGetInfo{}
return pack
}
func (this *CSDiamondBankGetInfoHandler) Process(s *netlib.Session, packetid int, data interface{}, sid int64) error {
logger.Logger.Trace("CSDiamondBankGetInfo Process recv ", data)
if _, ok := data.(*welfare.CSDiamondBankGetInfo); ok {
p := PlayerMgrSington.GetPlayer(sid)
if p == nil {
logger.Logger.Warnf("CSPigBankTakeCoinHandler p == nil")
return nil
}
WelfareMgrSington.DiamondBankGetInfo(p)
}
return nil
}
/*// 钻石储存罐
type CSDiamondBankTakeDiamondPacketFactory struct {
}
type CSDiamondBankTakeDiamondHandler struct {
}
func (this *CSDiamondBankTakeDiamondPacketFactory) CreatePacket() interface{} {
pack := &welfare.CSDiamondBankTakeDiamond{}
return pack
}
func (this *CSDiamondBankTakeDiamondHandler) Process(s *netlib.Session, packetid int, data interface{}, sid int64) error {
logger.Logger.Trace("CSDiamondBankGetInfo Process recv ", data)
if _, ok := data.(*welfare.CSDiamondBankTakeDiamond); ok {
p := PlayerMgrSington.GetPlayer(sid)
if p == nil {
logger.Logger.Warnf("CSPigBankTakeCoinHandler p == nil")
return nil
}
WelfareMgrSington.DiamondBankTakeCoin(p)
}
return nil
}*/
func init() {
// 领取救济金
common.RegisterHandler(int(welfare.SPacketID_PACKET_CS_WELF_GETRELIEFFUND), &CSGetReliefFundHandler{})
@ -560,4 +610,11 @@ func init() {
//领取七日签到进阶奖励
common.RegisterHandler(int(welfare.SPacketID_PACKET_CS_SignDay_Addup2Award), &CSSignDayAddup2AwardHandler{})
netlib.RegisterFactory(int(welfare.SPacketID_PACKET_CS_SignDay_Addup2Award), &CSSignDayAddup2AwardPacketFactory{})
//钻石储存罐信息
common.RegisterHandler(int(welfare.SPacketID_PACKET_CSDiamondBankGetInfo), &CSDiamondBankGetInfoHandler{})
netlib.RegisterFactory(int(welfare.SPacketID_PACKET_CSDiamondBankGetInfo), &CSDiamondBankGetInfoPacketFactory{})
//领取钻石储存罐
/* common.RegisterHandler(int(welfare.SPacketID_PACKET_CSDiamondBankTakeDiamond), &CSDiamondBankTakeDiamondHandler{})
netlib.RegisterFactory(int(welfare.SPacketID_PACKET_CSDiamondBankTakeDiamond), &CSDiamondBankTakeDiamondPacketFactory{})*/
}

View File

@ -50,6 +50,7 @@ const (
ShopPagePhoneScore = 61 //手机积分商城
ShopPagePhoneScoreGoogle = 62
ShopPageGift = 7 //礼包页面
ShopPageDiamondBank = 8 //钻石存储罐
)
// 商品类型

View File

@ -4105,6 +4105,10 @@ func init() {
}
}
BagMgrSingleton.AddItems(player, items, 0, info.GainWay, "Callback", info.Remark, 0, 0, false)
//钻石存储罐
if info.PageId == ShopPageDiamondBank {
WelfareMgrSington.DiamondBankTakeCoin(player)
}
switch info.Remark {
case "BlindBox":
if len(info.OtherParams) > 0 {

View File

@ -2,6 +2,7 @@ package main
import (
"fmt"
"math"
"time"
"mongo.games.com/goserver/core/logger"
@ -751,7 +752,7 @@ func (this *WelfareMgr) WelfaredInfo(p *Player) {
}
// 更新进阶奖励时间
func (this *WelfareMgr) UpdateAddUp2Date(p *Player, day int32, endTime int64) {
func (this *WelfareMgr) UpdateAddUp2Date(p *Player, count, day int32, endTime int64) {
if p.WelfData.Sign7.Addup2Data == nil {
p.WelfData.Sign7.Addup2Data = make(map[int32]map[int32]int64)
}
@ -772,18 +773,18 @@ func (this *WelfareMgr) UpdateAddUp2Date(p *Player, day int32, endTime int64) {
if addUpDate2Type == nil {
return
}
typeId := addUpDate2Type[0].Id
if p.WelfData.Sign7.Addup2Data[day] == nil {
p.WelfData.Sign7.Addup2Data[day] = make(map[int32]int64)
}
p.WelfData.Sign7.Addup2Data[day][typeId] = endTime
p.WelfData.Sign7.Addup2Data[day] = make(map[int32]int64)
p.WelfData.Sign7.Addup2Data[day][count] = endTime
//通知客户端
pack := &welfare.SCSignDayAddup2Award{}
pack.Day = day
pack.Num = 1
pack.EndTime = p.WelfData.Sign7.Addup2Data[day][typeId]
pack.Num = count
pack.EndTime = p.WelfData.Sign7.Addup2Data[day][count]
logger.Logger.Trace("通知客户端更新进阶奖励时间!!!!!!!!")
p.SendToClient(int(welfare.SPacketID_PACKET_SC_SignDay_Addup2Award), pack)
if !this.Welfareturnplate(p, 0) {
p.SendShowRed(hall_proto.ShowRedCode_Welfare, 0, 1) // 0 轮盘红点
}
}
// 领取进阶奖励
@ -858,7 +859,7 @@ func (this *WelfareMgr) GetAddUp2Award(p *Player, day int32) {
BagMgrSingleton.AddItems(p, items, 0, common.GainWaySign7, "system", "累计签到进阶奖励钻石消耗", 0, 0, false)
}
//通知客户端
this.UpdateAddUp2Date(p, day, EndTime)
this.UpdateAddUp2Date(p, Num, day, EndTime)
}
@ -964,6 +965,7 @@ func (this *WelfareMgr) WelfareSwitch(p *Player, platform string, op int) {
// Welfareturnplate 转盘红点
func (this *WelfareMgr) Welfareturnplate(p *Player, op int32) bool { // 0 红点提示 1全部领取
p.AddDiamond(10000, 0, common.GainWay_Shop_Buy, "system", "")
var isShow bool
info := this.GetConfig(p.Platform)
turnplate := info.WelfareTurnplateDateList
@ -1009,7 +1011,15 @@ func (this *WelfareMgr) Welfareturnplate(p *Player, op int32) bool { // 0 红点
}
}
}
//进阶奖励key1 - day key2-次数 value-结束领取时间戳(-1代表已领取)
for _, data := range p.WelfData.Sign7.Addup2Data {
for _, endTime := range data {
if time.Now().Unix() < endTime && endTime != -1 {
isShow = false // 有未领取进阶奖励
break
}
}
}
}
return isShow
}
@ -1635,7 +1645,7 @@ func (this *WelfareMgr) PigbankGetInfo(p *Player) {
return 0
}
fGetCostDiamond := func(taketimes int32) int64 {
/* fGetCostDiamond := func(taketimes int32) int64 {
pool := srvdata.PBDB_PigBank_DiamondMgr.Datas.GetArr()
for _, data := range pool {
if taketimes >= data.BuyCountMin && taketimes <= data.BuyCountMax {
@ -1643,16 +1653,31 @@ func (this *WelfareMgr) PigbankGetInfo(p *Player) {
}
}
return 0
}*/
pool := srvdata.PBDB_PigBank_DiamondMgr.Datas.GetArr()
infoData := pool[0]
for _, data := range pool {
if p.WelfData.PigBank.DayBuyTimes+1+1 >= data.BuyCountMin && p.WelfData.PigBank.DayBuyTimes+1 <= data.BuyCountMax {
infoData = data
break
}
}
BankMaxCoin := int64(0)
for _, data := range srvdata.PBDB_PigBank_DiamondMgr.Datas.GetArr() {
if p.WelfData.PigBank.DayBuyTimes+1 >= data.BuyCountMin && p.WelfData.PigBank.DayBuyTimes+1 <= data.BuyCountMax {
BankMaxCoin = int64(data.MaxGold)
break
}
}
if p.WelfData != nil && p.WelfData.PigBank != nil {
pack.OpRetCode = welfare.OpResultCode_OPRC_Sucess
pack.BankCoin = p.WelfData.PigBank.BankCoin
pack.TakeTimes = p.WelfData.PigBank.DayBuyTimes
pack.CostDiamond = fGetCostDiamond(p.WelfData.PigBank.DayBuyTimes + 1)
pack.BankMaxCoin = int64(fGetPropValue("BankMaxCoin"))
pack.CostDiamond = int64(infoData.CostDiamond)
pack.BankMaxCoin = BankMaxCoin
pack.DayBuyMaxCnt = fGetPropValue("DayBuyMaxCnt")
pack.Price = int64(infoData.CoinPrice)
logger.Logger.Tracef("PigbankGetInfo snid: %v pack: %v", p.SnId, pack)
p.SendToClient(int(welfare.SPacketID_PACKET_SCPigbankGetInfo), pack)
}
@ -1674,7 +1699,7 @@ func (this *WelfareMgr) PigbankTakeCoin(p *Player) {
return 0
}
fGetCostDiamond := func(taketimes int32) int64 {
/* fGetCostDiamond := func(taketimes int32) int64 {
pool := srvdata.PBDB_PigBank_DiamondMgr.Datas.GetArr()
for _, data := range pool {
if taketimes >= data.BuyCountMin && taketimes <= data.BuyCountMax {
@ -1682,14 +1707,29 @@ func (this *WelfareMgr) PigbankTakeCoin(p *Player) {
}
}
return 0
}*/
pool := srvdata.PBDB_PigBank_DiamondMgr.Datas.GetArr()
infoData := pool[0]
for _, data := range pool {
if p.WelfData.PigBank.DayBuyTimes+1+1 >= data.BuyCountMin && p.WelfData.PigBank.DayBuyTimes+1 <= data.BuyCountMax {
infoData = data
break
}
}
BankMaxCoin := int64(0)
for _, data := range srvdata.PBDB_PigBank_DiamondMgr.Datas.GetArr() {
if p.WelfData.PigBank.DayBuyTimes+1 >= data.BuyCountMin && p.WelfData.PigBank.DayBuyTimes+1 <= data.BuyCountMax {
BankMaxCoin = int64(data.MaxGold)
break
}
}
BankMaxCoin := int64(fGetPropValue("BankMaxCoin"))
DayBuyMaxCnt := fGetPropValue("DayBuyMaxCnt")
if p.WelfData != nil && p.WelfData.PigBank != nil {
pack.CostDiamond = fGetCostDiamond(p.WelfData.PigBank.DayBuyTimes + 1)
pack.CostDiamond = int64(infoData.CostDiamond)
pack.BankMaxCoin = BankMaxCoin
// 检查每日领取次数
@ -1709,7 +1749,7 @@ func (this *WelfareMgr) PigbankTakeCoin(p *Player) {
}
// 先扣钻石
costDiamond := fGetCostDiamond(p.WelfData.PigBank.DayBuyTimes + 1)
costDiamond := int64(infoData.CostDiamond)
if p.Diamond >= costDiamond {
logger.Logger.Trace("开存钱罐消耗钻石", costDiamond)
p.AddDiamond(-costDiamond, 0, common.GainWay_PigrankTakeCoin, "system", "-开存钱罐消耗钻石")
@ -1732,9 +1772,9 @@ func (this *WelfareMgr) PigbankTakeCoin(p *Player) {
p.WelfData.PigBank.DayBuyTimes++
pack.TakeTimes = p.WelfData.PigBank.DayBuyTimes
pack.CostDiamond = fGetCostDiamond(p.WelfData.PigBank.DayBuyTimes + 1)
pack.CostDiamond = int64(infoData.CostDiamond)
pack.DayBuyMaxCnt = DayBuyMaxCnt
pack.Price = int64(infoData.CoinPrice)
logger.Logger.Tracef("PigbankTakeCoin snid: %v pack: %v", p.SnId, pack)
p.SendToClient(int(welfare.SPacketID_PACKET_SCPigbankTakeCoin), pack)
}
@ -1749,6 +1789,108 @@ func (this *WelfareMgr) DayResetPigrank(p *Player) {
this.PigbankGetInfo(p)
}
if p != nil && p.WelfData != nil && p.WelfData.DiamondBank != nil {
p.WelfData.DiamondBank.DayBuyTimes = 0
this.DiamondBankGetInfo(p)
}
}
// 钻石储存罐信息
func (this *WelfareMgr) DiamondBankGetInfo(p *Player) {
pack := &welfare.SCDiamondBankGetInfo{
OpRetCode: welfare.OpResultCode_OPRC_Error,
}
fGetPropValue := func(propName string) int32 {
pool := srvdata.PBDB_Pigbank_PropMgr.Datas.GetArr()
for _, PropItem := range pool {
if PropItem.PorpName == propName {
return PropItem.PropValue
}
}
return 0
}
pool := srvdata.PBDB_PigBank_DiamondMgr.Datas.GetArr()
infoData := pool[0]
for _, data := range pool {
if p.WelfData.DiamondBank.DayBuyTimes+1 >= data.BuyCountMin && p.WelfData.DiamondBank.DayBuyTimes+1 <= data.BuyCountMax {
infoData = data
break
}
}
BankMaxCoin := infoData.MaxDiamond
if p.WelfData != nil && p.WelfData.DiamondBank != nil {
pack.OpRetCode = welfare.OpResultCode_OPRC_Sucess
pack.BankDiamond = p.WelfData.DiamondBank.BankDiamond
pack.TakeTimes = p.WelfData.DiamondBank.DayBuyTimes
pack.BankMaxCoin = int64(BankMaxCoin)
pack.DayBuyMaxCnt = fGetPropValue("DayBuyMaxCntDiamond")
pack.Price = int64(infoData.DiamondPrice)
pack.NowPrice = int64(infoData.DiamondNowPrice)
pack.ShopId = infoData.DiamondId
logger.Logger.Tracef("DiamondBankGetInfo snid: %v pack: %v", p.SnId, pack)
p.SendToClient(int(welfare.SPacketID_PACKET_SCDiamondBankGetInfo), pack)
}
}
// DiamondBankTakeCoin 钻石存钱罐领取钻石
func (this *WelfareMgr) DiamondBankTakeCoin(p *Player) {
pack := &welfare.SCDiamondBankTakeDiamond{
OpRetCode: welfare.OpResultCode_OPRC_Error,
}
fGetPropValue := func(propName string) int32 {
pool := srvdata.PBDB_Pigbank_PropMgr.Datas.GetArr()
for _, PropItem := range pool {
if PropItem.PorpName == propName {
return PropItem.PropValue
}
}
return 0
}
pool := srvdata.PBDB_PigBank_DiamondMgr.Datas.GetArr()
infoData := pool[0]
for _, data := range pool {
if p.WelfData.DiamondBank.DayBuyTimes+1 >= data.BuyCountMin && p.WelfData.DiamondBank.DayBuyTimes+1 <= data.BuyCountMax {
infoData = data
break
}
}
BankMaxDiamond := int64(infoData.MaxDiamond)
DayBuyMaxCnt := fGetPropValue("DayBuyMaxCnt")
if p.WelfData != nil && p.WelfData.PigBank != nil {
pack.BankMaxDiamond = BankMaxDiamond
// 检查每日领取次数
/* if p.WelfData.DiamondBank.DayBuyTimes >= DayBuyMaxCnt {
pack.OpRetCode = welfare.OpResultCode_OPRC_PigbankOverTakeTimes
logger.Logger.Trace("存钱罐领取次数已打上限!")
p.SendToClient(int(welfare.SPacketID_PACKET_SCDiamondBankTakeDiamond), pack)
return
}*/
if p.WelfData.DiamondBank.BankDiamond >= float64(BankMaxDiamond) {
p.WelfData.DiamondBank.BankDiamond = float64(BankMaxDiamond)
}
pack.OpRetCode = welfare.OpResultCode_OPRC_Sucess
addDiamond := int64(math.Ceil(p.WelfData.DiamondBank.BankDiamond))
p.AddDiamond(addDiamond, 0, common.GainWay_PigrankGainDiamond, "sys", "存钱罐领取钻石")
// 领取完之后 设置为0
p.WelfData.DiamondBank.BankDiamond = 0.0
p.WelfData.DiamondBank.TakeTimes++
p.WelfData.DiamondBank.DayBuyTimes++
pack.TakeTimes = p.WelfData.DiamondBank.DayBuyTimes
pack.DayBuyMaxCnt = DayBuyMaxCnt
pack.TakeDiamondNum = float64(addDiamond)
pack.Price = int64(infoData.DiamondPrice)
pack.NowPrice = int64(infoData.DiamondNowPrice)
pack.ShopId = infoData.DiamondId
logger.Logger.Tracef("DiamondBankTakeCoin snid: %v pack: %v", p.SnId, pack)
p.SendToClient(int(welfare.SPacketID_PACKET_SCDiamondBankTakeDiamond), pack)
}
}
func (this *WelfareMgr) Update() {

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.