예제 #1
0
 public static void Postfix(PlayerControl __instance)
 {
     if (AmongUsClient.Instance.AmHost)
     {
         MarkModeMain.assignHats();
         MarkModeMain.sendHatAssignments();
     }
 }
예제 #2
0
        public override void Load()
        {
            MarkModeMain.PlayerName  = Config.Bind("Custom", "Player name", "Mark");
            MarkModeMain.PlayerColor = Config.Bind("Custom", "Player color", (ushort)Color.Orange);

            MarkModeMain.init();

            Harmony.PatchAll();
        }