public static void Postfix(AmongUsClient __instance, ref GameOverReason gameOverReason, bool showAd) { MuteBot.LogInfo("OnGameEndPatch"); MuteBot.GetInstance().isGameEnded = true; Task.Run(() => MuteBot.UpdateStatus(GameStatus.Lobby)); return; }
public static void Prefix() { MuteBot.LogInfo("ShipStatusStartPatch"); Task.Run(() => MuteBot.UpdateOptionsString()); MuteBot.GetInstance().isGameEnded = false; MuteBot.clearExiledPlayers(); MuteBot.clearKilledPlayers(); Task.Run(() => MuteBot.UpdateStatus(GameStatus.Task)); return; }
public static void Postfix() { MuteBot.LogInfo("MeetingHudAwakePatch"); Task.Run(() => MuteBot.UpdateStatus(GameStatus.Discussion)); }
public static void Postfix() { MuteBot.LogInfo("MeetingHudClosePatch"); Task.Run(() => MuteBot.UpdateStatus(GameStatus.Task)); }