|
|
|
@ -44,88 +44,89 @@ func NewBigRat(s string) *big.Rat {
|
|
|
|
|
type (
|
|
|
|
|
// BetChangeList comment
|
|
|
|
|
BetChangeList struct {
|
|
|
|
|
Index int64
|
|
|
|
|
Index int64
|
|
|
|
|
BetChangeList float64
|
|
|
|
|
BetSizeIndex int64
|
|
|
|
|
BetSizeIndex int64
|
|
|
|
|
BetLevelIndex int64
|
|
|
|
|
}
|
|
|
|
|
// BetLevel comment
|
|
|
|
|
BetLevel struct {
|
|
|
|
|
Index int64
|
|
|
|
|
Index int64
|
|
|
|
|
BetLevel int64
|
|
|
|
|
}
|
|
|
|
|
// BetLine comment
|
|
|
|
|
BetLine struct {
|
|
|
|
|
Index int64
|
|
|
|
|
Index int64
|
|
|
|
|
BetLine int64
|
|
|
|
|
BaseBet int64
|
|
|
|
|
}
|
|
|
|
|
// BetSize comment
|
|
|
|
|
BetSize struct {
|
|
|
|
|
Index int64
|
|
|
|
|
Index int64
|
|
|
|
|
BetSize int64
|
|
|
|
|
}
|
|
|
|
|
// CashManiaBetBetLine comment
|
|
|
|
|
CashManiaBetBetLine struct {
|
|
|
|
|
Index int64
|
|
|
|
|
Index int64
|
|
|
|
|
BetLine int64
|
|
|
|
|
BaseBet int64
|
|
|
|
|
}
|
|
|
|
|
// CashManiaItemInfo comment
|
|
|
|
|
CashManiaItemInfo struct {
|
|
|
|
|
Index int64
|
|
|
|
|
Index int64
|
|
|
|
|
ItemID int64
|
|
|
|
|
Value float64
|
|
|
|
|
IsMid bool
|
|
|
|
|
Value float64
|
|
|
|
|
IsMid bool
|
|
|
|
|
}
|
|
|
|
|
// CashManiaMidItemInfo comment
|
|
|
|
|
CashManiaMidItemInfo struct {
|
|
|
|
|
Index int64
|
|
|
|
|
ItemID int64
|
|
|
|
|
Multi int64
|
|
|
|
|
Index int64
|
|
|
|
|
ItemID int64
|
|
|
|
|
Multi int64
|
|
|
|
|
FreeSpinCount int64
|
|
|
|
|
}
|
|
|
|
|
// CashManiaOthers comment
|
|
|
|
|
CashManiaOthers struct {
|
|
|
|
|
BaseWinPro float64
|
|
|
|
|
FreeWinPro float64
|
|
|
|
|
MaxWin int64
|
|
|
|
|
WinNudgePro float64
|
|
|
|
|
WinRespinPro float64
|
|
|
|
|
NoWinNudgePro float64
|
|
|
|
|
BaseWinPro float64
|
|
|
|
|
FreeWinPro float64
|
|
|
|
|
MaxWin int64
|
|
|
|
|
WinNudgePro float64
|
|
|
|
|
WinRespinPro float64
|
|
|
|
|
NoWinNudgePro float64
|
|
|
|
|
NoWinRespinPro float64
|
|
|
|
|
}
|
|
|
|
|
// CashManiaRandomItemWeight comment
|
|
|
|
|
CashManiaRandomItemWeight struct {
|
|
|
|
|
ID int64
|
|
|
|
|
ItemID int64
|
|
|
|
|
ID int64
|
|
|
|
|
ItemID int64
|
|
|
|
|
BaseWeight float64
|
|
|
|
|
FreeWeight float64
|
|
|
|
|
}
|
|
|
|
|
// FirstBet comment
|
|
|
|
|
FirstBet struct {
|
|
|
|
|
Index int64
|
|
|
|
|
BetSizeIndex int64
|
|
|
|
|
Index int64
|
|
|
|
|
BetSizeIndex int64
|
|
|
|
|
BetLevelIndex int64
|
|
|
|
|
}
|
|
|
|
|
// Formation comment
|
|
|
|
|
Formation struct {
|
|
|
|
|
SpinType int64
|
|
|
|
|
NodeType string
|
|
|
|
|
ID int64
|
|
|
|
|
SeqID int64
|
|
|
|
|
Reel string
|
|
|
|
|
Matrix string
|
|
|
|
|
Symbol string
|
|
|
|
|
FirstInitMethod int64
|
|
|
|
|
OtherInitMethod int64
|
|
|
|
|
SpinType int64
|
|
|
|
|
NodeType string
|
|
|
|
|
ID int64
|
|
|
|
|
SeqID int64
|
|
|
|
|
Reel string
|
|
|
|
|
Matrix string
|
|
|
|
|
Symbol string
|
|
|
|
|
FirstInitMethod int64
|
|
|
|
|
OtherInitMethod int64
|
|
|
|
|
FirstInitSymbols []int64
|
|
|
|
|
OtherInitSymbols []int64
|
|
|
|
|
}
|
|
|
|
|
// FortuneDragonBaseMultiplier comment
|
|
|
|
|
FortuneDragonBaseMultiplier struct {
|
|
|
|
|
WinRateMin float64
|
|
|
|
|
WinRateMax float64
|
|
|
|
|
ItemIds []int64
|
|
|
|
|
WinRateMin float64
|
|
|
|
|
WinRateMax float64
|
|
|
|
|
ItemIds []int64
|
|
|
|
|
MultiplierWeights []int64
|
|
|
|
|
}
|
|
|
|
|
// FortuneDragonFreeMultiplier comment
|
|
|
|
@ -136,113 +137,113 @@ type (
|
|
|
|
|
// FortuneDragonFreeMultiplierCount comment
|
|
|
|
|
FortuneDragonFreeMultiplierCount struct {
|
|
|
|
|
MultiplierCount int64
|
|
|
|
|
Weight int64
|
|
|
|
|
Weight int64
|
|
|
|
|
}
|
|
|
|
|
// FortuneDragonOthers comment
|
|
|
|
|
FortuneDragonOthers struct {
|
|
|
|
|
FreespinTriggerPro float64
|
|
|
|
|
FreeSpinCount int64
|
|
|
|
|
MaxWin int64
|
|
|
|
|
FreespinTriggerPro float64
|
|
|
|
|
FreeSpinCount int64
|
|
|
|
|
MaxWin int64
|
|
|
|
|
SureWinFreespinTriggerPro float64
|
|
|
|
|
SureWinBetMultiplier int64
|
|
|
|
|
SureWinBetMultiplier int64
|
|
|
|
|
}
|
|
|
|
|
// FortuneMouseOthers comment
|
|
|
|
|
FortuneMouseOthers struct {
|
|
|
|
|
RespinTriggerPro float64
|
|
|
|
|
MaxWin int64
|
|
|
|
|
ExtraWin int64
|
|
|
|
|
MaxWin int64
|
|
|
|
|
ExtraWin int64
|
|
|
|
|
}
|
|
|
|
|
// FortuneOxOthers comment
|
|
|
|
|
FortuneOxOthers struct {
|
|
|
|
|
RespinTriggerPro float64
|
|
|
|
|
Multiplier int64
|
|
|
|
|
MaxWin int64
|
|
|
|
|
Multiplier int64
|
|
|
|
|
MaxWin int64
|
|
|
|
|
}
|
|
|
|
|
// FortuneRabbitCashPrizeWeight comment
|
|
|
|
|
FortuneRabbitCashPrizeWeight struct {
|
|
|
|
|
ID int64
|
|
|
|
|
PrizeValue float64
|
|
|
|
|
Weight float64
|
|
|
|
|
ID int64
|
|
|
|
|
PrizeValue float64
|
|
|
|
|
Weight float64
|
|
|
|
|
NoWinWeight float64
|
|
|
|
|
}
|
|
|
|
|
// FortuneRabbitForceCashCountWeight comment
|
|
|
|
|
FortuneRabbitForceCashCountWeight struct {
|
|
|
|
|
ID int64
|
|
|
|
|
Count int64
|
|
|
|
|
ID int64
|
|
|
|
|
Count int64
|
|
|
|
|
Weight float64
|
|
|
|
|
}
|
|
|
|
|
// FortuneRabbitOthers comment
|
|
|
|
|
FortuneRabbitOthers struct {
|
|
|
|
|
FreespinTriggerPro float64
|
|
|
|
|
FreeSpinCount int64
|
|
|
|
|
MaxWin int64
|
|
|
|
|
FreeSpinCount int64
|
|
|
|
|
MaxWin int64
|
|
|
|
|
}
|
|
|
|
|
// JackpotPrize comment
|
|
|
|
|
JackpotPrize struct {
|
|
|
|
|
PrizeType int64
|
|
|
|
|
PipeIn int64
|
|
|
|
|
StartPoint int64
|
|
|
|
|
IsRolling bool
|
|
|
|
|
RollingTime int64
|
|
|
|
|
ReducePercent int64
|
|
|
|
|
PrizeType int64
|
|
|
|
|
PipeIn int64
|
|
|
|
|
StartPoint int64
|
|
|
|
|
IsRolling bool
|
|
|
|
|
RollingTime int64
|
|
|
|
|
ReducePercent int64
|
|
|
|
|
JackpotLimitByTotalBet int64
|
|
|
|
|
}
|
|
|
|
|
// MapRTPMode comment
|
|
|
|
|
MapRTPMode struct {
|
|
|
|
|
ID int64
|
|
|
|
|
ID int64
|
|
|
|
|
TypeWeight map[int64]*MapRTPModeTypeWeight
|
|
|
|
|
Desc string
|
|
|
|
|
Rtp float64
|
|
|
|
|
Desc string
|
|
|
|
|
Rtp float64
|
|
|
|
|
}
|
|
|
|
|
// MapRTPModeTypeWeight comment
|
|
|
|
|
MapRTPModeTypeWeight struct {
|
|
|
|
|
ID int64
|
|
|
|
|
ID int64
|
|
|
|
|
Weight int64
|
|
|
|
|
}
|
|
|
|
|
// Matrix comment
|
|
|
|
|
Matrix struct {
|
|
|
|
|
Type string
|
|
|
|
|
LinkType int64
|
|
|
|
|
Type string
|
|
|
|
|
LinkType int64
|
|
|
|
|
Direction int64
|
|
|
|
|
LineCount int64
|
|
|
|
|
Lines [][]int64
|
|
|
|
|
Form []int64
|
|
|
|
|
Lines [][]int64
|
|
|
|
|
Form []int64
|
|
|
|
|
}
|
|
|
|
|
// OptAuthenticate comment
|
|
|
|
|
OptAuthenticate struct {
|
|
|
|
|
Flag string
|
|
|
|
|
Order int64
|
|
|
|
|
ValidValues []string
|
|
|
|
|
Flag string
|
|
|
|
|
Order int64
|
|
|
|
|
ValidValues []string
|
|
|
|
|
InvalidValues []string
|
|
|
|
|
}
|
|
|
|
|
// OptGroup comment
|
|
|
|
|
OptGroup struct {
|
|
|
|
|
ID int64
|
|
|
|
|
Batch int64
|
|
|
|
|
ID int64
|
|
|
|
|
Batch int64
|
|
|
|
|
IsNewPlayer bool
|
|
|
|
|
StartTime string
|
|
|
|
|
EndTime string
|
|
|
|
|
Affect []int64
|
|
|
|
|
Weight []int64
|
|
|
|
|
StartTime string
|
|
|
|
|
EndTime string
|
|
|
|
|
Affect []int64
|
|
|
|
|
Weight []int64
|
|
|
|
|
}
|
|
|
|
|
// PrizeModel comment
|
|
|
|
|
PrizeModel struct {
|
|
|
|
|
ID int64
|
|
|
|
|
AniType string
|
|
|
|
|
ID int64
|
|
|
|
|
AniType string
|
|
|
|
|
MinMultiple int64
|
|
|
|
|
MaxMultiple int64
|
|
|
|
|
}
|
|
|
|
|
// Scatter comment
|
|
|
|
|
Scatter struct {
|
|
|
|
|
ScatterCount int64
|
|
|
|
|
FreeSpinBouts int64
|
|
|
|
|
ScatterCount int64
|
|
|
|
|
FreeSpinBouts int64
|
|
|
|
|
FreeSpinExtraBouts int64
|
|
|
|
|
BasePayrate int64
|
|
|
|
|
FreePayrate int64
|
|
|
|
|
BasePayrate int64
|
|
|
|
|
FreePayrate int64
|
|
|
|
|
}
|
|
|
|
|
// ScatterFreeChoose comment
|
|
|
|
|
ScatterFreeChoose struct {
|
|
|
|
|
ID int64
|
|
|
|
|
ID int64
|
|
|
|
|
FreeSpinTimes int64
|
|
|
|
|
TouchTimesMin int64
|
|
|
|
|
TouchTimesMax int64
|
|
|
|
@ -250,24 +251,24 @@ type (
|
|
|
|
|
// SimulatorFSMultiLevel comment
|
|
|
|
|
SimulatorFSMultiLevel struct {
|
|
|
|
|
Level int64
|
|
|
|
|
Min int64
|
|
|
|
|
Max int64
|
|
|
|
|
Min int64
|
|
|
|
|
Max int64
|
|
|
|
|
}
|
|
|
|
|
// SuperStackWeight comment
|
|
|
|
|
SuperStackWeight struct {
|
|
|
|
|
ID int64
|
|
|
|
|
ID int64
|
|
|
|
|
ItemID int64
|
|
|
|
|
Weight float64
|
|
|
|
|
}
|
|
|
|
|
// Symbol comment
|
|
|
|
|
Symbol struct {
|
|
|
|
|
ID int64
|
|
|
|
|
Name string
|
|
|
|
|
IsWild bool
|
|
|
|
|
Group []int64
|
|
|
|
|
PayRate []int64
|
|
|
|
|
ID int64
|
|
|
|
|
Name string
|
|
|
|
|
IsWild bool
|
|
|
|
|
Group []int64
|
|
|
|
|
PayRate []int64
|
|
|
|
|
ClientOrder int64
|
|
|
|
|
ClientDsc string
|
|
|
|
|
ClientDsc string
|
|
|
|
|
}
|
|
|
|
|
// SymbolBetRatio comment
|
|
|
|
|
SymbolBetRatio struct {
|
|
|
|
@ -275,13 +276,13 @@ type (
|
|
|
|
|
}
|
|
|
|
|
// TestRandomWeight comment
|
|
|
|
|
TestRandomWeight struct {
|
|
|
|
|
ID int64
|
|
|
|
|
Time float64
|
|
|
|
|
ID int64
|
|
|
|
|
Time float64
|
|
|
|
|
Weight float64
|
|
|
|
|
}
|
|
|
|
|
// Text comment
|
|
|
|
|
Text struct {
|
|
|
|
|
Type string
|
|
|
|
|
Type string
|
|
|
|
|
Texts []*TextTexts
|
|
|
|
|
}
|
|
|
|
|
// TextTexts comment
|
|
|
|
@ -291,25 +292,25 @@ type (
|
|
|
|
|
}
|
|
|
|
|
// Vector comment
|
|
|
|
|
Vector struct {
|
|
|
|
|
Choice int64
|
|
|
|
|
Ratio float64
|
|
|
|
|
Vector []int64
|
|
|
|
|
Choice int64
|
|
|
|
|
Ratio float64
|
|
|
|
|
Vector []int64
|
|
|
|
|
Procedure string
|
|
|
|
|
}
|
|
|
|
|
// VectorDemand comment
|
|
|
|
|
VectorDemand struct {
|
|
|
|
|
Choice int64
|
|
|
|
|
MinRatio float64
|
|
|
|
|
MaxRatio float64
|
|
|
|
|
Choice int64
|
|
|
|
|
MinRatio float64
|
|
|
|
|
MaxRatio float64
|
|
|
|
|
Procedure string
|
|
|
|
|
Count int64
|
|
|
|
|
Count int64
|
|
|
|
|
}
|
|
|
|
|
// VectorForceWin comment
|
|
|
|
|
VectorForceWin struct {
|
|
|
|
|
Choice int64
|
|
|
|
|
Choice int64
|
|
|
|
|
MinRatio float64
|
|
|
|
|
MaxRatio float64
|
|
|
|
|
Weight float64
|
|
|
|
|
Weight float64
|
|
|
|
|
}
|
|
|
|
|
// CashManiaBetBetChangeList comment
|
|
|
|
|
CashManiaBetBetChangeList = BetChangeList
|
|
|
|
@ -811,5 +812,4 @@ type (
|
|
|
|
|
|
|
|
|
|
// TestSymbolBetRatio comment
|
|
|
|
|
TestSymbolBetRatio = SymbolBetRatio
|
|
|
|
|
|
|
|
|
|
)
|