Class Scp106Role
Defines a role that represents SCP-106.
Inherited Members
Namespace: Exiled.API.Features.Roles
Assembly: Exiled.API.dll
Syntax
public class Scp106Role : FpcRole, IWrapper<PlayerRoleBase>, ISubroutinedScpRole, IHumeShieldRole
Properties
| Improve this Doc View SourceAttack
Gets the PlayerRoles.PlayableScps.Scp106.Scp106Attack.
Declaration
public Scp106Attack Attack { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp106.Scp106Attack |
Base
Gets the PlayerRoles.PlayableScps.Scp106.Scp106Role.
Declaration
public Scp106Role Base { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp106.Scp106Role |
CanActivateTesla
Gets a value indicating whether or not SCP-106 can activate teslas.
Declaration
public bool CanActivateTesla { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
CanStopStalk
Gets a value indicating whether if SCP-106 PlayerRoles.PlayableScps.Scp106.Scp106StalkAbility can be cleared.
Declaration
public bool CanStopStalk { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
CaptureCooldown
Gets or sets the amount of time in between player captures.
Declaration
public float CaptureCooldown { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
HumeShieldModule
Gets the PlayerRoles.PlayableScps.HumeShield.HumeShieldModuleBase.
Declaration
public HumeShieldModuleBase HumeShieldModule { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.HumeShield.HumeShieldModuleBase |
HuntersAtlasAbility
Gets the PlayerRoles.PlayableScps.Scp106.Scp106HuntersAtlasAbility.
Declaration
public Scp106HuntersAtlasAbility HuntersAtlasAbility { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp106.Scp106HuntersAtlasAbility |
IsDuringAnimation
Gets a value indicating whether or not SCP-106 is currently in the middle of an animation.
Declaration
public bool IsDuringAnimation { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsSinkholeHidden
Gets a value indicating whether or not SCP-106 sinkhole is hidden.
Declaration
public bool IsSinkholeHidden { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsSlowdown
Gets a value indicating whether or not SCP-106 is currently slow down by a door.
Declaration
public bool IsSlowdown { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsStalking
Gets or sets a value indicating whether or not SCP-106 will enter his stalking mode.
Declaration
public bool IsStalking { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsSubmerged
Gets or sets a value indicating whether or not SCP-106 is currently submerged.
Declaration
public bool IsSubmerged { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
MovementModule
Gets the PlayerRoles.PlayableScps.Scp106.Scp106MovementModule.
Declaration
public Scp106MovementModule MovementModule { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp106.Scp106MovementModule |
RemainingSinkholeCooldown
Gets or sets the Sinkhole cooldown.
Declaration
public float RemainingSinkholeCooldown { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
SinkholeController
Gets the PlayerRoles.PlayableScps.Scp106.Scp106SinkholeController.
Declaration
public Scp106SinkholeController SinkholeController { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp106.Scp106SinkholeController |
SinkholeCurrentTime
Gets a value indicating the current time of the sinkhole.
Declaration
public float SinkholeCurrentTime { get; }
Property Value
Type | Description |
---|---|
System.Single |
SinkholeNormalizedState
Gets a value indicating the normalized state of the sinkhole.
Declaration
public float SinkholeNormalizedState { get; }
Property Value
Type | Description |
---|---|
System.Single |
SinkholeSpeedMultiplier
Gets the speed multiplier of the sinkhole.
Declaration
public float SinkholeSpeedMultiplier { get; }
Property Value
Type | Description |
---|---|
System.Single |
SinkholeState
Gets or sets a value indicating whether the current sinkhole state.
Declaration
public bool SinkholeState { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
SinkholeTargetDuration
Gets the sinkhole target duration.
Declaration
public float SinkholeTargetDuration { get; }
Property Value
Type | Description |
---|---|
System.Single |
StalkAbility
Gets the PlayerRoles.PlayableScps.Scp106.Scp106Attack.
Declaration
public Scp106StalkAbility StalkAbility { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp106.Scp106StalkAbility |
SubroutineModule
Declaration
public SubroutineManagerModule SubroutineModule { get; }
Property Value
Type | Description |
---|---|
SubroutineManagerModule |
Type
Declaration
public override RoleTypeId Type { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.RoleTypeId |
Overrides
| Improve this Doc View SourceVigor
Gets or sets SCP-106's Vigor Level.
Declaration
public float Vigor { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
VigorAbility
Gets the PlayerRoles.PlayableScps.Scp106.Scp106VigorAbilityBase.
Declaration
public Scp106VigorAbilityBase VigorAbility { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp106.Scp106VigorAbilityBase |
VigorComponent
Gets the PlayerRoles.PlayableScps.Scp106.VigorStat.
Declaration
public VigorStat VigorComponent { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp106.VigorStat |
Methods
| Improve this Doc View SourceCapturePlayer(Player)
Send a player to the pocket dimension.
Declaration
public void CapturePlayer(Player player)
Parameters
Type | Name | Description |
---|---|---|
Player | player | The Playerto send. |
GetSpawnChance(List<RoleTypeId>)
Gets the Spawn Chance of SCP-106.
Declaration
public float GetSpawnChance(List<RoleTypeId> alreadySpawned)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<PlayerRoles.RoleTypeId> | alreadySpawned | The List of Roles already spawned. |
Returns
Type | Description |
---|---|
System.Single | The Spawn Chance. |
UsePortal(Vector3, Single)
Forces SCP-106 to use its portal, and Teleport to position.
Declaration
public bool UsePortal(Vector3 position, float cost = 0F)
Parameters
Type | Name | Description |
---|---|---|
UnityEngine.Vector3 | position | Where the player will be teleported. |
System.Single | cost | The amount of vigor that is required and will be consumed. |
Returns
Type | Description |
---|---|
System.Boolean | If the player will be teleport. |