Class ProjectileSpawned
- Namespace
- Uncreated.Warfare.Events.Models.Projectiles
- Assembly
- Uncreated.Warfare.dll
[EventModel(EventSynchronizationContext.Pure)]
public class ProjectileSpawned
- Inheritance
-
ProjectileSpawned
- Inherited Members
Properties
Ammo
public required ItemMagazineAsset? Ammo { get; init; }
Property Value
- ItemMagazineAsset
Asset
public required ItemGunAsset Asset { get; init; }
Property Value
- ItemGunAsset
Barrel
public required ItemBarrelAsset? Barrel { get; init; }
Property Value
- ItemBarrelAsset
FiredTime
Time at which the player fired the weapon (when the first projectile spawned).
public required DateTime FiredTime { get; init; }
Property Value
Gun
public required UseableGun Gun { get; init; }
Property Value
- UseableGun
LaunchedTime
Time at which this projectile spawned.
public required DateTime LaunchedTime { get; init; }
Property Value
Object
public required GameObject Object { get; init; }
Property Value
- GameObject
Player
public required WarfarePlayer Player { get; init; }
Property Value
Projectile
public required WarfareProjectile Projectile { get; init; }
Property Value
RocketComponent
public required Rocket RocketComponent { get; init; }
Property Value
- Rocket
Vehicle
public required InteractableVehicle? Vehicle { get; init; }
Property Value
- InteractableVehicle