public void __Update__(UserInfoModel user_info, User_StrategyMapFmt strategy_fmt, Dictionary <int, List <Mem_ndock> > ndock_dic, _TankerManager tship_manager) { this._userInfo = user_info; this._strategy_fmt = strategy_fmt; if (ndock_dic.ContainsKey(this.Id)) { this._ndocks = ndock_dic.get_Item(this.Id); } else { this._ndocks = new List <Mem_ndock>(); } this._tship_manager = tship_manager; }
public void __Update__(UserInfoModel user_info, User_StrategyMapFmt strategy_fmt, Dictionary <int, List <Mem_ndock> > ndock_dic, _TankerManager tship_manager) { _userInfo = user_info; _strategy_fmt = strategy_fmt; if (ndock_dic.ContainsKey(Id)) { _ndocks = ndock_dic[Id]; } else { _ndocks = new List <Mem_ndock>(); } _tship_manager = tship_manager; }
public MapAreaModel(UserInfoModel user_info, User_StrategyMapFmt strategy_fmt, Dictionary <int, List <Mem_ndock> > ndock_dic, _TankerManager tship_manager) { this.__Update__(user_info, strategy_fmt, ndock_dic, tship_manager); }