Search Results for

    Show / Hide Table of Contents

    Class ChangingCameraEventArgs

    Contains all information before a SCP-079 changes the current camera.

    Inheritance
    System.Object
    ChangingCameraEventArgs
    Implements
    IScp079Event
    IPlayerEvent
    ICameraEvent
    IDeniableEvent
    IExiledEvent
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Exiled.Events.EventArgs.Scp079
    Assembly: Exiled.Events.dll
    Syntax
    public class ChangingCameraEventArgs : IScp079Event, IPlayerEvent, ICameraEvent, IDeniableEvent, IExiledEvent

    Constructors

    | Improve this Doc View Source

    ChangingCameraEventArgs(Player, Scp079Camera, Single)

    Initializes a new instance of the ChangingCameraEventArgs class.

    Declaration
    public ChangingCameraEventArgs(Player player, Scp079Camera camera, float auxiliaryPowerCost)
    Parameters
    Type Name Description
    Player player
    PlayerRoles.PlayableScps.Scp079.Cameras.Scp079Camera camera
    System.Single auxiliaryPowerCost

    Properties

    | Improve this Doc View Source

    AuxiliaryPowerCost

    Gets or sets the amount of auxiliary power that will be required to switch cameras.

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

    Camera

    Gets or sets the camera SCP-079 will be moved to.

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

    IsAllowed

    Gets or sets a value indicating whether or not SCP-079 can switch cameras.

    Defaults to a value describing whether or not SCP-079 has enough auxiliary power to switch.


    Can be set to true to allow a switch regardless of SCP-079's auxiliary power amount.

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

    Player

    Gets the player who is SCP-079.

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

    Scp079

    Declaration
    public Scp079Role Scp079 { get; }
    Property Value
    Type Description
    Scp079Role

    Implements

    IScp079Event
    IPlayerEvent
    ICameraEvent
    IDeniableEvent
    IExiledEvent

    Extension Methods

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