@betorigami/games 1.12.6 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +539 -3
- package/dist/index.mjs +2736 -987
- package/package.json +3 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// Generated by dts-bundle-generator v9.5.1
|
|
2
2
|
|
|
3
|
+
import { Color, Column, Dozen, Half, Parity, RouletteType } from '@betorigami/game-calculations';
|
|
3
4
|
import { ContextProvider } from '@lit/context';
|
|
4
5
|
import Big$1 from 'big.js';
|
|
5
6
|
import { CSSResult, LitElement, PropertyValues, TemplateResult } from 'lit';
|
|
@@ -30,7 +31,8 @@ declare enum OrigamiGame {
|
|
|
30
31
|
DIAMONDS = "DIAMONDS",
|
|
31
32
|
WHEEL = "WHEEL",
|
|
32
33
|
PLINKO = "PLINKO",
|
|
33
|
-
ADVANCED_DICE = "ADVANCED_DICE"
|
|
34
|
+
ADVANCED_DICE = "ADVANCED_DICE",
|
|
35
|
+
ROULETTE = "ROULETTE"
|
|
34
36
|
}
|
|
35
37
|
export type SeasonTheme = "DEFAULT" | "HORRORGAMI" | "JOLLYGAMI";
|
|
36
38
|
declare const SUPPORTED_EDGE_PERCENTAGES: readonly [
|
|
@@ -77,6 +79,7 @@ export declare const translations: {
|
|
|
77
79
|
failedToLoadBetData: string;
|
|
78
80
|
gameError: string;
|
|
79
81
|
insufficientBalance: string;
|
|
82
|
+
maxPayoutExceeded: string;
|
|
80
83
|
notEnoughBalance: string;
|
|
81
84
|
};
|
|
82
85
|
autobet: {
|
|
@@ -285,6 +288,16 @@ export declare const translations: {
|
|
|
285
288
|
provablyFair: string;
|
|
286
289
|
strategyTip: string;
|
|
287
290
|
};
|
|
291
|
+
roulette: {
|
|
292
|
+
how1: string;
|
|
293
|
+
how2: string;
|
|
294
|
+
how3: string;
|
|
295
|
+
how4: string;
|
|
296
|
+
how5: string;
|
|
297
|
+
overview: string;
|
|
298
|
+
provablyFair: string;
|
|
299
|
+
strategyTip: string;
|
|
300
|
+
};
|
|
288
301
|
};
|
|
289
302
|
games: {
|
|
290
303
|
advancedDice: {
|
|
@@ -329,16 +342,28 @@ export declare const translations: {
|
|
|
329
342
|
wheel: {
|
|
330
343
|
segments: string;
|
|
331
344
|
};
|
|
345
|
+
roulette: {
|
|
346
|
+
betAmountPerClick: string;
|
|
347
|
+
totalBetAmount: string;
|
|
348
|
+
};
|
|
332
349
|
};
|
|
333
350
|
hotkeys: {
|
|
334
351
|
doubleBet: string;
|
|
352
|
+
doubleBetPerClick: string;
|
|
353
|
+
doubleTotalBet: string;
|
|
335
354
|
halveBet: string;
|
|
355
|
+
halveBetPerClick: string;
|
|
356
|
+
halveTotalBet: string;
|
|
336
357
|
higherTarget: string;
|
|
337
358
|
info: string;
|
|
338
359
|
lowerTarget: string;
|
|
339
360
|
makeBet: string;
|
|
340
361
|
toggleWinCondition: string;
|
|
362
|
+
undo: string;
|
|
363
|
+
clearBets: string;
|
|
341
364
|
zeroBet: string;
|
|
365
|
+
zeroBetPerClick: string;
|
|
366
|
+
zeroTotalBet: string;
|
|
342
367
|
};
|
|
343
368
|
modals: {
|
|
344
369
|
betResult: string;
|
|
@@ -362,6 +387,7 @@ export declare const translations: {
|
|
|
362
387
|
failedToLoadBetData: string;
|
|
363
388
|
gameError: string;
|
|
364
389
|
insufficientBalance: string;
|
|
390
|
+
maxPayoutExceeded: string;
|
|
365
391
|
notEnoughBalance: string;
|
|
366
392
|
};
|
|
367
393
|
autobet: {
|
|
@@ -570,6 +596,16 @@ export declare const translations: {
|
|
|
570
596
|
provablyFair: string;
|
|
571
597
|
strategyTip: string;
|
|
572
598
|
};
|
|
599
|
+
roulette: {
|
|
600
|
+
how1: string;
|
|
601
|
+
how2: string;
|
|
602
|
+
how3: string;
|
|
603
|
+
how4: string;
|
|
604
|
+
how5: string;
|
|
605
|
+
overview: string;
|
|
606
|
+
provablyFair: string;
|
|
607
|
+
strategyTip: string;
|
|
608
|
+
};
|
|
573
609
|
};
|
|
574
610
|
games: {
|
|
575
611
|
advancedDice: {
|
|
@@ -614,16 +650,28 @@ export declare const translations: {
|
|
|
614
650
|
wheel: {
|
|
615
651
|
segments: string;
|
|
616
652
|
};
|
|
653
|
+
roulette: {
|
|
654
|
+
betAmountPerClick: string;
|
|
655
|
+
totalBetAmount: string;
|
|
656
|
+
};
|
|
617
657
|
};
|
|
618
658
|
hotkeys: {
|
|
619
659
|
doubleBet: string;
|
|
660
|
+
doubleBetPerClick: string;
|
|
661
|
+
doubleTotalBet: string;
|
|
620
662
|
halveBet: string;
|
|
663
|
+
halveBetPerClick: string;
|
|
664
|
+
halveTotalBet: string;
|
|
621
665
|
higherTarget: string;
|
|
622
666
|
info: string;
|
|
623
667
|
lowerTarget: string;
|
|
624
668
|
makeBet: string;
|
|
625
669
|
toggleWinCondition: string;
|
|
670
|
+
undo: string;
|
|
671
|
+
clearBets: string;
|
|
626
672
|
zeroBet: string;
|
|
673
|
+
zeroBetPerClick: string;
|
|
674
|
+
zeroTotalBet: string;
|
|
627
675
|
};
|
|
628
676
|
modals: {
|
|
629
677
|
betResult: string;
|
|
@@ -648,6 +696,7 @@ export declare const translations: {
|
|
|
648
696
|
gameError: string;
|
|
649
697
|
insufficientBalance: string;
|
|
650
698
|
notEnoughBalance: string;
|
|
699
|
+
maxPayoutExceeded: string;
|
|
651
700
|
};
|
|
652
701
|
autobet: {
|
|
653
702
|
configureAutobet: string;
|
|
@@ -855,8 +904,22 @@ export declare const translations: {
|
|
|
855
904
|
provablyFair: string;
|
|
856
905
|
strategyTip: string;
|
|
857
906
|
};
|
|
907
|
+
roulette: {
|
|
908
|
+
how1: string;
|
|
909
|
+
how2: string;
|
|
910
|
+
how3: string;
|
|
911
|
+
how4: string;
|
|
912
|
+
how5: string;
|
|
913
|
+
overview: string;
|
|
914
|
+
provablyFair: string;
|
|
915
|
+
strategyTip: string;
|
|
916
|
+
};
|
|
858
917
|
};
|
|
859
918
|
games: {
|
|
919
|
+
roulette: {
|
|
920
|
+
betAmountPerClick: string;
|
|
921
|
+
totalBetAmount: string;
|
|
922
|
+
};
|
|
860
923
|
advancedDice: {
|
|
861
924
|
between: string;
|
|
862
925
|
boundsLower: string;
|
|
@@ -902,13 +965,21 @@ export declare const translations: {
|
|
|
902
965
|
};
|
|
903
966
|
hotkeys: {
|
|
904
967
|
doubleBet: string;
|
|
968
|
+
doubleBetPerClick: string;
|
|
969
|
+
doubleTotalBet: string;
|
|
905
970
|
halveBet: string;
|
|
971
|
+
halveBetPerClick: string;
|
|
972
|
+
halveTotalBet: string;
|
|
906
973
|
higherTarget: string;
|
|
907
974
|
info: string;
|
|
908
975
|
lowerTarget: string;
|
|
909
976
|
makeBet: string;
|
|
910
977
|
toggleWinCondition: string;
|
|
978
|
+
undo: string;
|
|
979
|
+
clearBets: string;
|
|
911
980
|
zeroBet: string;
|
|
981
|
+
zeroBetPerClick: string;
|
|
982
|
+
zeroTotalBet: string;
|
|
912
983
|
};
|
|
913
984
|
modals: {
|
|
914
985
|
betResult: string;
|
|
@@ -932,6 +1003,7 @@ export declare const translations: {
|
|
|
932
1003
|
failedToLoadBetData: string;
|
|
933
1004
|
gameError: string;
|
|
934
1005
|
insufficientBalance: string;
|
|
1006
|
+
maxPayoutExceeded: string;
|
|
935
1007
|
notEnoughBalance: string;
|
|
936
1008
|
};
|
|
937
1009
|
autobet: {
|
|
@@ -1140,6 +1212,16 @@ export declare const translations: {
|
|
|
1140
1212
|
provablyFair: string;
|
|
1141
1213
|
strategyTip: string;
|
|
1142
1214
|
};
|
|
1215
|
+
roulette: {
|
|
1216
|
+
how1: string;
|
|
1217
|
+
how2: string;
|
|
1218
|
+
how3: string;
|
|
1219
|
+
how4: string;
|
|
1220
|
+
how5: string;
|
|
1221
|
+
overview: string;
|
|
1222
|
+
provablyFair: string;
|
|
1223
|
+
strategyTip: string;
|
|
1224
|
+
};
|
|
1143
1225
|
};
|
|
1144
1226
|
games: {
|
|
1145
1227
|
advancedDice: {
|
|
@@ -1184,16 +1266,28 @@ export declare const translations: {
|
|
|
1184
1266
|
wheel: {
|
|
1185
1267
|
segments: string;
|
|
1186
1268
|
};
|
|
1269
|
+
roulette: {
|
|
1270
|
+
betAmountPerClick: string;
|
|
1271
|
+
totalBetAmount: string;
|
|
1272
|
+
};
|
|
1187
1273
|
};
|
|
1188
1274
|
hotkeys: {
|
|
1189
1275
|
doubleBet: string;
|
|
1276
|
+
doubleBetPerClick: string;
|
|
1277
|
+
doubleTotalBet: string;
|
|
1190
1278
|
halveBet: string;
|
|
1279
|
+
halveBetPerClick: string;
|
|
1280
|
+
halveTotalBet: string;
|
|
1191
1281
|
higherTarget: string;
|
|
1192
1282
|
info: string;
|
|
1193
1283
|
lowerTarget: string;
|
|
1194
1284
|
makeBet: string;
|
|
1195
1285
|
toggleWinCondition: string;
|
|
1286
|
+
undo: string;
|
|
1287
|
+
clearBets: string;
|
|
1196
1288
|
zeroBet: string;
|
|
1289
|
+
zeroBetPerClick: string;
|
|
1290
|
+
zeroTotalBet: string;
|
|
1197
1291
|
};
|
|
1198
1292
|
modals: {
|
|
1199
1293
|
betResult: string;
|
|
@@ -1217,6 +1311,7 @@ export declare const translations: {
|
|
|
1217
1311
|
failedToLoadBetData: string;
|
|
1218
1312
|
gameError: string;
|
|
1219
1313
|
insufficientBalance: string;
|
|
1314
|
+
maxPayoutExceeded: string;
|
|
1220
1315
|
notEnoughBalance: string;
|
|
1221
1316
|
};
|
|
1222
1317
|
autobet: {
|
|
@@ -1425,6 +1520,16 @@ export declare const translations: {
|
|
|
1425
1520
|
provablyFair: string;
|
|
1426
1521
|
strategyTip: string;
|
|
1427
1522
|
};
|
|
1523
|
+
roulette: {
|
|
1524
|
+
how1: string;
|
|
1525
|
+
how2: string;
|
|
1526
|
+
how3: string;
|
|
1527
|
+
how4: string;
|
|
1528
|
+
how5: string;
|
|
1529
|
+
overview: string;
|
|
1530
|
+
provablyFair: string;
|
|
1531
|
+
strategyTip: string;
|
|
1532
|
+
};
|
|
1428
1533
|
};
|
|
1429
1534
|
games: {
|
|
1430
1535
|
advancedDice: {
|
|
@@ -1469,16 +1574,28 @@ export declare const translations: {
|
|
|
1469
1574
|
wheel: {
|
|
1470
1575
|
segments: string;
|
|
1471
1576
|
};
|
|
1577
|
+
roulette: {
|
|
1578
|
+
betAmountPerClick: string;
|
|
1579
|
+
totalBetAmount: string;
|
|
1580
|
+
};
|
|
1472
1581
|
};
|
|
1473
1582
|
hotkeys: {
|
|
1474
1583
|
doubleBet: string;
|
|
1584
|
+
doubleBetPerClick: string;
|
|
1585
|
+
doubleTotalBet: string;
|
|
1475
1586
|
halveBet: string;
|
|
1587
|
+
halveBetPerClick: string;
|
|
1588
|
+
halveTotalBet: string;
|
|
1476
1589
|
higherTarget: string;
|
|
1477
1590
|
info: string;
|
|
1478
1591
|
lowerTarget: string;
|
|
1479
1592
|
makeBet: string;
|
|
1480
1593
|
toggleWinCondition: string;
|
|
1594
|
+
undo: string;
|
|
1595
|
+
clearBets: string;
|
|
1481
1596
|
zeroBet: string;
|
|
1597
|
+
zeroBetPerClick: string;
|
|
1598
|
+
zeroTotalBet: string;
|
|
1482
1599
|
};
|
|
1483
1600
|
modals: {
|
|
1484
1601
|
betResult: string;
|
|
@@ -1502,6 +1619,7 @@ export declare const translations: {
|
|
|
1502
1619
|
failedToLoadBetData: string;
|
|
1503
1620
|
gameError: string;
|
|
1504
1621
|
insufficientBalance: string;
|
|
1622
|
+
maxPayoutExceeded: string;
|
|
1505
1623
|
notEnoughBalance: string;
|
|
1506
1624
|
};
|
|
1507
1625
|
autobet: {
|
|
@@ -1710,6 +1828,16 @@ export declare const translations: {
|
|
|
1710
1828
|
provablyFair: string;
|
|
1711
1829
|
strategyTip: string;
|
|
1712
1830
|
};
|
|
1831
|
+
roulette: {
|
|
1832
|
+
how1: string;
|
|
1833
|
+
how2: string;
|
|
1834
|
+
how3: string;
|
|
1835
|
+
how4: string;
|
|
1836
|
+
how5: string;
|
|
1837
|
+
overview: string;
|
|
1838
|
+
provablyFair: string;
|
|
1839
|
+
strategyTip: string;
|
|
1840
|
+
};
|
|
1713
1841
|
};
|
|
1714
1842
|
games: {
|
|
1715
1843
|
advancedDice: {
|
|
@@ -1754,16 +1882,28 @@ export declare const translations: {
|
|
|
1754
1882
|
wheel: {
|
|
1755
1883
|
segments: string;
|
|
1756
1884
|
};
|
|
1885
|
+
roulette: {
|
|
1886
|
+
betAmountPerClick: string;
|
|
1887
|
+
totalBetAmount: string;
|
|
1888
|
+
};
|
|
1757
1889
|
};
|
|
1758
1890
|
hotkeys: {
|
|
1759
1891
|
doubleBet: string;
|
|
1892
|
+
doubleBetPerClick: string;
|
|
1893
|
+
doubleTotalBet: string;
|
|
1760
1894
|
halveBet: string;
|
|
1895
|
+
halveBetPerClick: string;
|
|
1896
|
+
halveTotalBet: string;
|
|
1761
1897
|
higherTarget: string;
|
|
1762
1898
|
info: string;
|
|
1763
1899
|
lowerTarget: string;
|
|
1764
1900
|
makeBet: string;
|
|
1765
1901
|
toggleWinCondition: string;
|
|
1902
|
+
undo: string;
|
|
1903
|
+
clearBets: string;
|
|
1766
1904
|
zeroBet: string;
|
|
1905
|
+
zeroBetPerClick: string;
|
|
1906
|
+
zeroTotalBet: string;
|
|
1767
1907
|
};
|
|
1768
1908
|
modals: {
|
|
1769
1909
|
betResult: string;
|
|
@@ -1787,6 +1927,7 @@ export declare const translations: {
|
|
|
1787
1927
|
failedToLoadBetData: string;
|
|
1788
1928
|
gameError: string;
|
|
1789
1929
|
insufficientBalance: string;
|
|
1930
|
+
maxPayoutExceeded: string;
|
|
1790
1931
|
notEnoughBalance: string;
|
|
1791
1932
|
};
|
|
1792
1933
|
autobet: {
|
|
@@ -1995,6 +2136,16 @@ export declare const translations: {
|
|
|
1995
2136
|
provablyFair: string;
|
|
1996
2137
|
strategyTip: string;
|
|
1997
2138
|
};
|
|
2139
|
+
roulette: {
|
|
2140
|
+
how1: string;
|
|
2141
|
+
how2: string;
|
|
2142
|
+
how3: string;
|
|
2143
|
+
how4: string;
|
|
2144
|
+
how5: string;
|
|
2145
|
+
overview: string;
|
|
2146
|
+
provablyFair: string;
|
|
2147
|
+
strategyTip: string;
|
|
2148
|
+
};
|
|
1998
2149
|
};
|
|
1999
2150
|
games: {
|
|
2000
2151
|
advancedDice: {
|
|
@@ -2039,16 +2190,28 @@ export declare const translations: {
|
|
|
2039
2190
|
wheel: {
|
|
2040
2191
|
segments: string;
|
|
2041
2192
|
};
|
|
2193
|
+
roulette: {
|
|
2194
|
+
betAmountPerClick: string;
|
|
2195
|
+
totalBetAmount: string;
|
|
2196
|
+
};
|
|
2042
2197
|
};
|
|
2043
2198
|
hotkeys: {
|
|
2044
2199
|
doubleBet: string;
|
|
2200
|
+
doubleBetPerClick: string;
|
|
2201
|
+
doubleTotalBet: string;
|
|
2045
2202
|
halveBet: string;
|
|
2203
|
+
halveBetPerClick: string;
|
|
2204
|
+
halveTotalBet: string;
|
|
2046
2205
|
higherTarget: string;
|
|
2047
2206
|
info: string;
|
|
2048
2207
|
lowerTarget: string;
|
|
2049
2208
|
makeBet: string;
|
|
2050
2209
|
toggleWinCondition: string;
|
|
2210
|
+
undo: string;
|
|
2211
|
+
clearBets: string;
|
|
2051
2212
|
zeroBet: string;
|
|
2213
|
+
zeroBetPerClick: string;
|
|
2214
|
+
zeroTotalBet: string;
|
|
2052
2215
|
};
|
|
2053
2216
|
modals: {
|
|
2054
2217
|
betResult: string;
|
|
@@ -2072,6 +2235,7 @@ export declare const translations: {
|
|
|
2072
2235
|
failedToLoadBetData: string;
|
|
2073
2236
|
gameError: string;
|
|
2074
2237
|
insufficientBalance: string;
|
|
2238
|
+
maxPayoutExceeded: string;
|
|
2075
2239
|
notEnoughBalance: string;
|
|
2076
2240
|
};
|
|
2077
2241
|
autobet: {
|
|
@@ -2280,6 +2444,16 @@ export declare const translations: {
|
|
|
2280
2444
|
provablyFair: string;
|
|
2281
2445
|
strategyTip: string;
|
|
2282
2446
|
};
|
|
2447
|
+
roulette: {
|
|
2448
|
+
how1: string;
|
|
2449
|
+
how2: string;
|
|
2450
|
+
how3: string;
|
|
2451
|
+
how4: string;
|
|
2452
|
+
how5: string;
|
|
2453
|
+
overview: string;
|
|
2454
|
+
provablyFair: string;
|
|
2455
|
+
strategyTip: string;
|
|
2456
|
+
};
|
|
2283
2457
|
};
|
|
2284
2458
|
games: {
|
|
2285
2459
|
advancedDice: {
|
|
@@ -2324,16 +2498,28 @@ export declare const translations: {
|
|
|
2324
2498
|
wheel: {
|
|
2325
2499
|
segments: string;
|
|
2326
2500
|
};
|
|
2501
|
+
roulette: {
|
|
2502
|
+
betAmountPerClick: string;
|
|
2503
|
+
totalBetAmount: string;
|
|
2504
|
+
};
|
|
2327
2505
|
};
|
|
2328
2506
|
hotkeys: {
|
|
2329
2507
|
doubleBet: string;
|
|
2508
|
+
doubleBetPerClick: string;
|
|
2509
|
+
doubleTotalBet: string;
|
|
2330
2510
|
halveBet: string;
|
|
2511
|
+
halveBetPerClick: string;
|
|
2512
|
+
halveTotalBet: string;
|
|
2331
2513
|
higherTarget: string;
|
|
2332
2514
|
info: string;
|
|
2333
2515
|
lowerTarget: string;
|
|
2334
2516
|
makeBet: string;
|
|
2335
2517
|
toggleWinCondition: string;
|
|
2518
|
+
undo: string;
|
|
2519
|
+
clearBets: string;
|
|
2336
2520
|
zeroBet: string;
|
|
2521
|
+
zeroBetPerClick: string;
|
|
2522
|
+
zeroTotalBet: string;
|
|
2337
2523
|
};
|
|
2338
2524
|
modals: {
|
|
2339
2525
|
betResult: string;
|
|
@@ -2357,6 +2543,7 @@ export declare const translations: {
|
|
|
2357
2543
|
failedToLoadBetData: string;
|
|
2358
2544
|
gameError: string;
|
|
2359
2545
|
insufficientBalance: string;
|
|
2546
|
+
maxPayoutExceeded: string;
|
|
2360
2547
|
notEnoughBalance: string;
|
|
2361
2548
|
};
|
|
2362
2549
|
autobet: {
|
|
@@ -2565,6 +2752,16 @@ export declare const translations: {
|
|
|
2565
2752
|
provablyFair: string;
|
|
2566
2753
|
strategyTip: string;
|
|
2567
2754
|
};
|
|
2755
|
+
roulette: {
|
|
2756
|
+
how1: string;
|
|
2757
|
+
how2: string;
|
|
2758
|
+
how3: string;
|
|
2759
|
+
how4: string;
|
|
2760
|
+
how5: string;
|
|
2761
|
+
overview: string;
|
|
2762
|
+
provablyFair: string;
|
|
2763
|
+
strategyTip: string;
|
|
2764
|
+
};
|
|
2568
2765
|
};
|
|
2569
2766
|
games: {
|
|
2570
2767
|
advancedDice: {
|
|
@@ -2609,16 +2806,28 @@ export declare const translations: {
|
|
|
2609
2806
|
wheel: {
|
|
2610
2807
|
segments: string;
|
|
2611
2808
|
};
|
|
2809
|
+
roulette: {
|
|
2810
|
+
betAmountPerClick: string;
|
|
2811
|
+
totalBetAmount: string;
|
|
2812
|
+
};
|
|
2612
2813
|
};
|
|
2613
2814
|
hotkeys: {
|
|
2614
2815
|
doubleBet: string;
|
|
2816
|
+
doubleBetPerClick: string;
|
|
2817
|
+
doubleTotalBet: string;
|
|
2615
2818
|
halveBet: string;
|
|
2819
|
+
halveBetPerClick: string;
|
|
2820
|
+
halveTotalBet: string;
|
|
2616
2821
|
higherTarget: string;
|
|
2617
2822
|
info: string;
|
|
2618
2823
|
lowerTarget: string;
|
|
2619
2824
|
makeBet: string;
|
|
2620
2825
|
toggleWinCondition: string;
|
|
2826
|
+
undo: string;
|
|
2827
|
+
clearBets: string;
|
|
2621
2828
|
zeroBet: string;
|
|
2829
|
+
zeroBetPerClick: string;
|
|
2830
|
+
zeroTotalBet: string;
|
|
2622
2831
|
};
|
|
2623
2832
|
modals: {
|
|
2624
2833
|
betResult: string;
|
|
@@ -2642,6 +2851,7 @@ export declare const translations: {
|
|
|
2642
2851
|
failedToLoadBetData: string;
|
|
2643
2852
|
gameError: string;
|
|
2644
2853
|
insufficientBalance: string;
|
|
2854
|
+
maxPayoutExceeded: string;
|
|
2645
2855
|
notEnoughBalance: string;
|
|
2646
2856
|
};
|
|
2647
2857
|
autobet: {
|
|
@@ -2850,6 +3060,16 @@ export declare const translations: {
|
|
|
2850
3060
|
provablyFair: string;
|
|
2851
3061
|
strategyTip: string;
|
|
2852
3062
|
};
|
|
3063
|
+
roulette: {
|
|
3064
|
+
how1: string;
|
|
3065
|
+
how2: string;
|
|
3066
|
+
how3: string;
|
|
3067
|
+
how4: string;
|
|
3068
|
+
how5: string;
|
|
3069
|
+
overview: string;
|
|
3070
|
+
provablyFair: string;
|
|
3071
|
+
strategyTip: string;
|
|
3072
|
+
};
|
|
2853
3073
|
};
|
|
2854
3074
|
games: {
|
|
2855
3075
|
advancedDice: {
|
|
@@ -2894,16 +3114,28 @@ export declare const translations: {
|
|
|
2894
3114
|
wheel: {
|
|
2895
3115
|
segments: string;
|
|
2896
3116
|
};
|
|
3117
|
+
roulette: {
|
|
3118
|
+
betAmountPerClick: string;
|
|
3119
|
+
totalBetAmount: string;
|
|
3120
|
+
};
|
|
2897
3121
|
};
|
|
2898
3122
|
hotkeys: {
|
|
2899
3123
|
doubleBet: string;
|
|
3124
|
+
doubleBetPerClick: string;
|
|
3125
|
+
doubleTotalBet: string;
|
|
2900
3126
|
halveBet: string;
|
|
3127
|
+
halveBetPerClick: string;
|
|
3128
|
+
halveTotalBet: string;
|
|
2901
3129
|
higherTarget: string;
|
|
2902
3130
|
info: string;
|
|
2903
3131
|
lowerTarget: string;
|
|
2904
3132
|
makeBet: string;
|
|
2905
3133
|
toggleWinCondition: string;
|
|
3134
|
+
undo: string;
|
|
3135
|
+
clearBets: string;
|
|
2906
3136
|
zeroBet: string;
|
|
3137
|
+
zeroBetPerClick: string;
|
|
3138
|
+
zeroTotalBet: string;
|
|
2907
3139
|
};
|
|
2908
3140
|
modals: {
|
|
2909
3141
|
betResult: string;
|
|
@@ -2927,6 +3159,7 @@ export declare const translations: {
|
|
|
2927
3159
|
failedToLoadBetData: string;
|
|
2928
3160
|
gameError: string;
|
|
2929
3161
|
insufficientBalance: string;
|
|
3162
|
+
maxPayoutExceeded: string;
|
|
2930
3163
|
notEnoughBalance: string;
|
|
2931
3164
|
};
|
|
2932
3165
|
autobet: {
|
|
@@ -3135,6 +3368,16 @@ export declare const translations: {
|
|
|
3135
3368
|
provablyFair: string;
|
|
3136
3369
|
strategyTip: string;
|
|
3137
3370
|
};
|
|
3371
|
+
roulette: {
|
|
3372
|
+
how1: string;
|
|
3373
|
+
how2: string;
|
|
3374
|
+
how3: string;
|
|
3375
|
+
how4: string;
|
|
3376
|
+
how5: string;
|
|
3377
|
+
overview: string;
|
|
3378
|
+
provablyFair: string;
|
|
3379
|
+
strategyTip: string;
|
|
3380
|
+
};
|
|
3138
3381
|
};
|
|
3139
3382
|
games: {
|
|
3140
3383
|
advancedDice: {
|
|
@@ -3179,16 +3422,28 @@ export declare const translations: {
|
|
|
3179
3422
|
wheel: {
|
|
3180
3423
|
segments: string;
|
|
3181
3424
|
};
|
|
3425
|
+
roulette: {
|
|
3426
|
+
betAmountPerClick: string;
|
|
3427
|
+
totalBetAmount: string;
|
|
3428
|
+
};
|
|
3182
3429
|
};
|
|
3183
3430
|
hotkeys: {
|
|
3184
3431
|
doubleBet: string;
|
|
3432
|
+
doubleBetPerClick: string;
|
|
3433
|
+
doubleTotalBet: string;
|
|
3185
3434
|
halveBet: string;
|
|
3435
|
+
halveBetPerClick: string;
|
|
3436
|
+
halveTotalBet: string;
|
|
3186
3437
|
higherTarget: string;
|
|
3187
3438
|
info: string;
|
|
3188
3439
|
lowerTarget: string;
|
|
3189
3440
|
makeBet: string;
|
|
3190
3441
|
toggleWinCondition: string;
|
|
3442
|
+
undo: string;
|
|
3443
|
+
clearBets: string;
|
|
3191
3444
|
zeroBet: string;
|
|
3445
|
+
zeroBetPerClick: string;
|
|
3446
|
+
zeroTotalBet: string;
|
|
3192
3447
|
};
|
|
3193
3448
|
modals: {
|
|
3194
3449
|
betResult: string;
|
|
@@ -3212,6 +3467,7 @@ export declare const translations: {
|
|
|
3212
3467
|
failedToLoadBetData: string;
|
|
3213
3468
|
gameError: string;
|
|
3214
3469
|
insufficientBalance: string;
|
|
3470
|
+
maxPayoutExceeded: string;
|
|
3215
3471
|
notEnoughBalance: string;
|
|
3216
3472
|
};
|
|
3217
3473
|
autobet: {
|
|
@@ -3420,6 +3676,16 @@ export declare const translations: {
|
|
|
3420
3676
|
provablyFair: string;
|
|
3421
3677
|
strategyTip: string;
|
|
3422
3678
|
};
|
|
3679
|
+
roulette: {
|
|
3680
|
+
how1: string;
|
|
3681
|
+
how2: string;
|
|
3682
|
+
how3: string;
|
|
3683
|
+
how4: string;
|
|
3684
|
+
how5: string;
|
|
3685
|
+
overview: string;
|
|
3686
|
+
provablyFair: string;
|
|
3687
|
+
strategyTip: string;
|
|
3688
|
+
};
|
|
3423
3689
|
};
|
|
3424
3690
|
games: {
|
|
3425
3691
|
advancedDice: {
|
|
@@ -3464,16 +3730,28 @@ export declare const translations: {
|
|
|
3464
3730
|
wheel: {
|
|
3465
3731
|
segments: string;
|
|
3466
3732
|
};
|
|
3733
|
+
roulette: {
|
|
3734
|
+
betAmountPerClick: string;
|
|
3735
|
+
totalBetAmount: string;
|
|
3736
|
+
};
|
|
3467
3737
|
};
|
|
3468
3738
|
hotkeys: {
|
|
3469
3739
|
doubleBet: string;
|
|
3740
|
+
doubleBetPerClick: string;
|
|
3741
|
+
doubleTotalBet: string;
|
|
3470
3742
|
halveBet: string;
|
|
3743
|
+
halveBetPerClick: string;
|
|
3744
|
+
halveTotalBet: string;
|
|
3471
3745
|
higherTarget: string;
|
|
3472
3746
|
info: string;
|
|
3473
3747
|
lowerTarget: string;
|
|
3474
3748
|
makeBet: string;
|
|
3475
3749
|
toggleWinCondition: string;
|
|
3750
|
+
undo: string;
|
|
3751
|
+
clearBets: string;
|
|
3476
3752
|
zeroBet: string;
|
|
3753
|
+
zeroBetPerClick: string;
|
|
3754
|
+
zeroTotalBet: string;
|
|
3477
3755
|
};
|
|
3478
3756
|
modals: {
|
|
3479
3757
|
betResult: string;
|
|
@@ -3497,6 +3775,7 @@ export declare const translations: {
|
|
|
3497
3775
|
failedToLoadBetData: string;
|
|
3498
3776
|
gameError: string;
|
|
3499
3777
|
insufficientBalance: string;
|
|
3778
|
+
maxPayoutExceeded: string;
|
|
3500
3779
|
notEnoughBalance: string;
|
|
3501
3780
|
};
|
|
3502
3781
|
autobet: {
|
|
@@ -3705,6 +3984,16 @@ export declare const translations: {
|
|
|
3705
3984
|
provablyFair: string;
|
|
3706
3985
|
strategyTip: string;
|
|
3707
3986
|
};
|
|
3987
|
+
roulette: {
|
|
3988
|
+
how1: string;
|
|
3989
|
+
how2: string;
|
|
3990
|
+
how3: string;
|
|
3991
|
+
how4: string;
|
|
3992
|
+
how5: string;
|
|
3993
|
+
overview: string;
|
|
3994
|
+
provablyFair: string;
|
|
3995
|
+
strategyTip: string;
|
|
3996
|
+
};
|
|
3708
3997
|
};
|
|
3709
3998
|
games: {
|
|
3710
3999
|
advancedDice: {
|
|
@@ -3749,16 +4038,28 @@ export declare const translations: {
|
|
|
3749
4038
|
wheel: {
|
|
3750
4039
|
segments: string;
|
|
3751
4040
|
};
|
|
4041
|
+
roulette: {
|
|
4042
|
+
betAmountPerClick: string;
|
|
4043
|
+
totalBetAmount: string;
|
|
4044
|
+
};
|
|
3752
4045
|
};
|
|
3753
4046
|
hotkeys: {
|
|
3754
4047
|
doubleBet: string;
|
|
4048
|
+
doubleBetPerClick: string;
|
|
4049
|
+
doubleTotalBet: string;
|
|
3755
4050
|
halveBet: string;
|
|
4051
|
+
halveBetPerClick: string;
|
|
4052
|
+
halveTotalBet: string;
|
|
3756
4053
|
higherTarget: string;
|
|
3757
4054
|
info: string;
|
|
3758
4055
|
lowerTarget: string;
|
|
3759
4056
|
makeBet: string;
|
|
3760
4057
|
toggleWinCondition: string;
|
|
4058
|
+
undo: string;
|
|
4059
|
+
clearBets: string;
|
|
3761
4060
|
zeroBet: string;
|
|
4061
|
+
zeroBetPerClick: string;
|
|
4062
|
+
zeroTotalBet: string;
|
|
3762
4063
|
};
|
|
3763
4064
|
modals: {
|
|
3764
4065
|
betResult: string;
|
|
@@ -3782,6 +4083,7 @@ export declare const translations: {
|
|
|
3782
4083
|
failedToLoadBetData: string;
|
|
3783
4084
|
gameError: string;
|
|
3784
4085
|
insufficientBalance: string;
|
|
4086
|
+
maxPayoutExceeded: string;
|
|
3785
4087
|
notEnoughBalance: string;
|
|
3786
4088
|
};
|
|
3787
4089
|
autobet: {
|
|
@@ -3990,6 +4292,16 @@ export declare const translations: {
|
|
|
3990
4292
|
provablyFair: string;
|
|
3991
4293
|
strategyTip: string;
|
|
3992
4294
|
};
|
|
4295
|
+
roulette: {
|
|
4296
|
+
how1: string;
|
|
4297
|
+
how2: string;
|
|
4298
|
+
how3: string;
|
|
4299
|
+
how4: string;
|
|
4300
|
+
how5: string;
|
|
4301
|
+
overview: string;
|
|
4302
|
+
provablyFair: string;
|
|
4303
|
+
strategyTip: string;
|
|
4304
|
+
};
|
|
3993
4305
|
};
|
|
3994
4306
|
games: {
|
|
3995
4307
|
advancedDice: {
|
|
@@ -4034,16 +4346,28 @@ export declare const translations: {
|
|
|
4034
4346
|
wheel: {
|
|
4035
4347
|
segments: string;
|
|
4036
4348
|
};
|
|
4349
|
+
roulette: {
|
|
4350
|
+
betAmountPerClick: string;
|
|
4351
|
+
totalBetAmount: string;
|
|
4352
|
+
};
|
|
4037
4353
|
};
|
|
4038
4354
|
hotkeys: {
|
|
4039
4355
|
doubleBet: string;
|
|
4356
|
+
doubleBetPerClick: string;
|
|
4357
|
+
doubleTotalBet: string;
|
|
4040
4358
|
halveBet: string;
|
|
4359
|
+
halveBetPerClick: string;
|
|
4360
|
+
halveTotalBet: string;
|
|
4041
4361
|
higherTarget: string;
|
|
4042
4362
|
info: string;
|
|
4043
4363
|
lowerTarget: string;
|
|
4044
4364
|
makeBet: string;
|
|
4045
4365
|
toggleWinCondition: string;
|
|
4366
|
+
undo: string;
|
|
4367
|
+
clearBets: string;
|
|
4046
4368
|
zeroBet: string;
|
|
4369
|
+
zeroBetPerClick: string;
|
|
4370
|
+
zeroTotalBet: string;
|
|
4047
4371
|
};
|
|
4048
4372
|
modals: {
|
|
4049
4373
|
betResult: string;
|
|
@@ -4067,6 +4391,7 @@ export declare const translations: {
|
|
|
4067
4391
|
failedToLoadBetData: string;
|
|
4068
4392
|
gameError: string;
|
|
4069
4393
|
insufficientBalance: string;
|
|
4394
|
+
maxPayoutExceeded: string;
|
|
4070
4395
|
notEnoughBalance: string;
|
|
4071
4396
|
};
|
|
4072
4397
|
autobet: {
|
|
@@ -4275,6 +4600,16 @@ export declare const translations: {
|
|
|
4275
4600
|
provablyFair: string;
|
|
4276
4601
|
strategyTip: string;
|
|
4277
4602
|
};
|
|
4603
|
+
roulette: {
|
|
4604
|
+
how1: string;
|
|
4605
|
+
how2: string;
|
|
4606
|
+
how3: string;
|
|
4607
|
+
how4: string;
|
|
4608
|
+
how5: string;
|
|
4609
|
+
overview: string;
|
|
4610
|
+
provablyFair: string;
|
|
4611
|
+
strategyTip: string;
|
|
4612
|
+
};
|
|
4278
4613
|
};
|
|
4279
4614
|
games: {
|
|
4280
4615
|
advancedDice: {
|
|
@@ -4319,16 +4654,28 @@ export declare const translations: {
|
|
|
4319
4654
|
wheel: {
|
|
4320
4655
|
segments: string;
|
|
4321
4656
|
};
|
|
4657
|
+
roulette: {
|
|
4658
|
+
betAmountPerClick: string;
|
|
4659
|
+
totalBetAmount: string;
|
|
4660
|
+
};
|
|
4322
4661
|
};
|
|
4323
4662
|
hotkeys: {
|
|
4324
4663
|
doubleBet: string;
|
|
4664
|
+
doubleBetPerClick: string;
|
|
4665
|
+
doubleTotalBet: string;
|
|
4325
4666
|
halveBet: string;
|
|
4667
|
+
halveBetPerClick: string;
|
|
4668
|
+
halveTotalBet: string;
|
|
4326
4669
|
higherTarget: string;
|
|
4327
4670
|
info: string;
|
|
4328
4671
|
lowerTarget: string;
|
|
4329
4672
|
makeBet: string;
|
|
4330
4673
|
toggleWinCondition: string;
|
|
4674
|
+
undo: string;
|
|
4675
|
+
clearBets: string;
|
|
4331
4676
|
zeroBet: string;
|
|
4677
|
+
zeroBetPerClick: string;
|
|
4678
|
+
zeroTotalBet: string;
|
|
4332
4679
|
};
|
|
4333
4680
|
modals: {
|
|
4334
4681
|
betResult: string;
|
|
@@ -4352,6 +4699,7 @@ export declare const translations: {
|
|
|
4352
4699
|
failedToLoadBetData: string;
|
|
4353
4700
|
gameError: string;
|
|
4354
4701
|
insufficientBalance: string;
|
|
4702
|
+
maxPayoutExceeded: string;
|
|
4355
4703
|
notEnoughBalance: string;
|
|
4356
4704
|
};
|
|
4357
4705
|
autobet: {
|
|
@@ -4560,6 +4908,16 @@ export declare const translations: {
|
|
|
4560
4908
|
provablyFair: string;
|
|
4561
4909
|
strategyTip: string;
|
|
4562
4910
|
};
|
|
4911
|
+
roulette: {
|
|
4912
|
+
how1: string;
|
|
4913
|
+
how2: string;
|
|
4914
|
+
how3: string;
|
|
4915
|
+
how4: string;
|
|
4916
|
+
how5: string;
|
|
4917
|
+
overview: string;
|
|
4918
|
+
provablyFair: string;
|
|
4919
|
+
strategyTip: string;
|
|
4920
|
+
};
|
|
4563
4921
|
};
|
|
4564
4922
|
games: {
|
|
4565
4923
|
advancedDice: {
|
|
@@ -4604,16 +4962,28 @@ export declare const translations: {
|
|
|
4604
4962
|
wheel: {
|
|
4605
4963
|
segments: string;
|
|
4606
4964
|
};
|
|
4965
|
+
roulette: {
|
|
4966
|
+
betAmountPerClick: string;
|
|
4967
|
+
totalBetAmount: string;
|
|
4968
|
+
};
|
|
4607
4969
|
};
|
|
4608
4970
|
hotkeys: {
|
|
4609
4971
|
doubleBet: string;
|
|
4972
|
+
doubleBetPerClick: string;
|
|
4973
|
+
doubleTotalBet: string;
|
|
4610
4974
|
halveBet: string;
|
|
4975
|
+
halveBetPerClick: string;
|
|
4976
|
+
halveTotalBet: string;
|
|
4611
4977
|
higherTarget: string;
|
|
4612
4978
|
info: string;
|
|
4613
4979
|
lowerTarget: string;
|
|
4614
4980
|
makeBet: string;
|
|
4615
4981
|
toggleWinCondition: string;
|
|
4982
|
+
undo: string;
|
|
4983
|
+
clearBets: string;
|
|
4616
4984
|
zeroBet: string;
|
|
4985
|
+
zeroBetPerClick: string;
|
|
4986
|
+
zeroTotalBet: string;
|
|
4617
4987
|
};
|
|
4618
4988
|
modals: {
|
|
4619
4989
|
betResult: string;
|
|
@@ -4746,6 +5116,99 @@ export interface PlinkoStartAction {
|
|
|
4746
5116
|
numberOfRows: PlinkoRowCount;
|
|
4747
5117
|
}
|
|
4748
5118
|
export type AdvancedDiceStartAction = AdvancedDiceInputs;
|
|
5119
|
+
export interface RouletteStraightBet {
|
|
5120
|
+
amount: string;
|
|
5121
|
+
value: number;
|
|
5122
|
+
}
|
|
5123
|
+
export interface RouletteSplitBet {
|
|
5124
|
+
amount: string;
|
|
5125
|
+
values: readonly [
|
|
5126
|
+
number,
|
|
5127
|
+
number
|
|
5128
|
+
];
|
|
5129
|
+
}
|
|
5130
|
+
export interface RouletteStreetBet {
|
|
5131
|
+
amount: string;
|
|
5132
|
+
values: readonly [
|
|
5133
|
+
number,
|
|
5134
|
+
number,
|
|
5135
|
+
number
|
|
5136
|
+
];
|
|
5137
|
+
}
|
|
5138
|
+
export interface RouletteCornerBet {
|
|
5139
|
+
amount: string;
|
|
5140
|
+
values: readonly [
|
|
5141
|
+
number,
|
|
5142
|
+
number,
|
|
5143
|
+
number,
|
|
5144
|
+
number
|
|
5145
|
+
];
|
|
5146
|
+
}
|
|
5147
|
+
export interface RouletteDoubleStreetBet {
|
|
5148
|
+
amount: string;
|
|
5149
|
+
values: readonly [
|
|
5150
|
+
number,
|
|
5151
|
+
number,
|
|
5152
|
+
number,
|
|
5153
|
+
number,
|
|
5154
|
+
number,
|
|
5155
|
+
number
|
|
5156
|
+
];
|
|
5157
|
+
}
|
|
5158
|
+
export interface RouletteParityBet {
|
|
5159
|
+
amount: string;
|
|
5160
|
+
parity: Parity;
|
|
5161
|
+
}
|
|
5162
|
+
export interface RouletteColorBet {
|
|
5163
|
+
amount: string;
|
|
5164
|
+
color: Color;
|
|
5165
|
+
}
|
|
5166
|
+
export interface RouletteHalfBet {
|
|
5167
|
+
amount: string;
|
|
5168
|
+
half: Half;
|
|
5169
|
+
}
|
|
5170
|
+
export interface RouletteColumnBet {
|
|
5171
|
+
amount: string;
|
|
5172
|
+
column: Column;
|
|
5173
|
+
}
|
|
5174
|
+
export interface RouletteDozenBet {
|
|
5175
|
+
amount: string;
|
|
5176
|
+
dozen: Dozen;
|
|
5177
|
+
}
|
|
5178
|
+
export interface RouletteBasketBet {
|
|
5179
|
+
amount: string;
|
|
5180
|
+
}
|
|
5181
|
+
export interface EuropeanRouletteInputs {
|
|
5182
|
+
straightBets: RouletteStraightBet[];
|
|
5183
|
+
splitBets: RouletteSplitBet[];
|
|
5184
|
+
streetBets: RouletteStreetBet[];
|
|
5185
|
+
cornerBets: RouletteCornerBet[];
|
|
5186
|
+
doubleStreetBets: RouletteDoubleStreetBet[];
|
|
5187
|
+
parityBets: RouletteParityBet[];
|
|
5188
|
+
colorBets: RouletteColorBet[];
|
|
5189
|
+
halfBets: RouletteHalfBet[];
|
|
5190
|
+
columnBets: RouletteColumnBet[];
|
|
5191
|
+
dozenBets: RouletteDozenBet[];
|
|
5192
|
+
}
|
|
5193
|
+
export interface AmericanRouletteInputs extends EuropeanRouletteInputs {
|
|
5194
|
+
basketBets: RouletteBasketBet[];
|
|
5195
|
+
}
|
|
5196
|
+
export type RouletteStartAction = {
|
|
5197
|
+
type: RouletteType.EUROPEAN;
|
|
5198
|
+
inputs: EuropeanRouletteInputs;
|
|
5199
|
+
} | {
|
|
5200
|
+
type: RouletteType.AMERICAN;
|
|
5201
|
+
inputs: AmericanRouletteInputs;
|
|
5202
|
+
};
|
|
5203
|
+
export interface RouletteBetOutcomes {
|
|
5204
|
+
winningBets: EuropeanRouletteInputs;
|
|
5205
|
+
losingBets: EuropeanRouletteInputs;
|
|
5206
|
+
}
|
|
5207
|
+
export interface RouletteEndAction {
|
|
5208
|
+
type: "european" | "american";
|
|
5209
|
+
betOutcomes: RouletteBetOutcomes;
|
|
5210
|
+
result: number[];
|
|
5211
|
+
}
|
|
4749
5212
|
export interface Action {
|
|
4750
5213
|
id: string;
|
|
4751
5214
|
data: {
|
|
@@ -4757,6 +5220,7 @@ export interface Action {
|
|
|
4757
5220
|
WHEEL?: WheelStartAction | EndAction;
|
|
4758
5221
|
PLINKO?: PlinkoStartAction | EndAction;
|
|
4759
5222
|
ADVANCED_DICE?: AdvancedDiceStartAction | EndAction;
|
|
5223
|
+
ROULETTE?: RouletteStartAction | RouletteEndAction;
|
|
4760
5224
|
};
|
|
4761
5225
|
betAmount: string | null;
|
|
4762
5226
|
payoutAmount: string | null;
|
|
@@ -4832,7 +5296,7 @@ declare class HistoryController extends EventTarget {
|
|
|
4832
5296
|
loadClientSeed(): Promise<void>;
|
|
4833
5297
|
updateClientSeed(newSeed: string): void;
|
|
4834
5298
|
}
|
|
4835
|
-
export type BaseSound = "bet" | "christmas-win" | "click" | "dice-roll" | "dice-tick" | "half-double" | "horrorgami-mines-bomb" | "horrorgami-mines-tile-click" | "horrorgami-win" | "keno-clear" | "keno-gem" | "limbo-tick" | "mines-bomb" | "mines-gem" | "plinko-drop" | "secondary" | "toggle" | "win";
|
|
5299
|
+
export type BaseSound = "bet" | "christmas-win" | "click" | "dice-roll" | "dice-tick" | "half-double" | "horrorgami-mines-bomb" | "horrorgami-mines-tile-click" | "horrorgami-win" | "keno-clear" | "keno-gem" | "limbo-tick" | "mines-bomb" | "mines-gem" | "plinko-drop" | "roulette-bouncing" | "roulette-spinning" | "secondary" | "toggle" | "win";
|
|
4836
5300
|
interface GameHost$2 {
|
|
4837
5301
|
gameData: gameContextType;
|
|
4838
5302
|
addController(controller: any): void;
|
|
@@ -4844,7 +5308,7 @@ declare class SoundController {
|
|
|
4844
5308
|
private buffer;
|
|
4845
5309
|
private spriteMap;
|
|
4846
5310
|
constructor(host: GameHost$2);
|
|
4847
|
-
play(soundKey: BaseSound, muted?: boolean, pitch?: number, volume?: number, onEndCallback?: () => void): Promise<AudioBufferSourceNode | void>;
|
|
5311
|
+
play(soundKey: BaseSound, muted?: boolean, pitch?: number, volume?: number, onEndCallback?: () => void, loop?: boolean): Promise<AudioBufferSourceNode | void>;
|
|
4848
5312
|
}
|
|
4849
5313
|
export type gameContextType = {
|
|
4850
5314
|
betAmount: string;
|
|
@@ -5039,6 +5503,7 @@ declare abstract class GameComponent extends OrigamiElement {
|
|
|
5039
5503
|
protected autobetStopping: boolean;
|
|
5040
5504
|
static soundsToPreload: string[];
|
|
5041
5505
|
static styles: import("lit").CSSResult[];
|
|
5506
|
+
protected onBetAmountChange: (_oldBetAmount: string, _newBetAmount: string) => void;
|
|
5042
5507
|
private gameConsumer;
|
|
5043
5508
|
get gameData(): gameContextType;
|
|
5044
5509
|
get isDemoMode(): boolean;
|
|
@@ -5655,5 +6120,76 @@ export declare class AdvancedDiceGame extends GameComponent {
|
|
|
5655
6120
|
private handleBoundsInputValidityChange;
|
|
5656
6121
|
render(): import("lit-html").TemplateResult<1>;
|
|
5657
6122
|
}
|
|
6123
|
+
export type RouletteStartArgs = {
|
|
6124
|
+
currency: Currency;
|
|
6125
|
+
language: Language;
|
|
6126
|
+
};
|
|
6127
|
+
declare class RouletteApi {
|
|
6128
|
+
private authToken;
|
|
6129
|
+
private baseUrl;
|
|
6130
|
+
constructor(authToken: string, baseUrl: string);
|
|
6131
|
+
startBet(data: RouletteStartArgs & {
|
|
6132
|
+
gameInputs: RouletteStartAction;
|
|
6133
|
+
}): Promise<StartBetResponse>;
|
|
6134
|
+
}
|
|
6135
|
+
declare class MockRouletteApi {
|
|
6136
|
+
startBet(data: RouletteStartArgs & {
|
|
6137
|
+
gameInputs: RouletteStartAction;
|
|
6138
|
+
}): Promise<{
|
|
6139
|
+
success: true;
|
|
6140
|
+
data: BetResult;
|
|
6141
|
+
}>;
|
|
6142
|
+
}
|
|
6143
|
+
export declare class RouletteGame extends GameComponent {
|
|
6144
|
+
static styles: import("lit").CSSResult[];
|
|
6145
|
+
private isManualPlaying;
|
|
6146
|
+
private betResult;
|
|
6147
|
+
private history;
|
|
6148
|
+
private perClickAmount;
|
|
6149
|
+
private hitNumber;
|
|
6150
|
+
private showMobileOverlay;
|
|
6151
|
+
private displayedHitNumber;
|
|
6152
|
+
private lastResultNumber;
|
|
6153
|
+
private showWinPopup;
|
|
6154
|
+
private newBalance;
|
|
6155
|
+
private chipEvents;
|
|
6156
|
+
private ballLandResolver;
|
|
6157
|
+
private _manualEl?;
|
|
6158
|
+
private _autoEl?;
|
|
6159
|
+
constructor();
|
|
6160
|
+
get rouletteType(): RouletteType;
|
|
6161
|
+
private adjustPerClickAmount;
|
|
6162
|
+
/**
|
|
6163
|
+
* Derive the current chip state from events.
|
|
6164
|
+
*/
|
|
6165
|
+
get derivedChips(): Map<string, number>;
|
|
6166
|
+
get rouletteApi(): RouletteApi | MockRouletteApi;
|
|
6167
|
+
get isToggleDisabled(): boolean;
|
|
6168
|
+
get areInputsDisabled(): boolean;
|
|
6169
|
+
get canUndo(): boolean;
|
|
6170
|
+
get canClear(): boolean;
|
|
6171
|
+
get totalBetAmount(): number;
|
|
6172
|
+
get maxAllowedAmount(): number;
|
|
6173
|
+
protected onBetAmountChange: (oldBetAmount: string, newBetAmount: string) => void;
|
|
6174
|
+
get isDoubleDisabled(): boolean;
|
|
6175
|
+
get maxPossiblePayout(): number;
|
|
6176
|
+
watchDerivedChips(): void;
|
|
6177
|
+
private addChip;
|
|
6178
|
+
private handlePerClickAmountChange;
|
|
6179
|
+
private isMaxPayoutExceeded;
|
|
6180
|
+
private handleGridClick;
|
|
6181
|
+
private handleUndo;
|
|
6182
|
+
private handleClear;
|
|
6183
|
+
private handleAdjustTotalBet;
|
|
6184
|
+
private addToHistory;
|
|
6185
|
+
private extractHitNumberFromActions;
|
|
6186
|
+
private applyBetResult;
|
|
6187
|
+
private waitForAutobetDisplay;
|
|
6188
|
+
private handleBetExecution;
|
|
6189
|
+
private handleBallLand;
|
|
6190
|
+
roulettePlay(): Promise<void>;
|
|
6191
|
+
protected executeAutobet(_autobetSettings: AutobetSettings, _currentBetAmount: string): Promise<GameBetResult>;
|
|
6192
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
6193
|
+
}
|
|
5658
6194
|
|
|
5659
6195
|
export {};
|