[add] slotAE

This commit is contained in:
建喵 2023-12-07 11:52:36 +08:00
parent f878c7429b
commit 34d283d6a9
2 changed files with 18 additions and 2 deletions

View File

@ -4,7 +4,7 @@ import CSSettingsSDV3 from "@/FormTableSD/CSSettingsSDV3";
import { gameObj } from "@/context/GameItemsContext"; import { gameObj } from "@/context/GameItemsContext";
import GameManager from "@/modules/GameManager"; import GameManager from "@/modules/GameManager";
import { NumberEx } from "@/utils/Number/NumberEx"; import { NumberEx } from "@/utils/Number/NumberEx";
import { CommonSlotFgSpinRequest, CommonSlotSpinRequest } from "../Request/CommonSlotRequest"; import { CommonSlotAERequest, CommonSlotFgSpinRequest, CommonSlotSpinRequest } from "../Request/CommonSlotRequest";
import { Slot_ChoiceRequest } from "../Request/SlotRequest"; import { Slot_ChoiceRequest } from "../Request/SlotRequest";
@ -104,6 +104,9 @@ export class SlotBase {
this.addLog(`Slot${this.ID} Spin Bet: ${GameManager.SlotData.NowBet}, Ratio: ${ratio}, Money: ${money}${winMoneyLog}${freeLog}`); this.addLog(`Slot${this.ID} Spin Bet: ${GameManager.SlotData.NowBet}, Ratio: ${ratio}, Money: ${money}${winMoneyLog}${freeLog}`);
} }
this.addLog(`Slot${this.ID} Spin Bet: ${GameManager.SlotData.NowBet}, Money: ${money}${winMoneyLog}${freeLog}`); this.addLog(`Slot${this.ID} Spin Bet: ${GameManager.SlotData.NowBet}, Money: ${money}${winMoneyLog}${freeLog}`);
if (ratio > 0) {
this.slotAE();
}
} }
public * FreeSpin(freeCount: number) { public * FreeSpin(freeCount: number) {
@ -184,7 +187,10 @@ export class SlotBase {
return this.FreeID; return this.FreeID;
} }
// private *slotAE() { } private slotAE(): void {
let req: CommonSlotAERequest = new CommonSlotAERequest();
req.Send();
}
//#endregion //#endregion
} }

View File

@ -76,3 +76,13 @@ export class CommonBingoChangeSet extends NetRequestSD<any, JSON> {
} }
} }
//======================================================================================= //=======================================================================================
/** 動畫結束通知 */
export class CommonSlotAERequest extends NetRequestSD<null, null> {
get Method(): string {
return "slot.ae";
}
constructor() {
super();
}
}
//=======================================================================================