Beispiel #1
0
 private KCDatabase()
 {
     MasterShips         = new IDDictionary <ShipDataMaster>();
     ShipTypes           = new IDDictionary <ShipType>();
     ShipGraphics        = new IDDictionary <ShipGraphicData>();
     MasterEquipments    = new IDDictionary <EquipmentDataMaster>();
     EquipmentTypes      = new IDDictionary <EquipmentType>();
     Ships               = new IDDictionary <ShipData>();
     Equipments          = new IDDictionary <EquipmentData>();
     Admiral             = new AdmiralData();
     MasterUseItems      = new IDDictionary <UseItemMaster>();
     UseItems            = new IDDictionary <UseItem>();
     Arsenals            = new IDDictionary <ArsenalData>();
     Docks               = new IDDictionary <DockData>();
     Development         = new DevelopmentData();
     Fleet               = new FleetManager();
     Material            = new MaterialData();
     Quest               = new QuestManager();
     QuestProgress       = new QuestProgressManager();
     Battle              = new BattleManager();
     MapArea             = new IDDictionary <MapAreaData>();
     MapInfo             = new IDDictionary <MapInfoData>();
     Mission             = new IDDictionary <MissionData>();
     ShipGroup           = new ShipGroupManager();
     BaseAirCorps        = new IDDictionary <BaseAirCorpsData>();
     RelocatedEquipments = new IDDictionary <RelocationData>();
     FleetPreset         = new FleetPresetManager();
 }
Beispiel #2
0
 public void Load()
 {
     {
         var temp = (ShipGroupManager)ShipGroup.Load();
         if (temp != null)
         {
             ShipGroup = temp;
         }
     }
     {
         var temp = QuestProgress.Load();
         if (temp != null)
         {
             if (QuestProgress != null)
             {
                 QuestProgress.RemoveEvents();
             }
             QuestProgress = temp;
         }
     }
 }
		public void Load() {

			{
				var temp = (ShipGroupManager)ShipGroup.Load();
				if ( temp != null )
					ShipGroup = temp;
			}
			{
				var temp = QuestProgress.Load();
				if ( temp != null ) {
					if ( QuestProgress != null )
						QuestProgress.RemoveEvents();
					QuestProgress = temp;
				}
			}

		}
		private KCDatabase() {

			MasterShips = new IDDictionary<ShipDataMaster>();
			ShipTypes = new IDDictionary<ShipType>();
			MasterEquipments = new IDDictionary<EquipmentDataMaster>();
			EquipmentTypes = new IDDictionary<EquipmentType>();
			Ships = new IDDictionary<ShipData>();
			Equipments = new IDDictionary<EquipmentData>();
			Admiral = new AdmiralData();
			MasterUseItems = new IDDictionary<UseItemMaster>();
			UseItems = new IDDictionary<UseItem>();
			Arsenals = new IDDictionary<ArsenalData>();
			Docks = new IDDictionary<DockData>();
			Fleet = new FleetManager();
			Material = new MaterialData();
			Quest = new QuestManager();
			QuestProgress = new QuestProgressManager();
			Battle = new BattleManager();
			MapInfo = new IDDictionary<MapInfoData>();
			Mission = new IDDictionary<MissionData>();
			ShipGroup = new ShipGroupManager();

		}