Beispiel #1
0
 public void AsText(StringBuilder b, int pad)
 {
     b.Append(' ', pad);
     b.AppendLine("InventoryLocationMessageData:");
     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") + " (" + Field1 + ")");
     Field2.AsText(b, pad);
     b.Append(' ', --pad);
     b.AppendLine("}");
 }
Beispiel #2
0
 public void AsText(StringBuilder b, int pad)
 {
     b.Append(' ', pad);
     b.AppendLine("SceneSpecification:");
     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("arSnoLevelAreas:");
     b.Append(' ', pad);
     b.AppendLine("{");
     for (int i = 0; i < arSnoLevelAreas.Length;)
     {
         b.Append(' ', pad + 1);
         for (int j = 0; j < 8 && i < arSnoLevelAreas.Length; j++, i++)
         {
             b.Append("0x" + arSnoLevelAreas[i].ToString("X8") + ", ");
         }
         b.AppendLine();
     }
     b.Append(' ', pad);
     b.AppendLine("}");
     b.AppendLine();
     b.Append(' ', pad);
     b.AppendLine("snoPrevWorld: 0x" + snoPrevWorld.ToString("X8"));
     b.Append(' ', pad);
     b.AppendLine("Field4: 0x" + Field4.ToString("X8") + " (" + Field4 + ")");
     b.Append(' ', pad);
     b.AppendLine("snoPrevLevelArea: 0x" + snoPrevLevelArea.ToString("X8"));
     b.Append(' ', pad);
     b.AppendLine("snoNextWorld: 0x" + snoNextWorld.ToString("X8"));
     b.Append(' ', pad);
     b.AppendLine("Field7: 0x" + Field7.ToString("X8") + " (" + Field7 + ")");
     b.Append(' ', pad);
     b.AppendLine("snoNextLevelArea: 0x" + snoNextLevelArea.ToString("X8"));
     b.Append(' ', pad);
     b.AppendLine("snoMusic: 0x" + snoMusic.ToString("X8"));
     b.Append(' ', pad);
     b.AppendLine("snoCombatMusic: 0x" + snoCombatMusic.ToString("X8"));
     b.Append(' ', pad);
     b.AppendLine("snoAmbient: 0x" + snoAmbient.ToString("X8"));
     b.Append(' ', pad);
     b.AppendLine("snoReverb: 0x" + snoReverb.ToString("X8"));
     b.Append(' ', pad);
     b.AppendLine("snoWeather: 0x" + snoWeather.ToString("X8"));
     b.Append(' ', pad);
     b.AppendLine("snoPresetWorld: 0x" + snoPresetWorld.ToString("X8"));
     b.Append(' ', pad);
     b.AppendLine("Field15: 0x" + Field15.ToString("X8") + " (" + Field15 + ")");
     b.Append(' ', pad);
     b.AppendLine("Field16: 0x" + Field16.ToString("X8") + " (" + Field16 + ")");
     b.Append(' ', pad);
     b.AppendLine("Field17: 0x" + Field17.ToString("X8") + " (" + Field17 + ")");
     b.Append(' ', pad);
     b.AppendLine("Field18: 0x" + Field18.ToString("X8") + " (" + Field18 + ")");
     tCachedValues.AsText(b, pad);
     b.Append(' ', --pad);
     b.AppendLine("}");
 }