import UserModel, { UserAttr, NetUserModel, UserConfigName } from "../game_module/UserModel";
import { CfgManager } from "./CfgManager";

export class DateController{
    // public static PlayerInfo(){
    //     var usermodel:NetUserModel=UserModel.Instance.CurModel;
    //     PlayerManager.Instance.EquipTrain=Number(usermodel.GetUserAttr(UserAttr.equip_train)) ;
    //     PlayerManager.Instance.CurLevel=Number(usermodel.GetUserAttr(UserAttr.stage))+1;
    //     PlayerManager.Instance.SetTrains=usermodel.GetUserAttr(UserAttr.get_trains);
    //     PlayerManager.Instance.SetProTrains=usermodel.GetUserAttr(UserAttr.progress_trains);
    //     PlayerManager.Instance.setMoney=Number(usermodel.GetUserAttr(UserAttr.money));
    //     PlayerManager.Instance.sign=usermodel.m_user_sign;
    // }

    // public static SetCfg(){
    //     var usermodel:NetUserModel=UserModel.Instance.CurModel;
    //     CfgManager.Instance.train_cfg=usermodel.GetCfg(UserConfigName.train);
    //     CfgManager.Instance.sign_cfg=usermodel.GetCfg(UserConfigName.sign);
    //     CfgManager.Instance.rewards_cfg=usermodel.GetCfg(UserConfigName.rewards);
    // }

}