public void AsText(StringBuilder b, int pad) { b.Append(' ', pad); b.AppendLine("SceneCachedValues:"); b.Append(' ', pad++); b.AppendLine("{"); b.Append(' ', pad); b.AppendLine("Unknown1: 0x" + Unknown1.ToString("X8") + " (" + Unknown1 + ")"); b.Append(' ', pad); b.AppendLine("Unknown2: 0x" + Unknown2.ToString("X8") + " (" + Unknown2 + ")"); b.Append(' ', pad); b.AppendLine("Unknown3: 0x" + Unknown3.ToString("X8") + " (" + Unknown3 + ")"); AABB1.AsText(b, pad); AABB2.AsText(b, pad); b.Append(' ', pad); b.AppendLine("Unknown4:"); b.Append(' ', pad); b.AppendLine("{"); for (int i = 0; i < Unknown4.Length;) { b.Append(' ', pad + 1); for (int j = 0; j < 8 && i < Unknown4.Length; j++, i++) { b.Append("0x" + Unknown4[i].ToString("X8") + ", "); } b.AppendLine(); } b.Append(' ', pad); b.AppendLine("}"); b.AppendLine(); b.Append(' ', pad); b.AppendLine("Unknown5: 0x" + Unknown5.ToString("X8") + " (" + Unknown5 + ")"); b.Append(' ', --pad); b.AppendLine("}"); }