Beispiel #1
0
 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;
        }
Beispiel #3
0
 public static void Postfix()
 {
     MuteBot.LogInfo("MeetingHudAwakePatch");
     Task.Run(() => MuteBot.UpdateStatus(GameStatus.Discussion));
 }
Beispiel #4
0
 public static void Postfix()
 {
     MuteBot.LogInfo("MeetingHudClosePatch");
     Task.Run(() => MuteBot.UpdateStatus(GameStatus.Task));
 }