private KCDatabase() { MasterShips = new IDDictionary <ShipDataMaster>(); ShipTypes = new IDDictionary <ShipType>(); MasterEquipments = new IDDictionary <EquipmentDataMaster>(); EquipmentTypes = new IDDictionary <EquipmentType>(); MasterUseItems = new IDDictionary <UseItemMaster>(); MapArea = new IDDictionary <MapAreaData>(); MapInfo = new IDDictionary <MapInfoData>(); Mission = new IDDictionary <MissionData>(); m_updatedMasterShips = new IDDictionary <ShipDataMaster>(); m_updatedShipTypes = new IDDictionary <ShipType>(); m_updatedEquipmentDataMaster = new IDDictionary <EquipmentDataMaster>(); m_updatedEquipmentTypes = new IDDictionary <EquipmentType>(); m_updatedUseItemMaster = new IDDictionary <UseItemMaster>(); m_updatedMapAreaData = new IDDictionary <MapAreaData>(); m_updatedMapInfoData = new IDDictionary <MapInfoData>(); m_updatedMissionData = new IDDictionary <MissionData>(); m_newAddedMasterShips = new IDDictionary <ShipDataMaster>(); m_newAddedShipTypes = new IDDictionary <ShipType>(); m_newAddedEquipmentDataMaster = new IDDictionary <EquipmentDataMaster>(); m_newAddedEquipmentTypes = new IDDictionary <EquipmentType>(); m_newAddedUseItemMaster = new IDDictionary <UseItemMaster>(); m_newAddedMapAreaData = new IDDictionary <MapAreaData>(); m_newAddedMapInfoData = new IDDictionary <MapInfoData>(); m_newAddedMissionData = new IDDictionary <MissionData>(); }
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(); }
public FleetManager() { Fleets = new IDDictionary <FleetData>(); AnchorageRepairingTimer = DateTime.MinValue; ConditionPredictMin = 0; ConditionPredictMax = ConditionHealingSpan.TotalSeconds * 2; LastConditionUpdated = DateTime.Now; PreviousShips = new IDDictionary <ShipData>(); IsAnchorageRepaired = new Dictionary <int, bool>(); }
/// <summary> /// 更新直前の艦船データをコピーして退避します。 /// </summary> public void EvacuatePreviousShips() { if (Fleets.Values.Any(f => f != null && f.IsInSortie)) { return; } PreviousShips = new IDDictionary <ShipData>(KCDatabase.Instance.Ships.Values); IsAnchorageRepaired = Fleets.ToDictionary(f => f.Key, f => f.Value.CanAnchorageRepair); PreviousDockingID = new HashSet <int>(KCDatabase.Instance.Docks.Values.Select(d => d.ShipID)); }
public override void Initialize() { ShipGroups = new IDDictionary <ShipGroupData>(); }
public FleetManager() { Fleets = new IDDictionary <FleetData>(); AnchorageRepairingTimer = DateTime.MinValue; }
public QuestManager() { Quests = new IDDictionary <QuestData>(); IsLoaded = false; }
public BaseAirCorpsData() { Squadrons = new IDDictionary <BaseAirCorpsSquadron>(); }
public QuestManager() { Quests = new IDDictionary <QuestData>(); IsLoaded = false; _prevTime = DateTime.Now; }
public FleetPresetManager() { Presets = new IDDictionary <FleetPresetData>(); }