Table of Contents

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

DateTime

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

DateTime

Object

public required GameObject Object { get; init; }

Property Value

GameObject

Player

public required WarfarePlayer Player { get; init; }

Property Value

WarfarePlayer

Projectile

public required WarfareProjectile Projectile { get; init; }

Property Value

WarfareProjectile

RocketComponent

public required Rocket RocketComponent { get; init; }

Property Value

Rocket

Vehicle

public required InteractableVehicle? Vehicle { get; init; }

Property Value

InteractableVehicle