You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 19, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: Exiled.API/Features/Player.cs
+11-5Lines changed: 11 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -127,6 +127,11 @@ public class Player : GameEntity
127
127
publicconststringINFO_CATEGORY="Player_Info";
128
128
129
129
#pragma warning disable SA1401
130
+
/// <summary>
131
+
/// The default role behaviour class.
132
+
/// </summary>
133
+
publicstaticTypeDEFAULT_ROLE_BEHAVIOUR=null;
134
+
130
135
/// <summary>
131
136
/// The default player class.
132
137
/// </summary>
@@ -664,10 +669,10 @@ public PlayerPermissions RemoteAdminPermissions
664
669
/// This role is automatically cached until it changes, and it is recommended to use this property directly rather than storing the property yourself.
665
670
/// </para>
666
671
/// <para>
667
-
/// Roles and RoleTypeIds can be compared directly. <c>Player.Role == RoleTypeId.Scp079</c> is valid and will return <see langword="true"/> if the player is SCP-079. To set the player's role, see <see cref="Role.Set(RoleTypeId, SpawnReason, RoleSpawnFlags)"/>.
672
+
/// Roles and RoleTypeIds can be compared directly. <c>Player.Role == RoleTypeId.Scp079</c> is valid and will return <see langword="true"/> if the player is SCP-079. To set the player's role, see <see cref="Role.Set(RoleTypeId, RoleChangeReason, RoleSpawnFlags)"/>.
0 commit comments