Class OverwatchRole
Defines a role that represents a player with overwatch enabled.
Implements
IWrapper<PlayerRoles.PlayerRoleBase>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.API.Features.Roles
Assembly: Exiled.API.dll
Syntax
public class OverwatchRole : SpectatorRole, IWrapper<PlayerRoleBase>
Properties
| Improve this Doc View SourceBase
Gets the game PlayerRoles.Spectating.OverwatchRole.
Declaration
public OverwatchRole Base { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.Spectating.OverwatchRole |
Type
Declaration
public override RoleTypeId Type { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.RoleTypeId |
Overrides
Methods
| Improve this Doc View SourceGetObfuscatedRole()
Gets the Overwatch role for a player.
Declaration
public RoleTypeId GetObfuscatedRole()
Returns
Type | Description |
---|---|
PlayerRoles.RoleTypeId | The overwatch RoleType. |