Class PingingEventArgs
Contains all information before SCP-079 pings a location.
Inheritance
System.Object
PingingEventArgs
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 SourcePingingEventArgs(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 SourceAuxiliaryPowerCost
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 |
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 |
Player
Gets the player who's controlling SCP-079.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Position
Gets or sets a value indicating the position of the ping.
Declaration
public Vector3 Position { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.Vector3 |
Room
Gets the room where the ping is located in.
Declaration
public Room Room { get; }
Property Value
Type | Description |
---|---|
Room |
Scp079
Declaration
public Scp079Role Scp079 { get; }
Property Value
Type | Description |
---|---|
Scp079Role |
SyncNormal
Gets a value indicating if the sync matches.
Declaration
public Vector3 SyncNormal { get; }
Property Value
Type | Description |
---|---|
UnityEngine.Vector3 |
Type
Gets or sets a value indicating the type of ping.
Declaration
public PingType Type { get; set; }
Property Value
Type | Description |
---|---|
PingType |