add scatterwin
This commit is contained in:
parent
be46582653
commit
3021489f5a
|
@ -110,6 +110,6 @@ func response2NodeTree(NodeTree *shared.LiteNodeTree) *shared.Result {
|
|||
res.FreeNumTrigger = customFortune.FreeNumTrigger
|
||||
res.FreeNumMax = customFortune.FreeNumMax
|
||||
res.FreeNum = customFortune.FreeSpinNum
|
||||
|
||||
res.ScatterWin = float64(customFortune.ScatterWin)
|
||||
return res
|
||||
}
|
||||
|
|
|
@ -14,6 +14,7 @@ func SpinRes2Dto(spinRes shared.GameEndDto) (spinResDto GameEnd) {
|
|||
spinResDto.Results[i].FreeNum = result.FreeNum
|
||||
spinResDto.Results[i].FreeNumMax = result.FreeNumMax
|
||||
spinResDto.Results[i].FreeNumTrigger = result.FreeNumTrigger
|
||||
spinResDto.Results[i].ScatterWin = result.ScatterWin / CoinRate
|
||||
spinResDto.Results[i].TotalReward = result.TotalReward / CoinRate
|
||||
spinResDto.Results[i].TotalRewardBase = result.TotalRewardBase / CoinRate
|
||||
spinResDto.Results[i].BetMode = result.BetMode
|
||||
|
|
|
@ -18,15 +18,16 @@ type ArrSpins struct {
|
|||
Special interface{} `json:"special"` //null
|
||||
}
|
||||
type Result struct {
|
||||
ArrSpins []ArrSpins `json:"arr_spins"`
|
||||
WinStatus int `json:"win_status"` //0.无特效 1.bigWin(5) 2.megaWin(10) 3.superWin(20) 4.epicWin(1000000000)
|
||||
FreeStatus int `json:"free_status"` //0.none trigger = 1, retrigger = 2, over = 3,
|
||||
FreeNum int64 `json:"free_num"` //剩余free数量
|
||||
FreeNumMax int64 `json:"free_num_max"` //最大的free数量
|
||||
FreeNumTrigger int64 `json:"free_num_trigger"` //新增的free数量
|
||||
TotalReward float64 `json:"total_reward"` //总奖
|
||||
TotalRewardBase float64 `json:"total_reward_base"` //基础奖
|
||||
BetMode int64 `json:"bet_mode"` //0.常规 1.必中
|
||||
ArrSpins []ArrSpins `json:"ss"`
|
||||
WinStatus int `json:"ws"` //0.无特效 1.bigWin(5) 2.megaWin(10) 3.superWin(20) 4.epicWin(1000000000)
|
||||
FreeStatus int `json:"fss"` //0.none trigger = 1, retrigger = 2, over = 3,
|
||||
FreeNum int64 `json:"fn"` //剩余free数量
|
||||
FreeNumMax int64 `json:"fm"` //最大的free数量
|
||||
FreeNumTrigger int64 `json:"ft"` //新增的free数量
|
||||
ScatterWin float64 `json:"sw"`
|
||||
TotalReward float64 `json:"tr"` //总奖
|
||||
TotalRewardBase float64 `json:"trb"` //基础奖
|
||||
BetMode int64 `json:"bm"` //0.常规 1.必中
|
||||
}
|
||||
type GameEnd struct {
|
||||
Results []Result `json:"results"`
|
||||
|
|
|
@ -35,11 +35,12 @@ type ArrSpins struct {
|
|||
|
||||
type Result struct {
|
||||
ArrSpins []*ArrSpins `json:"arrSpins"`
|
||||
WinStatus int `json:"winStatus"` //0.无特效 1.bigWin(5) 2.megaWin(10) 3.superWin(20) 4.epicWin(1000000000)
|
||||
FreeStatus int `json:"freeStatus"` //0.正常 1.激活 2.再次激活 3.结束
|
||||
FreeNum int64 `json:"freeNum"` //剩余free数量
|
||||
FreeNumMax int64 `json:"freeNumMax"` //最大的free数量
|
||||
FreeNumTrigger int64 `json:"freeNumTrigger"` //新增的free数量
|
||||
WinStatus int `json:"winStatus"` //0.无特效 1.bigWin(5) 2.megaWin(10) 3.superWin(20) 4.epicWin(1000000000)
|
||||
FreeStatus int `json:"freeStatus"` //0.正常 1.激活 2.再次激活 3.结束
|
||||
FreeNum int64 `json:"freeNum"` //剩余free数量
|
||||
FreeNumMax int64 `json:"freeNumMax"` //最大的free数量
|
||||
FreeNumTrigger int64 `json:"freeNumTrigger"` //新增的free数量
|
||||
ScatterWin float64 `json:"scatter_win"`
|
||||
TotalReward float64 `json:"totalReward"` //总奖
|
||||
TotalRewardBase float64 `json:"totalRewardBase"` //基础奖 只有连线
|
||||
BetMode int64 `json:"bm"` //0.常规 1.必中
|
||||
|
|
|
@ -40,7 +40,7 @@ type CustomFortune struct {
|
|||
|
||||
Multiple int64 `json:"multiple"` //倍乘倍数
|
||||
|
||||
FreeStatus int `json:"fs"`
|
||||
FreeStatus int `json:"fss"`
|
||||
FreeSpinNum int64 `json:"fsn"` //剩余freespin
|
||||
FreeNumMax int64 `json:"fnm"` //总次数
|
||||
FreeNumTrigger int64 `json:"fnt"` //新增freespin
|
||||
|
|
|
@ -17,7 +17,7 @@ func (p *PluginSpecial) Theme() string {
|
|||
|
||||
// Special
|
||||
type Special struct {
|
||||
FreeStatus int `json:"fs"`
|
||||
FreeStatus int `json:"fss"`
|
||||
FreeSpinNum int64 `json:"fsn"` //剩余freespin
|
||||
FreeNumMax int64 `json:"fnm"` //总次数
|
||||
FreeNumTrigger int64 `json:"fnt"` //新增freespin
|
||||
|
|
|
@ -22,7 +22,7 @@ const (
|
|||
)
|
||||
|
||||
type CustomFortune struct {
|
||||
FreeStatus int `json:"fs"`
|
||||
FreeStatus int `json:"fss"`
|
||||
FreeSpinNum int64 `json:"fsn"` //剩余freespin
|
||||
FreeNumMax int64 `json:"fnm"` //总次数
|
||||
FreeNumTrigger int64 `json:"fnt"` //新增freespin
|
||||
|
|
Loading…
Reference in New Issue