Search Results for

    Show / Hide Table of Contents

    Class PingingEventArgs

    Contains all information before SCP-079 pings a location.

    Inheritance
    System.Object
    PingingEventArgs
    Implements
    IScp079Event
    IPlayerEvent
    IRoomEvent
    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 PingingEventArgs : IScp079Event, IPlayerEvent, IRoomEvent, IDeniableEvent, IExiledEvent

    Constructors

    | Improve this Doc View Source

    PingingEventArgs(ReferenceHub, RelativePosition, Int32, Byte, Vector3, Boolean)

    Initializes a new instance of the PingingEventArgs class.

    Declaration
    public PingingEventArgs(ReferenceHub hub, RelativePosition position, int powerCost, byte proccesorindex, Vector3 syncNormal, bool isAllowed = true)
    Parameters
    Type Name Description
    ReferenceHub hub
    RelativePositioning.RelativePosition position
    System.Int32 powerCost
    System.Byte proccesorindex
    UnityEngine.Vector3 syncNormal
    System.Boolean isAllowed

    Properties

    | Improve this Doc View Source

    AuxiliaryPowerCost

    Gets or sets the amount of auxiliary power required for SCP-079 to ping.

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

    IsAllowed

    Gets or sets a value indicating whether or not the event is allowed to continue.

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

    Player

    Gets the player who's controlling SCP-079.

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

    Position

    Gets or sets a value indicating the position of the ping.

    Declaration
    public Vector3 Position { get; set; }
    Property Value
    Type Description
    UnityEngine.Vector3
    | Improve this Doc View Source

    Room

    Gets the room where the ping is located in.

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

    Scp079

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

    SyncNormal

    Gets a value indicating if the sync matches.

    Declaration
    public Vector3 SyncNormal { get; }
    Property Value
    Type Description
    UnityEngine.Vector3
    | Improve this Doc View Source

    Type

    Gets or sets a value indicating the type of ping.

    Declaration
    public PingType Type { get; set; }
    Property Value
    Type Description
    PingType

    Implements

    IScp079Event
    IPlayerEvent
    IRoomEvent
    IDeniableEvent
    IExiledEvent

    Extension Methods

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