Search Results for

    Show / Hide Table of Contents

    Class ChangingSpectatedPlayerEventArgs

    Contains all information before a spectator changes the spectated player.

    Inheritance
    System.Object
    ChangingSpectatedPlayerEventArgs
    Implements
    IPlayerEvent
    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.Player
    Assembly: Exiled.Events.dll
    Syntax
    public class ChangingSpectatedPlayerEventArgs : IPlayerEvent, IExiledEvent

    Constructors

    | Improve this Doc View Source

    ChangingSpectatedPlayerEventArgs(ReferenceHub, UInt32, UInt32)

    Initializes a new instance of the ChangingSpectatedPlayerEventArgs class.

    Declaration
    public ChangingSpectatedPlayerEventArgs(ReferenceHub player, uint oldTarget, uint newTarget)
    Parameters
    Type Name Description
    ReferenceHub player
    System.UInt32 oldTarget
    System.UInt32 newTarget

    Properties

    | Improve this Doc View Source

    NewTarget

    Gets the player who's going to be spectated.

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

    OldTarget

    Gets player that was being spectated.

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

    Player

    Gets player that is changing spectated player.

    Declaration
    public Player Player { get; }
    Property Value
    Type Description
    Player

    Implements

    IPlayerEvent
    IExiledEvent

    Extension Methods

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