Ejemplo n.º 1
0
 public override void AsText(StringBuilder b, int pad)
 {
     b.Append(' ', pad);
     b.AppendLine("ACDChangeGBHandleMessage:");
     b.Append(' ', pad++);
     b.AppendLine("{");
     b.Append(' ', pad); b.AppendLine("Field0: 0x" + Field0.ToString("X8") + " (" + Field0 + ")");
     Field1.AsText(b, pad);
     b.Append(' ', --pad);
     b.AppendLine("}");
 }
Ejemplo n.º 2
0
 public override void AsText(StringBuilder b, int pad)
 {
     b.Append(' ', pad);
     b.AppendLine("ACDEnterKnownMessage:");
     b.Append(' ', pad++);
     b.AppendLine("{");
     b.Append(' ', pad); b.AppendLine("ActorID: 0x" + ActorID.ToString("X8") + " (" + ActorID + ")");
     b.Append(' ', pad); b.AppendLine("ActorSNOId: 0x" + ActorSNOId.ToString("X8"));
     b.Append(' ', pad); b.AppendLine("Field2: 0x" + Field2.ToString("X8") + " (" + Field2 + ")");
     b.Append(' ', pad); b.AppendLine("Field3: 0x" + Field3.ToString("X8") + " (" + Field3 + ")");
     if (WorldLocation != null)
     {
         WorldLocation.AsText(b, pad);
     }
     if (InventoryLocation != null)
     {
         InventoryLocation.AsText(b, pad);
     }
     GBHandle.AsText(b, pad);
     b.Append(' ', pad); b.AppendLine("Field7: 0x" + Field7.ToString("X8") + " (" + Field7 + ")");
     b.Append(' ', pad); b.AppendLine("NameSNOId: 0x" + NameSNOId.ToString("X8") + " (" + NameSNOId + ")");
     b.Append(' ', pad); b.AppendLine("Quality: 0x" + Quality.ToString("X8") + " (" + Quality + ")");
     b.Append(' ', pad); b.AppendLine("Field10: 0x" + Field10.ToString("X2"));
     if (Field11.HasValue)
     {
         b.Append(' ', pad); b.AppendLine("Field11.Value: 0x" + Field11.Value.ToString("X8"));
     }
     if (MarkerSetSNO.HasValue)
     {
         b.Append(' ', pad); b.AppendLine("MarkerSetSNO.Value: 0x" + MarkerSetSNO.Value.ToString("X8") + " (" + MarkerSetSNO.Value + ")");
     }
     if (MarkerSetIndex.HasValue)
     {
         b.Append(' ', pad); b.AppendLine("MarkerSetIndex.Value: 0x" + MarkerSetIndex.Value.ToString("X8") + " (" + MarkerSetIndex.Value + ")");
     }
     b.Append(' ', --pad);
     b.AppendLine("}");
 }
Ejemplo n.º 3
0
 public override void AsText(StringBuilder b, int pad)
 {
     b.Append(' ', pad);
     b.AppendLine("ACDEnterKnownMessage:");
     b.Append(' ', pad++);
     b.AppendLine("{");
     b.Append(' ', pad); b.AppendLine("Field0: 0x" + Field0.ToString("X8") + " (" + Field0 + ")");
     b.Append(' ', pad); b.AppendLine("Field1: 0x" + Field1.ToString("X8"));
     b.Append(' ', pad); b.AppendLine("Field2: 0x" + Field2.ToString("X8") + " (" + Field2 + ")");
     b.Append(' ', pad); b.AppendLine("Field3: 0x" + Field3.ToString("X8") + " (" + Field3 + ")");
     if (Field4 != null)
     {
         Field4.AsText(b, pad);
     }
     if (Field5 != null)
     {
         Field5.AsText(b, pad);
     }
     Field6.AsText(b, pad);
     b.Append(' ', pad); b.AppendLine("Field7: 0x" + Field7.ToString("X8") + " (" + Field7 + ")");
     b.Append(' ', pad); b.AppendLine("Field8: 0x" + Field8.ToString("X8") + " (" + Field8 + ")");
     b.Append(' ', pad); b.AppendLine("Field9: 0x" + Field9.ToString("X8") + " (" + Field9 + ")");
     b.Append(' ', pad); b.AppendLine("Field10: 0x" + Field10.ToString("X2"));
     if (Field11.HasValue)
     {
         b.Append(' ', pad); b.AppendLine("Field11.Value: 0x" + Field11.Value.ToString("X8"));
     }
     if (Field12.HasValue)
     {
         b.Append(' ', pad); b.AppendLine("Field12.Value: 0x" + Field12.Value.ToString("X8") + " (" + Field12.Value + ")");
     }
     if (Field13.HasValue)
     {
         b.Append(' ', pad); b.AppendLine("Field13.Value: 0x" + Field13.Value.ToString("X8") + " (" + Field13.Value + ")");
     }
     b.Append(' ', --pad);
     b.AppendLine("}");
 }