Class PlacingBloodEventArgs
Contains all information before placing a blood decal.
Inheritance
System.Object
PlacingBloodEventArgs
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.Map
Assembly: Exiled.Events.dll
Syntax
public class PlacingBloodEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourcePlacingBloodEventArgs(Player, Player, RaycastHit, Boolean)
Initializes a new instance of the PlacingBloodEventArgs class.
Declaration
public PlacingBloodEventArgs(Player player, Player target, RaycastHit hit, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
Player | target | |
UnityEngine.RaycastHit | hit | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceIsAllowed
Gets or sets a value indicating whether or not the blood can be placed.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the Player who's placing the blood.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Position
Gets or sets the blood placing position.
Declaration
public Vector3 Position { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.Vector3 |
Target
Gets the target's Player instance.
Declaration
public Player Target { get; }
Property Value
Type | Description |
---|---|
Player |