Table of Contents

Class Scp0492Role

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

Defines a role that represents SCP-049-2.

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

Properties

AttackAbility

Gets SCP-049-2's PlayerRoles.PlayableScps.Scp049.Zombies.ZombieAttackAbility.

public ZombieAttackAbility AttackAbility { get; }

Property Value

ZombieAttackAbility

AttackCooldown

Gets the amount of time in between SCP-049-2 attacks.

public float AttackCooldown { get; }

Property Value

float

AttackDamage

Gets the SCP-049-2 attack damage.

public float AttackDamage { get; }

Property Value

float

BloodlustAbility

Gets SCP-049-2's PlayerRoles.PlayableScps.Scp049.Zombies.ZombieBloodlustAbility.

public ZombieBloodlustAbility BloodlustAbility { get; }

Property Value

ZombieBloodlustAbility

BloodlustActive

Gets a value indicating whether SCP-049-2 is currently pursuing a target (Bloodlust ability).

public bool BloodlustActive { get; }

Property Value

bool

ConsumeAbility

Gets SCP-049-2's PlayerRoles.PlayableScps.Scp049.Zombies.ZombieConsumeAbility.

public ZombieConsumeAbility ConsumeAbility { get; }

Property Value

ZombieConsumeAbility

HumeShieldModule

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

public HumeShieldModuleBase HumeShieldModule { get; }

Property Value

HumeShieldModuleBase

IsConsuming

Gets a value indicating whether SCP-049-2 is consuming a ragdoll.

public bool IsConsuming { get; }

Property Value

bool

RagdollConsuming

Gets the Ragdoll that SCP-049-2 is currently consuming. Will be null if IsConsuming is false.

public Ragdoll RagdollConsuming { get; }

Property Value

Ragdoll

ResurrectNumber

Gets or sets the amount of times this SCP-049-2 has been resurrected.

public int ResurrectNumber { get; set; }

Property Value

int

SimulatedStare

Gets or sets a value indicating the amount of time to simulate SCP-049-2's Bloodlust ability.

public float SimulatedStare { get; set; }

Property Value

float

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

Methods

IsInConsumeRange(Ragdoll)

Returns a bool indicating whether SCP-049-2 is close enough to a ragdoll to consume it.

public bool IsInConsumeRange(Ragdoll ragdoll)

Parameters

ragdoll Ragdoll

The ragdoll to check.

Returns

bool

true if close enough to consume the body; otherwise, false.

Remarks

This method only returns whether SCP-049-2 is close enough to the body to consume it; the body may have been consumed previously. Make sure to check IsConsumed to ensure the body can be consumed.

IsInConsumeRange(BasicRagdoll)

Returns a bool indicating whether SCP-049-2 is close enough to a ragdoll to consume it.

public bool IsInConsumeRange(BasicRagdoll ragdoll)

Parameters

ragdoll BasicRagdoll

The ragdoll to check.

Returns

bool

true if close enough to consume the body; otherwise, false.

Remarks

This method only returns whether SCP-049-2 is close enough to the body to consume it; the body may have been consumed previously. Make sure to check IsConsumed to ensure the body can be consumed.