From c9ec0d258d370f8c6ee110dc0fd3267bdc616bc8 Mon Sep 17 00:00:00 2001 From: JinGen Lim <1116555+jglim@users.noreply.github.com> Date: Wed, 20 Oct 2021 10:31:59 +0800 Subject: [PATCH] Assign name to Unk1F (Presentation, ByteOrder) --- Caesar/Caesar/DiagPresentation.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Caesar/Caesar/DiagPresentation.cs b/Caesar/Caesar/DiagPresentation.cs index 2ea490d..3e3e6f9 100644 --- a/Caesar/Caesar/DiagPresentation.cs +++ b/Caesar/Caesar/DiagPresentation.cs @@ -39,7 +39,7 @@ public class DiagPresentation public int Type_1C; public int Unk1d; public int SignBit; // discovered by @prj : #37 - public int Unk1F; + public int ByteOrder; // discovered by @prj : #37 ; Unset = HiLo, 1 = LoHi public int Unk20; public int TypeLengthBytesMaybe_21; @@ -131,7 +131,7 @@ public DiagPresentation(BinaryReader reader, long baseAddress, int presentations Unk1d = CaesarReader.ReadBitflagInt8(ref bitflags, reader); SignBit = CaesarReader.ReadBitflagInt8(ref bitflags, reader); - Unk1F = CaesarReader.ReadBitflagInt8(ref bitflags, reader); + ByteOrder = CaesarReader.ReadBitflagInt8(ref bitflags, reader); Unk20 = CaesarReader.ReadBitflagInt32(ref bitflags, reader); bitflags = extendedBitflags; @@ -451,7 +451,7 @@ public void PrintDebug() Console.WriteLine($"{nameof(Unk1d)}: {Unk1d}"); Console.WriteLine($"{nameof(SignBit)}: {SignBit}"); - Console.WriteLine($"{nameof(Unk1F)}: {Unk1F}"); + Console.WriteLine($"{nameof(ByteOrder)}: {ByteOrder}"); Console.WriteLine($"{nameof(Unk20)}: {Unk20}"); Console.WriteLine($"{nameof(TypeLengthBytesMaybe_21)}: {TypeLengthBytesMaybe_21}"); @@ -507,7 +507,7 @@ public string CopyMinDebug() sb.Append($" {nameof(InternalDataType)}: {InternalDataType}"); sb.Append($" {nameof(Unk1d)}: {Unk1d}"); sb.Append($" {nameof(SignBit)}: {SignBit}"); - sb.Append($" {nameof(Unk1F)}: {Unk1F}"); + sb.Append($" {nameof(ByteOrder)}: {ByteOrder}"); sb.Append($" {nameof(Unk20)}: {Unk20}"); sb.Append($" {nameof(TypeLengthBytesMaybe_21)}: {TypeLengthBytesMaybe_21}"); sb.Append($" {nameof(Unk22)}: {Unk22}");