Search Results for

    Show / Hide Table of Contents

    Class Scp096Role

    Defines a role that represents SCP-096.

    Inheritance
    System.Object
    TypeCastObject<Role>
    Role
    FpcRole
    Scp096Role
    Implements
    IWrapper<PlayerRoles.PlayerRoleBase>
    ISubroutinedScpRole
    IHumeShieldRole
    Inherited Members
    FpcRole.FirstPersonController
    FpcRole.RelativePosition
    FpcRole.RotationDetected
    FpcRole.WalkingSpeed
    FpcRole.SprintingSpeed
    FpcRole.JumpingSpeed
    FpcRole.CrouchingSpeed
    FpcRole.Velocity
    FpcRole.MovementDetected
    FpcRole.CanSendInputs
    FpcRole.IsInvisible
    FpcRole.IsUsingStamina
    FpcRole.StaminaUsageMultiplier
    FpcRole.StaminaRegenMultiplier
    FpcRole.IsInvisibleFor
    FpcRole.MoveState
    FpcRole.IsCrouching
    FpcRole.IsGrounded
    FpcRole.MovementSpeed
    FpcRole.IsInDarkness
    FpcRole.VerticalRotation
    FpcRole.HorizontalRotation
    FpcRole.IsAfk
    FpcRole.IsHumeShieldedRole
    FpcRole.IsNoclipEnabled
    FpcRole.ResetStamina(Boolean)
    Role.Owner
    Role.SpawnReason
    Role.SpawnFlags
    Role.Team
    Role.Side
    Role.Color
    Role.Name
    Role.ActiveTime
    Role.IsDead
    Role.IsAlive
    Role.IsValid
    Role.RandomSpawnLocation
    Role.Equals(Object)
    Role.ToString()
    Role.GetHashCode()
    Role.Set(RoleTypeId, SpawnReason)
    Role.Set(RoleTypeId, RoleSpawnFlags)
    Role.Set(RoleTypeId, SpawnReason, RoleSpawnFlags)
    TypeCastObject<Role>.Cast<TObject>()
    TypeCastObject<Role>.Cast<TObject>(TObject)
    TypeCastObject<Role>.As<TObject>()
    TypeCastObject<Role>.Is<TObject>(TObject)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Exiled.API.Features.Roles
    Assembly: Exiled.API.dll
    Syntax
    public class Scp096Role : FpcRole, IWrapper<PlayerRoleBase>, ISubroutinedScpRole, IHumeShieldRole

    Properties

    | Improve this Doc View Source

    AbilityState

    Gets a value indicating SCP-096's ability state.

    Declaration
    public Scp096AbilityState AbilityState { get; }
    Property Value
    Type Description
    PlayerRoles.PlayableScps.Scp096.Scp096AbilityState
    | Improve this Doc View Source

    AttackAbility

    Gets SCP-096's PlayerRoles.PlayableScps.Scp096.Scp096AttackAbility.

    Declaration
    public Scp096AttackAbility AttackAbility { get; }
    Property Value
    Type Description
    PlayerRoles.PlayableScps.Scp096.Scp096AttackAbility
    | Improve this Doc View Source

    AttackPossible

    Gets a value indicating whether or not SCP-096 can attack.

    Declaration
    public bool AttackPossible { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Base

    Gets the PlayerRoles.PlayableScps.Scp096.Scp096Role.

    Declaration
    public Scp096Role Base { get; }
    Property Value
    Type Description
    PlayerRoles.PlayableScps.Scp096.Scp096Role
    | Improve this Doc View Source

    CanReceiveTargets

    Gets a value indicating whether or not SCP-096 can receive targets.

    Declaration
    public bool CanReceiveTargets { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    ChargeAbility

    Gets SCP-096's PlayerRoles.PlayableScps.Scp096.Scp096ChargeAbility.

    Declaration
    public Scp096ChargeAbility ChargeAbility { get; }
    Property Value
    Type Description
    PlayerRoles.PlayableScps.Scp096.Scp096ChargeAbility
    | Improve this Doc View Source

    ChargeCooldown

    Gets or sets the Charge Ability Cooldown.

    Declaration
    public float ChargeCooldown { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    EnrageCooldown

    Gets or sets the amount of time before SCP-096 can be enraged again.

    Declaration
    public float EnrageCooldown { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    EnragedTimeLeft

    Gets or sets enraged time left.

    Declaration
    public float EnragedTimeLeft { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    HumeShieldModule

    Declaration
    public HumeShieldModuleBase HumeShieldModule { get; }
    Property Value
    Type Description
    PlayerRoles.PlayableScps.HumeShield.HumeShieldModuleBase
    | Improve this Doc View Source

    RageCycleAbility

    Gets SCP-096's PlayerRoles.PlayableScps.Scp096.Scp096RageCycleAbility.

    Declaration
    public Scp096RageCycleAbility RageCycleAbility { get; }
    Property Value
    Type Description
    PlayerRoles.PlayableScps.Scp096.Scp096RageCycleAbility
    | Improve this Doc View Source

    RageManager

    Gets SCP-096's PlayerRoles.PlayableScps.Scp096.Scp096RageManager.

    Declaration
    public Scp096RageManager RageManager { get; }
    Property Value
    Type Description
    PlayerRoles.PlayableScps.Scp096.Scp096RageManager
    | Improve this Doc View Source

    RageState

    Gets a value indicating SCP-096's rage state.

    Declaration
    public Scp096RageState RageState { get; }
    Property Value
    Type Description
    PlayerRoles.PlayableScps.Scp096.Scp096RageState
    | Improve this Doc View Source

    RemainingChargeDuration

    Gets or sets the Charge Ability duration.

    Declaration
    public float RemainingChargeDuration { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    SubroutineModule

    Declaration
    public SubroutineManagerModule SubroutineModule { get; }
    Property Value
    Type Description
    SubroutineManagerModule
    | Improve this Doc View Source

    Targets

    Gets a System.Collections.Generic.IReadOnlyCollection<T> of Players that are currently targeted by SCP-096.

    Declaration
    public IReadOnlyCollection<Player> Targets { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyCollection<Player>
    | Improve this Doc View Source

    TargetsTracker

    Gets SCP-096's PlayerRoles.PlayableScps.Scp096.Scp096TargetsTracker.

    Declaration
    public Scp096TargetsTracker TargetsTracker { get; }
    Property Value
    Type Description
    PlayerRoles.PlayableScps.Scp096.Scp096TargetsTracker
    | Improve this Doc View Source

    TotalEnrageTime

    Gets or sets enraged time left.

    Declaration
    public float TotalEnrageTime { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    TryNotToCryAbility

    Gets SCP-096's PlayerRoles.PlayableScps.Scp096.Scp096TryNotToCryAbility.

    Declaration
    public Scp096TryNotToCryAbility TryNotToCryAbility { get; }
    Property Value
    Type Description
    PlayerRoles.PlayableScps.Scp096.Scp096TryNotToCryAbility
    | Improve this Doc View Source

    TryNotToCryActive

    Gets or sets a value indicating whether the TryNotToCry ability is active.

    Declaration
    public bool TryNotToCryActive { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    TurnedPlayers

    Gets a list of players who will be turned away from SCP-096.

    Declaration
    public static HashSet<Player> TurnedPlayers { get; }
    Property Value
    Type Description
    System.Collections.Generic.HashSet<Player>
    | Improve this Doc View Source

    Type

    Declaration
    public override RoleTypeId Type { get; }
    Property Value
    Type Description
    PlayerRoles.RoleTypeId
    Overrides
    Role.Type

    Methods

    | Improve this Doc View Source

    AddTarget(Player)

    Adds the specified player as an SCP-096 target.

    Declaration
    public bool AddTarget(Player player)
    Parameters
    Type Name Description
    Player player

    The player to add as a target.

    Returns
    Type Description
    System.Boolean

    true if target was successfully added. Otherwise, false.

    | Improve this Doc View Source

    AddTarget(Player, Boolean)

    Adds the specified player as an SCP-096 target.

    Declaration
    public bool AddTarget(Player player, bool isLooking)
    Parameters
    Type Name Description
    Player player

    The player to add as a target.

    System.Boolean isLooking

    Is because player look SCP-096.

    Returns
    Type Description
    System.Boolean

    true if target was successfully added. Otherwise, false.

    | Improve this Doc View Source

    Attack()

    Trigger the attack ability.

    Declaration
    public void Attack()
    | Improve this Doc View Source

    Calm(Boolean)

    Ends SCP-096's enrage cycle.

    Declaration
    public void Calm(bool clearTime = true)
    Parameters
    Type Name Description
    System.Boolean clearTime

    Whether or not to clear the remaining enrage time.

    | Improve this Doc View Source

    Charge(Single)

    Trigger the charge ability.

    Declaration
    public void Charge(float cooldown = 1F)
    Parameters
    Type Name Description
    System.Single cooldown

    The cooldown time to set before the charge can be executed again.

    | Improve this Doc View Source

    ClearTargets()

    Removes all targets from SCP-096's target list.

    Declaration
    public void ClearTargets()
    | Improve this Doc View Source

    Enrage(Single)

    Enrages SCP-096 for the given amount of times.

    Declaration
    public void Enrage(float time = 20F)
    Parameters
    Type Name Description
    System.Single time

    The amount of time to enrage SCP-096.

    | Improve this Doc View Source

    GetSpawnChance(List<RoleTypeId>)

    Gets the Spawn Chance of SCP-096.

    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.

    | Improve this Doc View Source

    HasTarget(Player)

    Returns whether or not the provided player is a target of SCP-096.

    Declaration
    public bool HasTarget(Player player)
    Parameters
    Type Name Description
    Player player

    The player to check.

    Returns
    Type Description
    System.Boolean

    Whether or not the player is a target of SCP-096.

    | Improve this Doc View Source

    IsObserved(Player)

    Returns whether or not the provided player is observed by SCP-096.

    Declaration
    public bool IsObserved(Player player)
    Parameters
    Type Name Description
    Player player

    The player to check.

    Returns
    Type Description
    System.Boolean

    Whether or not the player is observed.

    | Improve this Doc View Source

    RemoveTarget(Player)

    Removes the specified player from SCP-096's targets.

    Declaration
    public bool RemoveTarget(Player player)
    Parameters
    Type Name Description
    Player player

    The player to remove as a target.

    Returns
    Type Description
    System.Boolean

    true if target was successfully removed. Otherwise, false.

    | Improve this Doc View Source

    ShowRageInput(Single)

    Shows the input prompt for the RageCycle ability.

    Declaration
    public void ShowRageInput(float duration = 10F)
    Parameters
    Type Name Description
    System.Single duration

    The input prompt duration.

    Implements

    IWrapper<T>
    ISubroutinedScpRole
    IHumeShieldRole

    Extension Methods

    ReflectionExtensions.CopyProperties(Object, Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX