Class OverwatchRole
Defines a role that represents a player with overwatch enabled.
public class OverwatchRole : SpectatorRole, IWrapper<PlayerRoleBase>, IVoiceRole
- Inheritance
-
OverwatchRole
- Implements
-
IWrapper<PlayerRoleBase>
- Inherited Members
- Extension Methods
Properties
Base
Gets the game PlayerRoles.Spectating.OverwatchRole.
public OverwatchRole Base { get; }
Property Value
- OverwatchRole
Type
Gets the PlayerRoles.RoleTypeId of this Player.
public override RoleTypeId Type { get; }
Property Value
- RoleTypeId
Methods
GetObfuscatedRole()
Gets the Overwatch role for a player.
public RoleTypeId GetObfuscatedRole()
Returns
- RoleTypeId
The overwatch RoleType.