GW2PAO.Modules.Tasks.Models.PlayerTask.PlayerTask C# (CSharp) Method

PlayerTask() public method

Constructs a new player task object using the data from the given task
public PlayerTask ( PlayerTask other ) : System
other PlayerTask The other task to construct from
return System
        public PlayerTask(PlayerTask other)
        {
            this.ID = other.ID;
            this.Name = other.Name;
            this.Description = other.Description;
            this.IsCompletable = other.IsCompletable;
            this.IsAccountCompleted = other.IsAccountCompleted;
            this.IsCompletedPerCharacter = other.IsCompletedPerCharacter;
            this.AutoComplete = other.AutoComplete;
            this.IsDailyReset = other.IsDailyReset;
            this.ContinentLocation = other.Location;
            this.Location = other.Location;
            this.MapID = other.MapID;
            this.IconUri = other.IconUri;
            this.WaypointCode = other.WaypointCode;
            
            foreach (var character in other.CharacterCompletions.Keys)
            {
                this.CharacterCompletions.Add(character, other.CharacterCompletions[character]);
            }
        }
    }

Same methods

PlayerTask::PlayerTask ( ) : System
PlayerTask