Table of Contents

Class PingingEventArgs

Namespace
Exiled.Events.EventArgs.Scp079
Assembly
Exiled.Events.dll

Contains all information before SCP-079 pings a location.

public class PingingEventArgs : IScp079Event, IPlayerEvent, IRoomEvent, IDeniableEvent, IExiledEvent
Inheritance
PingingEventArgs
Implements
Inherited Members
Extension Methods

Constructors

PingingEventArgs(ReferenceHub, RelativePosition, int, byte, Vector3, bool)

Initializes a new instance of the PingingEventArgs class.

public PingingEventArgs(ReferenceHub hub, RelativePosition position, int powerCost, byte proccesorindex, Vector3 syncNormal, bool isAllowed = true)

Parameters

hub ReferenceHub
position RelativePosition
powerCost int
proccesorindex byte
syncNormal Vector3
isAllowed bool

Properties

AuxiliaryPowerCost

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

public float AuxiliaryPowerCost { get; set; }

Property Value

float

IsAllowed

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

public bool IsAllowed { get; set; }

Property Value

bool

Player

Gets the player who's controlling SCP-079.

public Player Player { get; }

Property Value

Player

Position

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

public Vector3 Position { get; set; }

Property Value

Vector3

Room

Gets the room where the ping is located in.

public Room Room { get; }

Property Value

Room

Scp079

Gets the Scp079Role triggering the event.

public Scp079Role Scp079 { get; }

Property Value

Scp079Role

SyncNormal

Gets a value indicating if the sync matches.

public Vector3 SyncNormal { get; }

Property Value

Vector3

Type

Gets or sets a value indicating the type of ping.

public PingType Type { get; set; }

Property Value

PingType