C# Class Pluton.Rust.Events.WeaponThrowEvent

Inheritance: Core.Event
显示文件 Open project: Notulp/Pluton.Rust

Public Properties

Property Type Description
Magnitude float
Player Core.Player
Projectile ProjectileShoot.Projectile
ProjectileShoot ProjectileShoot
Weapon BaseMelee

Public Methods

Method Description
WeaponThrowEvent ( BaseMelee weapon, BasePlayer basePlayer, ProjectileShoot projectileShoot, ProjectileShoot projectile ) : ProtoBuf

Method Details

WeaponThrowEvent() public method

public WeaponThrowEvent ( BaseMelee weapon, BasePlayer basePlayer, ProjectileShoot projectileShoot, ProjectileShoot projectile ) : ProtoBuf
weapon BaseMelee
basePlayer BasePlayer
projectileShoot ProjectileShoot
projectile ProjectileShoot
return ProtoBuf

Property Details

Magnitude public_oe property

Modifies the projectile speed. Must be modified in the Pre_PlayerThrowWeapon hook for the changes to have effect on the projectile.
public float Magnitude
return float

Player public_oe property

public Player,Core Player
return Core.Player

Projectile public_oe property

public ProjectileShoot.Projectile Projectile
return ProjectileShoot.Projectile

ProjectileShoot public_oe property

public ProjectileShoot ProjectileShoot
return ProjectileShoot

Weapon public_oe property

public BaseMelee Weapon
return BaseMelee