"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 });
/**
 *Created by huangwenjie on 2018/7/18
 * 复活操作
 */
var Data_1 = require("../../Data");
var DoReviveData = (function (_super) {
    __extends(DoReviveData, _super);
    function DoReviveData() {
        return _super.call(this) || this;
    }
    DoReviveData.prototype.update = function (data) {
        if (!data) {
            return;
        }
        _super.prototype.update.call(this, data);
        this.timestamp = data.timestamp;
        this.isSuccess = data.success;
        this.reviveCardNum = data.data.reviveCardNum;
        this.status = data.data.status;
    };
    return DoReviveData;
}(Data_1.Data));
exports.DoReviveData = DoReviveData;
__reflect(DoReviveData.prototype, "\"/Users/chiwang/Desktop/\u5151\u5427\u5DE5\u4F5C/newGame/saolei19.03.06/db-game-template/egret/libs/tw/data/game/doRevive/DoReviveData\".DoReviveData");
//# sourceMappingURL=DoReviveData.js.map