"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GameEventSubscription = void 0;
/**游戏订阅句柄*/
class GameEventSubscription {
    event;
    callback;
    constructor(event, callback) {
        this.event = event;
        this.callback = callback;
    }
    /**取消订阅事件 */
    unsubscribe() {
        this.event.unsubscribe(this.callback);
    }
}
exports.GameEventSubscription = GameEventSubscription;
