pixi-rainman-game-engine 0.1.29 → 0.1.30
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/connectivity/serverData.d.ts +1 -1
- package/dist/connectivity/wins.d.ts +7 -1
- package/dist/constants/wins.d.ts +2 -0
- package/dist/constants/wins.js +2 -0
- package/dist/controllers/AbstractController.d.ts +1 -0
- package/dist/controllers/AbstractController.js +2 -0
- package/package.json +1 -1
|
@@ -50,13 +50,19 @@ export type ScatterWin = BaseWin & {
|
|
|
50
50
|
export type RouletteWin = BaseWin & {
|
|
51
51
|
type: typeof PossibleWins.roulette;
|
|
52
52
|
};
|
|
53
|
+
export type MultiWin = BaseWin & {
|
|
54
|
+
type: typeof PossibleWins.multi;
|
|
55
|
+
};
|
|
56
|
+
export type JokerWin = BaseWin & {
|
|
57
|
+
type: typeof PossibleWins.joker;
|
|
58
|
+
};
|
|
53
59
|
export type JackpotWin = BaseWin & {
|
|
54
60
|
type: typeof PossibleWins.jackpotMini | typeof PossibleWins.jackpotMinor | typeof PossibleWins.jackpotMajor | typeof PossibleWins.jackpotGrand;
|
|
55
61
|
};
|
|
56
62
|
export type CoinWin = BaseWin & {
|
|
57
63
|
type: typeof PossibleWins.coin;
|
|
58
64
|
};
|
|
59
|
-
export type Win = StreakWin | FreeSpinWin | GambleWin | MysteryWin | EggWin | GoldWin | BigWin | BonusWin | SuperBonusWin | ScatterWin | RouletteWin | JackpotWin | CoinWin;
|
|
65
|
+
export type Win = StreakWin | FreeSpinWin | GambleWin | MysteryWin | EggWin | GoldWin | BigWin | BonusWin | SuperBonusWin | ScatterWin | RouletteWin | JackpotWin | CoinWin | MultiWin | JokerWin;
|
|
60
66
|
/**
|
|
61
67
|
* Type represents data that come from backend
|
|
62
68
|
*
|
package/dist/constants/wins.d.ts
CHANGED
package/dist/constants/wins.js
CHANGED
|
@@ -75,6 +75,7 @@ export declare abstract class AbstractController<T> {
|
|
|
75
75
|
protected canSkipActions(): boolean;
|
|
76
76
|
protected onSpinningStart(): Promise<void>;
|
|
77
77
|
protected onSpinningEnd(_spinLogic: SpinLogic): Promise<void>;
|
|
78
|
+
protected performActionsAfterSpin(): void;
|
|
78
79
|
private spin;
|
|
79
80
|
private handleFreeSpinPlateInvocation;
|
|
80
81
|
protected handleFreeSpinSummaryPlateInvocation(): Promise<void>;
|
|
@@ -421,6 +421,7 @@ export class AbstractController {
|
|
|
421
421
|
}
|
|
422
422
|
async onSpinningStart() { }
|
|
423
423
|
async onSpinningEnd(_spinLogic) { }
|
|
424
|
+
performActionsAfterSpin() { }
|
|
424
425
|
async spin() {
|
|
425
426
|
if (this.uiController.currentBalance < RainMan.settingsStore.bet) {
|
|
426
427
|
try {
|
|
@@ -541,6 +542,7 @@ export class AbstractController {
|
|
|
541
542
|
RainMan.settingsStore.setRoundNumber(this.roundNumber);
|
|
542
543
|
this.handleDisablingButtons();
|
|
543
544
|
RainMan.settingsStore.setModalsAvailability(true);
|
|
545
|
+
this.performActionsAfterSpin();
|
|
544
546
|
}
|
|
545
547
|
async handleFreeSpinPlateInvocation(numberOfFreeSpins, isAdditionalFreeSpin = false) {
|
|
546
548
|
await this.buttonsEventManager.disableButtonsForAction(async () => {
|
package/package.json
CHANGED