Class JumpingEventArgs
Contains all information before a player jumps.
Inheritance
System.Object
JumpingEventArgs
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.Player
Assembly: Exiled.Events.dll
Syntax
public class JumpingEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceJumpingEventArgs(Player, Vector3, Boolean)
Initializes a new instance of the JumpingEventArgs class.
Declaration
public JumpingEventArgs(Player player, Vector3 direction, bool isAllowed = true)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
UnityEngine.Vector3 | direction | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceDirection
Gets or sets the jump direction.
Declaration
public Vector3 Direction { get; set; }
Property Value
Type | Description |
---|---|
UnityEngine.Vector3 |
IsAllowed
Gets or sets a value indicating whether the client data can be synchronized with the server.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the player who's jumping.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Speed
Gets or sets the jump speed.
Declaration
public float Speed { get; set; }
Property Value
Type | Description |
---|---|
System.Single |