public static bool Prefix(LG_ComputerTerminal terminal, TerminalUplinkPuzzle __instance) { __instance.m_rounds = new Il2CppSystem.Collections.Generic.List <TerminalUplinkPuzzleRound>(); __instance.TerminalUplinkIP = SerialGenerator.GetIpAddress(); __instance.m_roundIndex = 0; __instance.m_lastRoundIndexToUpdateGui = -1; __instance.m_position = terminal.transform.position; int num = RandomUtil.TerminalRound.GetRound(); for (int i = 0; i < num; i++) { int num2 = 6; TerminalUplinkPuzzleRound terminalUplinkPuzzleRound = new TerminalUplinkPuzzleRound(); terminalUplinkPuzzleRound.CorrectIndex = Builder.SessionSeedRandom.Range(0, num2, "NO_TAG"); terminalUplinkPuzzleRound.Prefixes = new string[num2]; terminalUplinkPuzzleRound.Codes = new string[num2]; for (int j = 0; j < num2; j++) { terminalUplinkPuzzleRound.Codes[j] = RandomUtil.GetPassword(5); terminalUplinkPuzzleRound.Prefixes[j] = SerialGenerator.GetCodeWordPrefix(); } __instance.m_rounds.Add(terminalUplinkPuzzleRound); } Log.Debug($"Terminal {terminal.PublicName} has {__instance.m_rounds.Count} rounds"); return(false); }