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