Class JumpingEventArgs
Contains all information before a player jumps.
public class JumpingEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
JumpingEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
JumpingEventArgs(Player, Vector3, bool)
Initializes a new instance of the JumpingEventArgs class.
public JumpingEventArgs(Player player, Vector3 direction, bool isAllowed = true)
Parameters
Properties
Direction
Gets or sets the jump direction.
public Vector3 Direction { get; set; }
Property Value
- Vector3
IsAllowed
Gets or sets a value indicating whether the client data can be synchronized with the server.
public bool IsAllowed { get; set; }
Property Value
Player
Gets the player who's jumping.
public Player Player { get; }
Property Value
Speed
Gets or sets the jump speed.
public float Speed { get; set; }