fix index
This commit is contained in:
parent
945bf3c829
commit
72b287ebfa
|
@ -407,6 +407,12 @@ func (this *SceneStateStartFortuneTiger) OnPlayerOp(s *base.Scene, p *base.Playe
|
||||||
if err == nil {
|
if err == nil {
|
||||||
s.SetGameNowTime(time.Now())
|
s.SetGameNowTime(time.Now())
|
||||||
data = assemble.DataToCli(Response).(assemble.GameEnd)
|
data = assemble.DataToCli(Response).(assemble.GameEnd)
|
||||||
|
|
||||||
|
data.BetSizeIndex = playerEx.BetSizeIndex
|
||||||
|
data.BetLevelIndex = playerEx.BetLevelIndex
|
||||||
|
data.LinesIndex = playerEx.BetLineIndex
|
||||||
|
//data.BaseBetIndex = 1
|
||||||
|
|
||||||
var respinStatus int
|
var respinStatus int
|
||||||
if data.Results[0].ArrSpins[0].Special != nil {
|
if data.Results[0].ArrSpins[0].Special != nil {
|
||||||
sp, _ := json.Marshal(data.Results[0].ArrSpins[0].Special)
|
sp, _ := json.Marshal(data.Results[0].ArrSpins[0].Special)
|
||||||
|
|
|
@ -34,6 +34,7 @@ type GameEnd struct {
|
||||||
BetSizeIndex int64 `json:"bet_size_index"` //选中的单注下标
|
BetSizeIndex int64 `json:"bet_size_index"` //选中的单注下标
|
||||||
BetLevelIndex int64 `json:"bet_level_index"` //选中的等级下标
|
BetLevelIndex int64 `json:"bet_level_index"` //选中的等级下标
|
||||||
LinesIndex int64 `json:"lines_index"` //选中的线数下标
|
LinesIndex int64 `json:"lines_index"` //选中的线数下标
|
||||||
|
BaseBetIndex int64 `json:"base_bet_index"` //选中的下注基数下标
|
||||||
TotalBet float64 `json:"total_bet"` //下注
|
TotalBet float64 `json:"total_bet"` //下注
|
||||||
BetBeforeCoin float64 `json:"bet_before_coin"` //下注前
|
BetBeforeCoin float64 `json:"bet_before_coin"` //下注前
|
||||||
BetAfterCoin float64 `json:"bet_after_coin"` //下注后
|
BetAfterCoin float64 `json:"bet_after_coin"` //下注后
|
||||||
|
|
Binary file not shown.
|
@ -10,79 +10,79 @@ func init() {
|
||||||
FortuneMouseBetBetChangeList = map[int64]*structs.FortuneMouseBetBetChangeList{
|
FortuneMouseBetBetChangeList = map[int64]*structs.FortuneMouseBetBetChangeList{
|
||||||
0: {
|
0: {
|
||||||
Index: 0,
|
Index: 0,
|
||||||
BetChangeList: 0.15,
|
BetChangeList: 150000,
|
||||||
BetSizeIndex: 0,
|
BetSizeIndex: 0,
|
||||||
BetLevelIndex: 0,
|
BetLevelIndex: 0,
|
||||||
},
|
},
|
||||||
1: {
|
1: {
|
||||||
Index: 1,
|
Index: 1,
|
||||||
BetChangeList: 0.3,
|
BetChangeList: 300000,
|
||||||
BetSizeIndex: 0,
|
BetSizeIndex: 0,
|
||||||
BetLevelIndex: 1,
|
BetLevelIndex: 1,
|
||||||
},
|
},
|
||||||
2: {
|
2: {
|
||||||
Index: 2,
|
Index: 2,
|
||||||
BetChangeList: 0.45,
|
BetChangeList: 450000,
|
||||||
BetSizeIndex: 0,
|
BetSizeIndex: 0,
|
||||||
BetLevelIndex: 2,
|
BetLevelIndex: 2,
|
||||||
},
|
},
|
||||||
3: {
|
3: {
|
||||||
Index: 3,
|
Index: 3,
|
||||||
BetChangeList: 0.5,
|
BetChangeList: 500000,
|
||||||
BetSizeIndex: 1,
|
BetSizeIndex: 1,
|
||||||
BetLevelIndex: 0,
|
BetLevelIndex: 0,
|
||||||
},
|
},
|
||||||
4: {
|
4: {
|
||||||
Index: 4,
|
Index: 4,
|
||||||
BetChangeList: 0.75,
|
BetChangeList: 750000,
|
||||||
BetSizeIndex: 0,
|
BetSizeIndex: 0,
|
||||||
BetLevelIndex: 4,
|
BetLevelIndex: 4,
|
||||||
},
|
},
|
||||||
5: {
|
5: {
|
||||||
Index: 5,
|
Index: 5,
|
||||||
BetChangeList: 1.5,
|
BetChangeList: 1500000,
|
||||||
BetSizeIndex: 0,
|
BetSizeIndex: 0,
|
||||||
BetLevelIndex: 9,
|
BetLevelIndex: 9,
|
||||||
},
|
},
|
||||||
6: {
|
6: {
|
||||||
Index: 6,
|
Index: 6,
|
||||||
BetChangeList: 2.5,
|
BetChangeList: 2500000,
|
||||||
BetSizeIndex: 1,
|
BetSizeIndex: 1,
|
||||||
BetLevelIndex: 4,
|
BetLevelIndex: 4,
|
||||||
},
|
},
|
||||||
7: {
|
7: {
|
||||||
Index: 7,
|
Index: 7,
|
||||||
BetChangeList: 4.5,
|
BetChangeList: 4500000,
|
||||||
BetSizeIndex: 3,
|
BetSizeIndex: 3,
|
||||||
BetLevelIndex: 0,
|
BetLevelIndex: 0,
|
||||||
},
|
},
|
||||||
8: {
|
8: {
|
||||||
Index: 8,
|
Index: 8,
|
||||||
BetChangeList: 5,
|
BetChangeList: 5000000,
|
||||||
BetSizeIndex: 1,
|
BetSizeIndex: 1,
|
||||||
BetLevelIndex: 9,
|
BetLevelIndex: 9,
|
||||||
},
|
},
|
||||||
9: {
|
9: {
|
||||||
Index: 9,
|
Index: 9,
|
||||||
BetChangeList: 7.5,
|
BetChangeList: 7500000,
|
||||||
BetSizeIndex: 2,
|
BetSizeIndex: 2,
|
||||||
BetLevelIndex: 4,
|
BetLevelIndex: 4,
|
||||||
},
|
},
|
||||||
10: {
|
10: {
|
||||||
Index: 10,
|
Index: 10,
|
||||||
BetChangeList: 15,
|
BetChangeList: 15000000,
|
||||||
BetSizeIndex: 2,
|
BetSizeIndex: 2,
|
||||||
BetLevelIndex: 9,
|
BetLevelIndex: 9,
|
||||||
},
|
},
|
||||||
11: {
|
11: {
|
||||||
Index: 11,
|
Index: 11,
|
||||||
BetChangeList: 22.5,
|
BetChangeList: 22500000,
|
||||||
BetSizeIndex: 3,
|
BetSizeIndex: 3,
|
||||||
BetLevelIndex: 4,
|
BetLevelIndex: 4,
|
||||||
},
|
},
|
||||||
12: {
|
12: {
|
||||||
Index: 12,
|
Index: 12,
|
||||||
BetChangeList: 45,
|
BetChangeList: 45000000,
|
||||||
BetSizeIndex: 3,
|
BetSizeIndex: 3,
|
||||||
BetLevelIndex: 9,
|
BetLevelIndex: 9,
|
||||||
},
|
},
|
||||||
|
@ -142,19 +142,19 @@ func init() {
|
||||||
FortuneMouseBetBetSize = map[int64]*structs.FortuneMouseBetBetSize{
|
FortuneMouseBetBetSize = map[int64]*structs.FortuneMouseBetBetSize{
|
||||||
0: {
|
0: {
|
||||||
Index: 0,
|
Index: 0,
|
||||||
BetSize: 300,
|
BetSize: 300000000,
|
||||||
},
|
},
|
||||||
1: {
|
1: {
|
||||||
Index: 1,
|
Index: 1,
|
||||||
BetSize: 1000,
|
BetSize: 1000000000,
|
||||||
},
|
},
|
||||||
2: {
|
2: {
|
||||||
Index: 2,
|
Index: 2,
|
||||||
BetSize: 3000,
|
BetSize: 3000000000,
|
||||||
},
|
},
|
||||||
3: {
|
3: {
|
||||||
Index: 3,
|
Index: 3,
|
||||||
BetSize: 9000,
|
BetSize: 9000000000,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue