Class Scp3114Role
Defines a role that represents SCP-3114.
Inherited Members
Namespace: Exiled.API.Features.Roles
Assembly: Exiled.API.dll
Syntax
public class Scp3114Role : FpcRole, IWrapper<PlayerRoleBase>, ISubroutinedScpRole, IHumeShieldRole
Properties
| Improve this Doc View SourceBase
Gets the PlayerRoles.PlayableScps.Scp3114.Scp3114Role instance.
Declaration
public Scp3114Role Base { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp3114.Scp3114Role |
Dance
Gets Scp3114's PlayerRoles.PlayableScps.Scp3114.Scp3114Dance.
Declaration
public Scp3114Dance Dance { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp3114.Scp3114Dance |
Disguise
Gets Scp3114's PlayerRoles.PlayableScps.Scp3114.Scp3114Disguise.
Declaration
public Scp3114Disguise Disguise { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp3114.Scp3114Disguise |
DisguiseDuration
Gets or sets the SCP-3114's Disguise duration.
Declaration
public float DisguiseDuration { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
DisguiseStatus
Gets or sets current state of SCP-3114's disguise ability.
Declaration
public Scp3114Identity.DisguiseStatus DisguiseStatus { get; set; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp3114.Scp3114Identity.DisguiseStatus |
FakeModelManager
Gets Scp3114's PlayerRoles.PlayableScps.Scp3114.Scp3114FakeModelManager.
Declaration
public Scp3114FakeModelManager FakeModelManager { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp3114.Scp3114FakeModelManager |
History
Gets Scp3114's PlayerRoles.PlayableScps.Scp3114.Scp3114History.
Declaration
public Scp3114History History { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp3114.Scp3114History |
HumeShieldModule
Declaration
public HumeShieldModuleBase HumeShieldModule { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.HumeShield.HumeShieldModuleBase |
Identity
Gets Scp3114's PlayerRoles.PlayableScps.Scp3114.Scp3114Identity.
Declaration
public Scp3114Identity Identity { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp3114.Scp3114Identity |
Ragdoll
Gets or sets the SCP-3114's Ragdoll used for it's FakeIdentity.
Declaration
public Ragdoll Ragdoll { get; set; }
Property Value
Type | Description |
---|---|
Ragdoll |
Reveal
Gets Scp3114's PlayerRoles.PlayableScps.Scp3114.Scp3114Reveal.
Declaration
public Scp3114Reveal Reveal { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp3114.Scp3114Reveal |
Slap
Gets Scp3114's PlayerRoles.PlayableScps.Scp3114.Scp3114Slap.
Declaration
public Scp3114Slap Slap { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp3114.Scp3114Slap |
SlapDamage
Gets the damage amount of SCP-3114's slap ability.
Declaration
public float SlapDamage { get; }
Property Value
Type | Description |
---|---|
System.Single |
StolenRole
Gets or sets the SCP-3114's Stolen Role.
Declaration
public RoleTypeId StolenRole { get; set; }
Property Value
Type | Description |
---|---|
PlayerRoles.RoleTypeId |
StrangleTarget
Gets the current target of SCP-3114's strangle ability. Can be null.
Declaration
public Player StrangleTarget { get; }
Property Value
Type | Description |
---|---|
Player |
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 SourceUnitId
Gets or sets the SCP-3114's UnitId used for it's FakeIdentity.
Declaration
public byte UnitId { get; set; }
Property Value
Type | Description |
---|---|
System.Byte |
VoiceLines
Gets Scp3114's PlayerRoles.PlayableScps.Scp3114.Scp3114VoiceLines.
Declaration
public Scp3114VoiceLines VoiceLines { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp3114.Scp3114VoiceLines |
WarningTime
Gets or sets the warning time seconds.
Declaration
public float WarningTime { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Methods
| Improve this Doc View SourceGetSpawnChance(List<RoleTypeId>)
Gets the Spawn Chance of SCP-3114.
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. |
PlaySound(Scp3114VoiceLines.VoiceLinesName)
Plays a random Scp3114 voice line.
Declaration
public void PlaySound(Scp3114VoiceLines.VoiceLinesName voiceLine = Scp3114VoiceLines.VoiceLinesName.RandomIdle)
Parameters
Type | Name | Description |
---|---|---|
PlayerRoles.PlayableScps.Scp3114.Scp3114VoiceLines.VoiceLinesName | voiceLine | The type of voice line to play. |
ResetIdentity()
Reset Scp3114 FakeIdentity.
Declaration
public void ResetIdentity()