This commit is contained in:
tomas 2024-11-11 11:51:36 +08:00
parent f8e8a34780
commit c5922dc4fa
2 changed files with 115 additions and 115 deletions

View File

@ -44,89 +44,83 @@ func NewBigRat(s string) *big.Rat {
type ( type (
// BetChangeList comment // BetChangeList comment
BetChangeList struct { BetChangeList struct {
Index int64 Index int64
BetChangeList float64 BetChangeList float64
BetSizeIndex int64 BetSizeIndex int64
BetLevelIndex int64 BetLevelIndex int64
} }
// BetLevel comment // BetLevel comment
BetLevel struct { BetLevel struct {
Index int64 Index int64
BetLevel int64 BetLevel int64
} }
// BetLine comment // BetLine comment
BetLine struct { BetLine struct {
Index int64 Index int64
BetLine int64 BetLine int64
BaseBet int64 BaseBet int64
} }
// BetSize comment // BetSize comment
BetSize struct { BetSize struct {
Index int64 Index int64
BetSize int64 BetSize int64
} }
// CashManiaBetBetLine comment
CashManiaBetBetLine struct {
Index int64
BetLine int64
BaseBet int64
}
// CashManiaItemInfo comment // CashManiaItemInfo comment
CashManiaItemInfo struct { CashManiaItemInfo struct {
Index int64 Index int64
ItemID int64 ItemID int64
Value float64 Value float64
IsMid bool IsMid bool
} }
// CashManiaMidItemInfo comment // CashManiaMidItemInfo comment
CashManiaMidItemInfo struct { CashManiaMidItemInfo struct {
Index int64 Index int64
ItemID int64 ItemID int64
Multi int64 Multi int64
FreeSpinCount int64 FreeSpinCount int64
} }
// CashManiaOthers comment // CashManiaOthers comment
CashManiaOthers struct { CashManiaOthers struct {
BaseWinPro float64 BaseWinPro float64
FreeWinPro float64 FreeWinPro float64
MaxWin int64 MaxWin int64
WinNudgePro float64 WinNudgePro float64
WinRespinPro float64 WinRespinPro float64
NoWinNudgePro float64 NoWinNudgePro float64
NoWinRespinPro float64 NoWinRespinPro float64
} }
// CashManiaRandomItemWeight comment // CashManiaRandomItemWeight comment
CashManiaRandomItemWeight struct { CashManiaRandomItemWeight struct {
ID int64 ID int64
ItemID int64 ItemID int64
BaseWeight float64 BaseWeight float64
FreeWeight float64 FreeWeight float64
} }
// FirstBet comment // FirstBet comment
FirstBet struct { FirstBet struct {
Index int64 Index int64
BetSizeIndex int64 BetSizeIndex int64
BetLevelIndex int64 BetLevelIndex int64
} }
// Formation comment // Formation comment
Formation struct { Formation struct {
SpinType int64 SpinType int64
NodeType string NodeType string
ID int64 ID int64
SeqID int64 SeqID int64
Reel string Reel string
Matrix string Matrix string
Symbol string Symbol string
FirstInitMethod int64 FirstInitMethod int64
OtherInitMethod int64 OtherInitMethod int64
FirstInitSymbols []int64 FirstInitSymbols []int64
OtherInitSymbols []int64 OtherInitSymbols []int64
} }
// FortuneDragonBaseMultiplier comment // FortuneDragonBaseMultiplier comment
FortuneDragonBaseMultiplier struct { FortuneDragonBaseMultiplier struct {
WinRateMin float64 WinRateMin float64
WinRateMax float64 WinRateMax float64
ItemIds []int64 ItemIds []int64
MultiplierWeights []int64 MultiplierWeights []int64
} }
// FortuneDragonFreeMultiplier comment // FortuneDragonFreeMultiplier comment
@ -137,113 +131,113 @@ type (
// FortuneDragonFreeMultiplierCount comment // FortuneDragonFreeMultiplierCount comment
FortuneDragonFreeMultiplierCount struct { FortuneDragonFreeMultiplierCount struct {
MultiplierCount int64 MultiplierCount int64
Weight int64 Weight int64
} }
// FortuneDragonOthers comment // FortuneDragonOthers comment
FortuneDragonOthers struct { FortuneDragonOthers struct {
FreespinTriggerPro float64 FreespinTriggerPro float64
FreeSpinCount int64 FreeSpinCount int64
MaxWin int64 MaxWin int64
SureWinFreespinTriggerPro float64 SureWinFreespinTriggerPro float64
SureWinBetMultiplier int64 SureWinBetMultiplier int64
} }
// FortuneMouseOthers comment // FortuneMouseOthers comment
FortuneMouseOthers struct { FortuneMouseOthers struct {
RespinTriggerPro float64 RespinTriggerPro float64
MaxWin int64 MaxWin int64
ExtraWin int64 ExtraWin int64
} }
// FortuneOxOthers comment // FortuneOxOthers comment
FortuneOxOthers struct { FortuneOxOthers struct {
RespinTriggerPro float64 RespinTriggerPro float64
Multiplier int64 Multiplier int64
MaxWin int64 MaxWin int64
} }
// FortuneRabbitCashPrizeWeight comment // FortuneRabbitCashPrizeWeight comment
FortuneRabbitCashPrizeWeight struct { FortuneRabbitCashPrizeWeight struct {
ID int64 ID int64
PrizeValue float64 PrizeValue float64
Weight float64 Weight float64
NoWinWeight float64 NoWinWeight float64
} }
// FortuneRabbitForceCashCountWeight comment // FortuneRabbitForceCashCountWeight comment
FortuneRabbitForceCashCountWeight struct { FortuneRabbitForceCashCountWeight struct {
ID int64 ID int64
Count int64 Count int64
Weight float64 Weight float64
} }
// FortuneRabbitOthers comment // FortuneRabbitOthers comment
FortuneRabbitOthers struct { FortuneRabbitOthers struct {
FreespinTriggerPro float64 FreespinTriggerPro float64
FreeSpinCount int64 FreeSpinCount int64
MaxWin int64 MaxWin int64
} }
// JackpotPrize comment // JackpotPrize comment
JackpotPrize struct { JackpotPrize struct {
PrizeType int64 PrizeType int64
PipeIn int64 PipeIn int64
StartPoint int64 StartPoint int64
IsRolling bool IsRolling bool
RollingTime int64 RollingTime int64
ReducePercent int64 ReducePercent int64
JackpotLimitByTotalBet int64 JackpotLimitByTotalBet int64
} }
// MapRTPMode comment // MapRTPMode comment
MapRTPMode struct { MapRTPMode struct {
ID int64 ID int64
TypeWeight map[int64]*MapRTPModeTypeWeight TypeWeight map[int64]*MapRTPModeTypeWeight
Desc string Desc string
Rtp float64 Rtp float64
} }
// MapRTPModeTypeWeight comment // MapRTPModeTypeWeight comment
MapRTPModeTypeWeight struct { MapRTPModeTypeWeight struct {
ID int64 ID int64
Weight int64 Weight int64
} }
// Matrix comment // Matrix comment
Matrix struct { Matrix struct {
Type string Type string
LinkType int64 LinkType int64
Direction int64 Direction int64
LineCount int64 LineCount int64
Lines [][]int64 Lines [][]int64
Form []int64 Form []int64
} }
// OptAuthenticate comment // OptAuthenticate comment
OptAuthenticate struct { OptAuthenticate struct {
Flag string Flag string
Order int64 Order int64
ValidValues []string ValidValues []string
InvalidValues []string InvalidValues []string
} }
// OptGroup comment // OptGroup comment
OptGroup struct { OptGroup struct {
ID int64 ID int64
Batch int64 Batch int64
IsNewPlayer bool IsNewPlayer bool
StartTime string StartTime string
EndTime string EndTime string
Affect []int64 Affect []int64
Weight []int64 Weight []int64
} }
// PrizeModel comment // PrizeModel comment
PrizeModel struct { PrizeModel struct {
ID int64 ID int64
AniType string AniType string
MinMultiple int64 MinMultiple int64
MaxMultiple int64 MaxMultiple int64
} }
// Scatter comment // Scatter comment
Scatter struct { Scatter struct {
ScatterCount int64 ScatterCount int64
FreeSpinBouts int64 FreeSpinBouts int64
FreeSpinExtraBouts int64 FreeSpinExtraBouts int64
BasePayrate int64 BasePayrate int64
FreePayrate int64 FreePayrate int64
} }
// ScatterFreeChoose comment // ScatterFreeChoose comment
ScatterFreeChoose struct { ScatterFreeChoose struct {
ID int64 ID int64
FreeSpinTimes int64 FreeSpinTimes int64
TouchTimesMin int64 TouchTimesMin int64
TouchTimesMax int64 TouchTimesMax int64
@ -251,38 +245,43 @@ type (
// SimulatorFSMultiLevel comment // SimulatorFSMultiLevel comment
SimulatorFSMultiLevel struct { SimulatorFSMultiLevel struct {
Level int64 Level int64
Min int64 Min int64
Max int64 Max int64
} }
// SuperStackWeight comment // SuperStackWeight comment
SuperStackWeight struct { SuperStackWeight struct {
ID int64 ID int64
ItemID int64 ItemID int64
Weight float64 Weight float64
} }
// Symbol comment // Symbol comment
Symbol struct { Symbol struct {
ID int64 ID int64
Name string Name string
IsWild bool IsWild bool
Group []int64 Group []int64
PayRate []int64 PayRate []int64
ClientOrder int64 ClientOrder int64
ClientDsc string ClientDsc string
} }
// SymbolBetRatio comment // SymbolBetRatio comment
SymbolBetRatio struct { SymbolBetRatio struct {
BetRatio float64 BetRatio float64
} }
// TestBetBetLine comment
TestBetBetLine struct {
Index int64
BetLine int64
}
// TestRandomWeight comment // TestRandomWeight comment
TestRandomWeight struct { TestRandomWeight struct {
ID int64 ID int64
Time float64 Time float64
Weight float64 Weight float64
} }
// Text comment // Text comment
Text struct { Text struct {
Type string Type string
Texts []*TextTexts Texts []*TextTexts
} }
// TextTexts comment // TextTexts comment
@ -292,25 +291,25 @@ type (
} }
// Vector comment // Vector comment
Vector struct { Vector struct {
Choice int64 Choice int64
Ratio float64 Ratio float64
Vector []int64 Vector []int64
Procedure string Procedure string
} }
// VectorDemand comment // VectorDemand comment
VectorDemand struct { VectorDemand struct {
Choice int64 Choice int64
MinRatio float64 MinRatio float64
MaxRatio float64 MaxRatio float64
Procedure string Procedure string
Count int64 Count int64
} }
// VectorForceWin comment // VectorForceWin comment
VectorForceWin struct { VectorForceWin struct {
Choice int64 Choice int64
MinRatio float64 MinRatio float64
MaxRatio float64 MaxRatio float64
Weight float64 Weight float64
} }
// CashManiaBetBetChangeList comment // CashManiaBetBetChangeList comment
CashManiaBetBetChangeList = BetChangeList CashManiaBetBetChangeList = BetChangeList
@ -318,6 +317,9 @@ type (
// CashManiaBetBetLevel comment // CashManiaBetBetLevel comment
CashManiaBetBetLevel = BetLevel CashManiaBetBetLevel = BetLevel
// CashManiaBetBetLine comment
CashManiaBetBetLine = BetLine
// CashManiaBetBetSize comment // CashManiaBetBetSize comment
CashManiaBetBetSize = BetSize CashManiaBetBetSize = BetSize
@ -355,7 +357,7 @@ type (
FortuneDragonBetBetLevel = BetLevel FortuneDragonBetBetLevel = BetLevel
// FortuneDragonBetBetLine comment // FortuneDragonBetBetLine comment
FortuneDragonBetBetLine = CashManiaBetBetLine FortuneDragonBetBetLine = BetLine
// FortuneDragonBetBetSize comment // FortuneDragonBetBetSize comment
FortuneDragonBetBetSize = BetSize FortuneDragonBetBetSize = BetSize
@ -385,7 +387,7 @@ type (
FortuneMouseBetBetLevel = BetLevel FortuneMouseBetBetLevel = BetLevel
// FortuneMouseBetBetLine comment // FortuneMouseBetBetLine comment
FortuneMouseBetBetLine = CashManiaBetBetLine FortuneMouseBetBetLine = BetLine
// FortuneMouseBetBetSize comment // FortuneMouseBetBetSize comment
FortuneMouseBetBetSize = BetSize FortuneMouseBetBetSize = BetSize
@ -418,7 +420,7 @@ type (
FortuneOxBetBetLevel = BetLevel FortuneOxBetBetLevel = BetLevel
// FortuneOxBetBetLine comment // FortuneOxBetBetLine comment
FortuneOxBetBetLine = CashManiaBetBetLine FortuneOxBetBetLine = BetLine
// FortuneOxBetBetSize comment // FortuneOxBetBetSize comment
FortuneOxBetBetSize = BetSize FortuneOxBetBetSize = BetSize
@ -454,7 +456,7 @@ type (
FortuneRabbitBetBetLevel = BetLevel FortuneRabbitBetBetLevel = BetLevel
// FortuneRabbitBetBetLine comment // FortuneRabbitBetBetLine comment
FortuneRabbitBetBetLine = CashManiaBetBetLine FortuneRabbitBetBetLine = BetLine
// FortuneRabbitBetBetSize comment // FortuneRabbitBetBetSize comment
FortuneRabbitBetBetSize = BetSize FortuneRabbitBetBetSize = BetSize
@ -490,7 +492,7 @@ type (
FortuneTigerBetBetLevel = BetLevel FortuneTigerBetBetLevel = BetLevel
// FortuneTigerBetBetLine comment // FortuneTigerBetBetLine comment
FortuneTigerBetBetLine = CashManiaBetBetLine FortuneTigerBetBetLine = BetLine
// FortuneTigerBetBetSize comment // FortuneTigerBetBetSize comment
FortuneTigerBetBetSize = BetSize FortuneTigerBetBetSize = BetSize
@ -789,9 +791,6 @@ type (
// TestBetBetLevel comment // TestBetBetLevel comment
TestBetBetLevel = BetLevel TestBetBetLevel = BetLevel
// TestBetBetLine comment
TestBetBetLine = BetLine
// TestBetBetSize comment // TestBetBetSize comment
TestBetBetSize = BetSize TestBetBetSize = BetSize
@ -812,4 +811,5 @@ type (
// TestSymbolBetRatio comment // TestSymbolBetRatio comment
TestSymbolBetRatio = SymbolBetRatio TestSymbolBetRatio = SymbolBetRatio
) )