Class Scp0492Role
Defines a role that represents SCP-049-2.
Inherited Members
Namespace: Exiled.API.Features.Roles
Assembly: Exiled.API.dll
Syntax
public class Scp0492Role : FpcRole, IWrapper<PlayerRoleBase>, ISubroutinedScpRole, IHumeShieldRole
Properties
| Improve this Doc View SourceAttackAbility
Gets SCP-049-2's PlayerRoles.PlayableScps.Scp049.Zombies.ZombieAttackAbility.
Declaration
public ZombieAttackAbility AttackAbility { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp049.Zombies.ZombieAttackAbility |
AttackCooldown
Gets the amount of time in between SCP-049-2 attacks.
Declaration
public float AttackCooldown { get; }
Property Value
Type | Description |
---|---|
System.Single |
AttackDamage
Gets the SCP-049-2 attack damage.
Declaration
public float AttackDamage { get; }
Property Value
Type | Description |
---|---|
System.Single |
BloodlustAbility
Gets SCP-049-2's PlayerRoles.PlayableScps.Scp049.Zombies.ZombieBloodlustAbility.
Declaration
public ZombieBloodlustAbility BloodlustAbility { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp049.Zombies.ZombieBloodlustAbility |
BloodlustActive
Gets a value indicating whether or not SCP-049-2 is currently pursuing a target (Bloodlust ability).
Declaration
public bool BloodlustActive { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
ConsumeAbility
Gets SCP-049-2's PlayerRoles.PlayableScps.Scp049.Zombies.ZombieConsumeAbility.
Declaration
public ZombieConsumeAbility ConsumeAbility { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp049.Zombies.ZombieConsumeAbility |
HumeShieldModule
Declaration
public HumeShieldModuleBase HumeShieldModule { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.HumeShield.HumeShieldModuleBase |
IsConsuming
Gets a value indicating whether or not SCP-049-2 is consuming a ragdoll.
Declaration
public bool IsConsuming { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
RagdollConsuming
Gets the Ragdoll that SCP-049-2 is currently consuming. Will be null if IsConsuming is false.
Declaration
public Ragdoll RagdollConsuming { get; }
Property Value
Type | Description |
---|---|
Ragdoll |
ResurrectNumber
Gets or sets the amount of times this SCP-049-2 has been resurrected.
Declaration
public int ResurrectNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SimulatedStare
Gets or sets a value indicating the amount of time to simulate SCP-049-2's Bloodlust ability.
Declaration
public float SimulatedStare { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
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
Methods
| Improve this Doc View SourceIsInConsumeRange(Ragdoll)
Returns a langword_csharp_bool indicating whether or not SCP-049-2 is close enough to a ragdoll to consume it.
Declaration
public bool IsInConsumeRange(Ragdoll ragdoll)
Parameters
Type | Name | Description |
---|---|---|
Ragdoll | ragdoll | The ragdoll to check. |
Returns
Type | Description |
---|---|
System.Boolean | true if close enough to consume the body; otherwise, false. |
Remarks
This method only returns whether or not 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 langword_csharp_bool indicating whether or not SCP-049-2 is close enough to a ragdoll to consume it.
Declaration
public bool IsInConsumeRange(BasicRagdoll ragdoll)
Parameters
Type | Name | Description |
---|---|---|
PlayerRoles.Ragdolls.BasicRagdoll | ragdoll | The ragdoll to check. |
Returns
Type | Description |
---|---|
System.Boolean | true if close enough to consume the body; otherwise, false. |
Remarks
This method only returns whether or not 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.