Class PingingEventArgs
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
hubReferenceHubpositionRelativePositionpowerCostintproccesorindexbytesyncNormalVector3isAllowedbool
Properties
AuxiliaryPowerCost
Gets or sets the amount of auxiliary power required for SCP-079 to ping.
public float AuxiliaryPowerCost { get; set; }
Property Value
IsAllowed
Gets or sets a value indicating whether the event is allowed to continue.
public bool IsAllowed { get; set; }
Property Value
Player
Gets the player who's controlling SCP-079.
public Player Player { get; }
Property Value
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
Scp079
Gets the Scp079Role triggering the event.
public Scp079Role Scp079 { get; }
Property Value
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; }