mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
Expiremental Changes to Support BAU (#623)
* Update ChatCommandPatch.cs * Update RPC.cs * BAU support * more flags * revert unnecessary chatcommandpatch changes --------- Co-authored-by: lime1 <lime1@LIMEMACHINE> Co-authored-by: Gurge44 <90392754+Gurge44@users.noreply.github.com>
This commit is contained in:
1 file changed
+30
@@ -0,0 +1,30 @@
|
||||
using BepInEx.Configuration;
|
||||
using BepInEx.Unity.IL2CPP;
|
||||
using System.ComponentModel;
|
||||
|
||||
namespace EHR.Modules;
|
||||
|
||||
internal class ModdedSupportExampleClass
|
||||
{
|
||||
|
||||
// These are the flags I would think would be the best for EHR
|
||||
// They can be changed, all flags listed here: https://github.com/D1GQ/BetterAmongUs/blob/main/src/Modules/Support/BAUModdedSupportFlags.cs
|
||||
[Category("bau:flags")]
|
||||
public static string[] BAUFlags = ["gameoption.disable.allgameoptions", "lobby.disable.customloadingbar", "gameplay.disable.customcolorblindtext", "client.disable.discordrp", "lobby.disable.cancelstartinggame", "gameplay.disable.betterrolealgorithm", "gameplay.disable.nameoverride", "gameplay.disable.chatnameoverride", "gameplay.disable.playerinfo", "gameplay.disable.playermeetinginfo"];
|
||||
|
||||
[Category("bau:event.bau_load")]
|
||||
public static bool OnBAULoad(BasePlugin bauPlugin)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
[Category("bau:event.options_load")]
|
||||
public static void OnBAUOptionsLoaded(object[] options)
|
||||
{
|
||||
}
|
||||
|
||||
[Category("bau:event.configs_load")]
|
||||
public static void OnBAUConfigEntriesLoaded(ConfigEntryBase[] configs)
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user