"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PostCustomRevive = void 0;
const ISCFeature_1 = require("../../enums/ISCFeature");
const CustomCallback_1 = require("../private/CustomCallback");
class PostCustomRevive extends CustomCallback_1.CustomCallback {
    constructor() {
        super();
        this.featuresUsed = [ISCFeature_1.ISCFeature.CUSTOM_REVIVE];
    }
    shouldFire = (fireArgs, optionalArgs) => {
        const [_player, revivalType] = fireArgs;
        const [callbackRevivalType] = optionalArgs;
        return (callbackRevivalType === undefined || revivalType === callbackRevivalType);
    };
}
exports.PostCustomRevive = PostCustomRevive;
