Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions EXILED/Exiled.API/Features/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,11 @@
/// </summary>
public bool IsScp => Role?.Type.IsScp() ?? false;

/// <summary>
/// Gets a value indicating whether the player has enabled the "Opt out of SCP" setting, which prevents them from being assigned any SCP role.
///

Check failure on line 681 in EXILED/Exiled.API/Features/Player.cs

View workflow job for this annotation

GitHub Actions / build

Check failure on line 681 in EXILED/Exiled.API/Features/Player.cs

View workflow job for this annotation

GitHub Actions / build

Check failure on line 681 in EXILED/Exiled.API/Features/Player.cs

View workflow job for this annotation

GitHub Actions / build

Check failure on line 681 in EXILED/Exiled.API/Features/Player.cs

View workflow job for this annotation

GitHub Actions / build

Check failure on line 681 in EXILED/Exiled.API/Features/Player.cs

View workflow job for this annotation

GitHub Actions / build

public bool IsOptedOutOfScp => ScpPlayerPicker.IsOptedOutOfScp(ReferenceHub);

Check failure on line 682 in EXILED/Exiled.API/Features/Player.cs

View workflow job for this annotation

GitHub Actions / build

XML comment has badly formed XML -- 'Expected an end tag for element 'summary'.'

Check failure on line 682 in EXILED/Exiled.API/Features/Player.cs

View workflow job for this annotation

GitHub Actions / build

XML comment has badly formed XML -- 'Expected an end tag for element 'summary'.'

Check failure on line 682 in EXILED/Exiled.API/Features/Player.cs

View workflow job for this annotation

GitHub Actions / build

XML comment has badly formed XML -- 'Expected an end tag for element 'summary'.'

Check failure on line 682 in EXILED/Exiled.API/Features/Player.cs

View workflow job for this annotation

GitHub Actions / build

XML comment has badly formed XML -- 'Expected an end tag for element 'summary'.'

Check failure on line 682 in EXILED/Exiled.API/Features/Player.cs

View workflow job for this annotation

GitHub Actions / build

XML comment has badly formed XML -- 'Expected an end tag for element 'summary'.'

/// <summary>
/// Gets a value indicating whether the player's <see cref="RoleTypeId"/> is any human rank.
/// </summary>
Expand Down