Mindrole trigger condition (#40323)
* mind role trigger condition * fix * nits --------- Co-authored-by: ArtisticRoomba <145879011+ArtisticRoomba@users.noreply.github.com>
This commit is contained in:
@@ -4,20 +4,20 @@ using Robust.Shared.GameStates;
|
||||
namespace Content.Shared.Trigger.Components.Conditions;
|
||||
|
||||
/// <summary>
|
||||
/// Checks if the user of a trigger satisfies a whitelist and blacklist condition for the triggered entity or the one triggering it.
|
||||
/// Checks if the user of a trigger satisfies a whitelist and blacklist condition.
|
||||
/// Cancels the trigger otherwise.
|
||||
/// </summary>
|
||||
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
||||
public sealed partial class WhitelistTriggerConditionComponent : BaseTriggerConditionComponent
|
||||
{
|
||||
/// <summary>
|
||||
/// Whitelist for what entites can cause this trigger.
|
||||
/// Whitelist for what entities can cause this trigger.
|
||||
/// </summary>
|
||||
[DataField, AutoNetworkedField]
|
||||
public EntityWhitelist? UserWhitelist;
|
||||
|
||||
/// <summary>
|
||||
/// Blacklist for what entites can cause this trigger.
|
||||
/// Blacklist for what entities can cause this trigger.
|
||||
/// </summary>
|
||||
[DataField, AutoNetworkedField]
|
||||
public EntityWhitelist? UserBlacklist;
|
||||
|
||||
Reference in New Issue
Block a user