"use strict";
var __reflect = (this && this.__reflect) || function (p, c, t) {
    p.__class__ = c, t ? t.push(c) : t = [c], p.__types__ = p.__types__ ? t.concat(p.__types__) : t;
};
var __extends = this && this.__extends || function __extends(t, e) { 
 function r() { 
 this.constructor = t;
}
for (var i in e) e.hasOwnProperty(i) && (t[i] = e[i]);
r.prototype = e.prototype, t.prototype = new r();
};
Object.defineProperty(exports, "__esModule", { value: true });
var DataManager_1 = require("./../../manager/DataManager");
var CustomPlayModel_1 = require("./CustomPlayModel");
var CustomPlayBeforModel = (function (_super) {
    __extends(CustomPlayBeforModel, _super);
    function CustomPlayBeforModel() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    /**
     * 中奖资格
     */
    CustomPlayBeforModel.prototype.getFacePrice = function () {
        return DataManager_1.DataManager.ins.getOrderInfoData.facePrice != null && DataManager_1.DataManager.ins.getOrderInfoData.facePrice != -1;
    };
    /**
     * 中奖类型
     */
    CustomPlayBeforModel.prototype.getOptionType = function () {
        return DataManager_1.DataManager.ins.getOrderInfoData.type;
    };
    return CustomPlayBeforModel;
}(CustomPlayModel_1.CustomPlayModel));
exports.CustomPlayBeforModel = CustomPlayBeforModel;
__reflect(CustomPlayBeforModel.prototype, "\"c:/Users/duiba/Documents/zhonghe_answer/egret/libs/tw/model/custom/CustomPlayBeforModel\".CustomPlayBeforModel");
//# sourceMappingURL=CustomPlayBeforModel.js.map