BattleInfoPlugin.Models.MembersShipData.UpdateFromSource C# (CSharp) Метод

UpdateFromSource() приватный Метод

private UpdateFromSource ( ) : void
Результат void
        private void UpdateFromSource()
        {
            this.Id = this.Source.Id;
            this.Name = this.Source.Info.Name;
            this.TypeName = this.Source.Info.ShipType.Name;
            this.Level = this.Source.Level;
            this.Situation = this.Source.Situation;
            this.NowHP = this.Source.HP.Current;
            this.MaxHP = this.Source.HP.Maximum;
            this.Slots = this.Source.Slots
                .Where(s => s != null)
                .Where(s => s.Equipped)
                .Select(s => new ShipSlotData(s)).ToArray();
            this.ExSlot = new ShipSlotData(this.Source.ExSlot);

            this.Firepower = this.Source.Firepower.Current;
            this.Torpedo = this.Source.Torpedo.Current;
            this.AA = this.Source.AA.Current;
            this.Armer = this.Source.Armer.Current;
            this.Luck = this.Source.Luck.Current;
        }