Table of Contents

Class Scp3114Role

Namespace
Exiled.API.Features.Roles
Assembly
Exiled.API.dll

Defines a role that represents SCP-3114.

public class Scp3114Role : FpcRole, IWrapper<PlayerRoleBase>, IVoiceRole, ISubroutinedScpRole, IHumeShieldRole, ISpawnableScp
Inheritance
Scp3114Role
Implements
IWrapper<PlayerRoleBase>
ISpawnableScp
Inherited Members
Extension Methods

Properties

Base

Gets the PlayerRoles.PlayableScps.Scp3114.Scp3114Role instance.

public Scp3114Role Base { get; }

Property Value

Scp3114Role

Dance

Gets Scp3114's PlayerRoles.PlayableScps.Scp3114.Scp3114Dance.

public Scp3114Dance Dance { get; }

Property Value

Scp3114Dance

Disguise

Gets Scp3114's PlayerRoles.PlayableScps.Scp3114.Scp3114Disguise.

public Scp3114Disguise Disguise { get; }

Property Value

Scp3114Disguise

DisguiseDuration

Gets or sets the SCP-3114's Disguise duration.

public float DisguiseDuration { get; set; }

Property Value

float

DisguiseStatus

Gets or sets current state of SCP-3114's disguise ability.

public Scp3114Identity.DisguiseStatus DisguiseStatus { get; set; }

Property Value

Scp3114Identity.DisguiseStatus

FakeModelManager

Gets Scp3114's PlayerRoles.PlayableScps.Scp3114.Scp3114FakeModelManager.

public Scp3114FakeModelManager FakeModelManager { get; }

Property Value

Scp3114FakeModelManager

History

Gets Scp3114's PlayerRoles.PlayableScps.Scp3114.Scp3114History.

public Scp3114History History { get; }

Property Value

Scp3114History

HumeShieldModule

Gets a reference to the role's PlayerRoles.PlayableScps.HumeShield.HumeShieldModuleBase.

public HumeShieldModuleBase HumeShieldModule { get; }

Property Value

HumeShieldModuleBase

Identity

Gets Scp3114's PlayerRoles.PlayableScps.Scp3114.Scp3114Identity.

public Scp3114Identity Identity { get; }

Property Value

Scp3114Identity

IdentityRagdoll

Gets or sets the SCP-3114's Ragdoll used for it's FakeIdentity.

public Ragdoll IdentityRagdoll { get; set; }

Property Value

Ragdoll

NextDanceType

Gets or sets the next bound dance.

public DanceType? NextDanceType { get; set; }

Property Value

DanceType?

Reveal

Gets Scp3114's PlayerRoles.PlayableScps.Scp3114.Scp3114Reveal.

public Scp3114Reveal Reveal { get; }

Property Value

Scp3114Reveal

Slap

Gets Scp3114's PlayerRoles.PlayableScps.Scp3114.Scp3114Slap.

public Scp3114Slap Slap { get; }

Property Value

Scp3114Slap

SlapDamage

Gets the damage amount of SCP-3114's slap ability.

public float SlapDamage { get; }

Property Value

float

StolenRole

Gets or sets the SCP-3114's Stolen Role.

public RoleTypeId StolenRole { get; set; }

Property Value

RoleTypeId

StrangleTarget

Gets the current target of SCP-3114's strangle ability. Can be null.

public Player StrangleTarget { get; }

Property Value

Player

SubroutineModule

Gets the SCP PlayerRoles.Subroutines.SubroutineManagerModule.

public SubroutineManagerModule SubroutineModule { get; }

Property Value

SubroutineManagerModule

Type

Gets the PlayerRoles.RoleTypeId of this Player.

public override RoleTypeId Type { get; }

Property Value

RoleTypeId

UnitId

Gets or sets the SCP-3114's UnitId used for it's FakeIdentity.

public byte UnitId { get; set; }

Property Value

byte

VoiceLines

Gets Scp3114's PlayerRoles.PlayableScps.Scp3114.Scp3114VoiceLines.

public Scp3114VoiceLines VoiceLines { get; }

Property Value

Scp3114VoiceLines

WarningTime

Gets or sets the warning time seconds.

public float WarningTime { get; set; }

Property Value

float

Methods

GetSpawnChance(List<RoleTypeId>)

Gets the Spawn Chance of SCP-3114.

public float GetSpawnChance(List<RoleTypeId> alreadySpawned)

Parameters

alreadySpawned List<RoleTypeId>

The List of Roles already spawned.

Returns

float

The Spawn Chance.

PlaySound(VoiceLinesName)

Plays a random Scp3114 voice line.

public void PlaySound(Scp3114VoiceLines.VoiceLinesName voiceLine = VoiceLinesName.RandomIdle)

Parameters

voiceLine Scp3114VoiceLines.VoiceLinesName

The type of voice line to play.

ResetIdentity()

Reset Scp3114 FakeIdentity.

public void ResetIdentity()

StartDancing(DanceType)

SCP-3114 starts dancing.

public void StartDancing(DanceType danceType)

Parameters

danceType DanceType

The dance you want to do.

StopDancing()

Stops the SCP-3114 from Dancing.

public void StopDancing()

UpdateIdentity()

Updates the identity of SCP-3114.

public void UpdateIdentity()