static void Main(string[] args) { var a = new GameOffsets { Description = description, AmongUsClientOffset = AmongUsClientOffset, GameDataOffset = GameDataOffset, MeetingHudOffset = MeetingHudOffset, GameStartManagerOffset = GameStartManagerOffset, HudManagerOffset = HudManagerOffset, ServerManagerOffset = ServerManagerOffset, TempDataOffset = TempDataOffset }; Console.Write(JsonConvert.SerializeObject(a, Formatting.Indented)); var b = new OffsetManager(""); b.AddToLocalIndex(hash, a); Console.ReadLine(); }
static void Main(string[] args) { var a = new GameOffsets { Description = description, AmongUsClientOffset = AmongUsClientOffset, GameDataOffset = GameDataOffset, MeetingHudOffset = MeetingHudOffset, GameStartManagerOffset = GameStartManagerOffset, HudManagerOffset = HudManagerOffset, ServerManagerOffset = ServerManagerOffset, TempDataOffset = TempDataOffset, GameOptionsOffset = GameOptionsOffset, MeetingHudPtr = new [] { MeetingHudOffset, 0x5C, 0 }, MeetingHudCachePtrOffsets = new [] { 0x8 }, MeetingHudStateOffsets = new [] { 0x84 }, GameStateOffsets = new [] { AmongUsClientOffset, 0x5C, 0, 0x64 }, AllPlayerPtrOffsets = new [] { GameDataOffset, 0x5C, 0, 0x24 }, AllPlayersOffsets = new [] { 0x08 }, PlayerCountOffsets = new [] { 0x0C }, ExiledPlayerIdOffsets = new [] { MeetingHudOffset, 0x5C, 0, 0x94, 0x08 }, RawGameOverReasonOffsets = new [] { TempDataOffset, 0x5c, 0x4 }, WinningPlayersPtrOffsets = new [] { TempDataOffset, 0x5C, 0xC }, WinningPlayersOffsets = new [] { 0x08 }, WinningPlayerCountOffsets = new [] { 0x0C }, GameCodeOffsets = new [] { GameStartManagerOffset, 0x5c, 0, 0x20, 0x28 }, PlayRegionOffsets = new [] { ServerManagerOffset, 0x5c, 0, 0x10, 0x8, 0x8 }, PlayMapOffsets = new [] { GameOptionsOffset, 0x5c, 0x4, 0x10 }, StringOffsets = new [] { 0x8, 0xC }, isEpic = false, AddPlayerPtr = 4, PlayerListPtr = 0x10 }; Console.Write(JsonConvert.SerializeObject(a, Formatting.Indented)); var b = new OffsetManager(""); b.AddToLocalIndex(hash, a); Console.ReadLine(); }