/// <summary> Explicit constructor. </summary> public GoalStatus(GoalID GoalId, byte Status, string Text) { this.GoalId = GoalId; this.Status = Status; this.Text = Text; }
/// <summary> Constructor with buffer. </summary> internal GoalStatus(ref Buffer b) { GoalId = new GoalID(ref b); Status = b.Deserialize <byte>(); Text = b.DeserializeString(); }
/// <summary> Constructor for empty message. </summary> public GoalStatus() { GoalId = new GoalID(); Text = string.Empty; }