static void Postfix(HudManager __instance) { if (AmongUsClient.Instance.GameState != InnerNet.InnerNetClient.CJDCOJJNIGL.Started) { return; } CustomButton.HudUpdate(); resetNameTagsAndColors(); setNameColors(); updateShielded(); // Mafia setMafiaNameTags(); // Jester Helpers.removeTasksFromPlayer(Jester.jester); // Mafioso mafiosoDeactivateKillButtonIfNecessary(__instance); // Janitor janitorDeactivateKillButton(__instance); // Timer updates timerUpdate(); // Camouflager and Morphling camouflageAndMorphActions(); // Child childUpdate(); // Vampire vampireDeactivateKillButton(__instance); // Snitch snitchUpdate(); // Jackal Helpers.removeTasksFromPlayer(Jackal.jackal); // Sidekick Helpers.removeTasksFromPlayer(Sidekick.sidekick); }
static void Postfix(HudManager __instance) { if (AmongUsClient.Instance.GameState != InnerNet.InnerNetClient.GameStates.Started) { return; } CustomButton.HudUpdate(); resetNameTagsAndColors(); setNameColors(); updateShielded(); // Mafia setMafiaNameTags(); // Impostors updateImpostorKillButton(__instance); // Timer updates timerUpdate(); // Camouflager and Morphling camouflageAndMorphActions(); // Child childUpdate(); // Snitch snitchUpdate(); }
static void Postfix(HudManager __instance) { if (AmongUsClient.Instance.GameState != InnerNet.InnerNetClient.GameStates.Started) { return; } CustomButton.HudUpdate(); resetNameTagsAndColors(); setNameColors(); updateShielded(); // Mafia setMafiaNameTags(); // Jester jesterClearTasks(); // Mafioso mafiosoDeactivateKillButtonIfNecessary(__instance); // Janitor janitorDeactivateKillButton(__instance); // Shifter shifterClearTasks(); // Seer update seerUpdate(); camouflageAndMorphActions(); updatePlayerSizes(); }
static void Postfix(HudManager __instance) { if (AmongUsClient.Instance.GameState != InnerNet.InnerNetClient.GCDONLGCMIL.Started) { return; } CustomButton.HudUpdate(); resetNameTagsAndColors(); setNameColors(); updateShielded(); // Mafia setMafiaNameTags(); // Jester Helpers.removeTasksFromPlayer(Jester.jester); // Impostors updateImpostorKillButton(__instance); // Timer updates timerUpdate(); // Camouflager and Morphling camouflageAndMorphActions(); // Child childUpdate(); // Snitch snitchUpdate(); // Jackal Helpers.removeTasksFromPlayer(Jackal.jackal); // Sidekick Helpers.removeTasksFromPlayer(Sidekick.sidekick); }
static void Postfix(HudManager __instance) { if (AmongUsClient.Instance.GameState != InnerNet.InnerNetClient.GameStates.Started) { return; } CustomButton.HudUpdate(); resetNameTagsAndColors(); setNameColors(); updateShielded(); setNameTags(); // Camouflager and Morphling camouflageAndMorphActions(); // Impostors updateImpostorKillButton(__instance); // Timer updates timerUpdate(); // Mini miniUpdate(); updateSabotageButton(__instance); updateUseButton(__instance); updateReportButton(__instance); updateVentButton(__instance); }