Inheritance: CountdownModelBase
        internal FleetConditionRegenerationViewModel(FleetConditionRegeneration rpSource)
        {
            r_Source = rpSource;

            Observable.FromEventPattern<PropertyChangedEventArgs>(r_Source, nameof(r_Source.PropertyChanged))
                .Select(r => r.EventArgs.PropertyName).Subscribe(OnPropertyChanged);
        }
Esempio n. 2
0
        internal Fleet(Port rpPort, RawFleet rpRawData) : base(rpRawData)
        {
            Port = rpPort;

            Status                = new FleetStatus(this);
            Resupply              = new FleetResupplyInfo(this);
            ExpeditionStatus      = new FleetExpeditionStatus(this);
            ConditionRegeneration = new FleetConditionRegeneration(this);
            AnchorageRepair       = new FleetAnchorageRepair(this);

            OnRawDataUpdated();
        }