using BepInEx.Unity.IL2CPP; namespace BetterAmongUs.Examples; /// /// Example plugin demonstrating how to integrate with BetterAmongUs modded support system. /// Shows the structure required for a plugin to declare BAU events and flags. /// /// /// This example shows a minimal plugin that implements both event handlers and flags. /// In a real implementation, you would add your plugin's actual logic in the Load() method. /// internal class ModdedSupportPluginExample : BasePlugin { /// /// Event handler instance for BetterAmongUs events. /// This field must be named exactly "BAUEvents" to be detected by the reflection system. /// public static ModdedSupportBAUEventExample BAUEvents = new(); /// /// Array of flags to control BetterAmongUs behavior. /// This field must be named exactly "BAUFlags" to be detected by the reflection system. /// /// /// Flags can disable specific BAU features or modify its behavior. /// Check Modules.Support.BAUModdedSupportFlags for available flag constants. /// public static string[] BAUFlags = []; /// /// Main plugin load method. /// In a real implementation, this is where your plugin initialization would occur. /// public override void Load() { // Plugin initialization logic would go here } }