"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 ck on 2018/5/2
 */
// import { IData } from "../../../../tc/interface/IData";
var Data_1 = require("../Data");
var PetsIndexData = (function (_super) {
    __extends(PetsIndexData, _super);
    function PetsIndexData() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        /**
         * 用户自定义参数
         */
        _this.dcustom = {};
        return _this;
    }
    PetsIndexData.prototype.update = function (result) {
        if (!result) {
            return;
        }
        this.credits = result.credits;
        this.creditsUnitName = result.creditsUnitName;
        this.uid = result.uid;
        this.appId = result.appId;
        this.notLogin = result.notLogin;
        this.goodsDomain = result.goodsDomain;
        this.homeDomain = result.homeDomain;
        this.embedDomain = result.embedDomain;
        this.dcustom = result.dcustom;
        this.activityId = result.activityId;
        this.consumerId = result.consumerId;
    };
    return PetsIndexData;
}(Data_1.Data));
exports.PetsIndexData = PetsIndexData;
__reflect(PetsIndexData.prototype, "\"/Users/chiwang/Desktop/\u5151\u5427\u5DE5\u4F5C/gameegret20181011/db-game-template/egret/libs/tw/data/pets/PetsIndexData\".PetsIndexData");
//# sourceMappingURL=PetsIndexData.js.map