[add] slotAE
This commit is contained in:
		| @@ -4,7 +4,7 @@ import CSSettingsSDV3 from "@/FormTableSD/CSSettingsSDV3"; | ||||
| import { gameObj } from "@/context/GameItemsContext"; | ||||
| import GameManager from "@/modules/GameManager"; | ||||
| 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"; | ||||
|  | ||||
|  | ||||
| @@ -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}, Money: ${money}${winMoneyLog}${freeLog}`); | ||||
| 		if (ratio > 0) { | ||||
| 			this.slotAE(); | ||||
| 		} | ||||
| 	} | ||||
|  | ||||
| 	public * FreeSpin(freeCount: number) { | ||||
| @@ -184,7 +187,10 @@ export class SlotBase { | ||||
| 		return this.FreeID; | ||||
| 	} | ||||
|  | ||||
| 	// private *slotAE() { } | ||||
| 	private slotAE(): void { | ||||
| 		let req: CommonSlotAERequest = new CommonSlotAERequest(); | ||||
| 		req.Send(); | ||||
| 	} | ||||
|  | ||||
| 	//#endregion | ||||
| } | ||||
|   | ||||
| @@ -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(); | ||||
| 	} | ||||
| } | ||||
| //======================================================================================= | ||||
		Reference in New Issue
	
	Block a user