diff --git a/MiraAPI/Roles/CustomRoleConfiguration.cs b/MiraAPI/Roles/CustomRoleConfiguration.cs index 4500331..59e208a 100644 --- a/MiraAPI/Roles/CustomRoleConfiguration.cs +++ b/MiraAPI/Roles/CustomRoleConfiguration.cs @@ -1,4 +1,5 @@ -using AmongUs.GameOptions; +using System; +using AmongUs.GameOptions; using MiraAPI.Utilities.Assets; using UnityEngine; @@ -64,6 +65,11 @@ public record struct CustomRoleConfiguration /// public LoadableAsset Icon { get; set; } = MiraAssets.Empty; + /// + /// Gets or sets the associated game mode for this role. This is used to determine if the role should be available in a specific game mode. + /// + public Type? AssociatedGameMode { get; set; } = null; + /// /// Gets or sets a value indicating whether the role is affected by light affectors on Airship. ///