コード例 #1
0
        private void ConstructLookups()
        {
            Lookups lookups = new Lookups();

            lookups.clubNames   = _savegame.Clubs.Values.ToDictionary(x => x.ClubId, x => x.Name);
            lookups.firstNames  = _savegame.FirstNames;
            lookups.secondNames = _savegame.Surnames;
            lookups.commonNames = _savegame.CommonNames;
            lookups.nations     = NationConverter.ConvertNations(_savegame.Nations);
            _displayHelper      = new PlayerDisplayHelper(lookups, _savegame.GameDate);
        }
コード例 #2
0
 public PlayerDisplayHelper(Lookups lookups, DateTime gameDate)
 {
     _lookups  = lookups;
     _gamedate = gameDate;
 }