public struct WeaponSpawnedEvent : IEventPayload

Payload for the "WeaponSpawned" event.

/// An event sent by the game when a weapon is spawned via a network spawner. This message will only get received by the host.


public WeaponPickableWrapper GetWeapon()

(Client) Get the weapon pickable that was spawned.

Returns: (WeaponPickable) The weapon pickable.


public NetworkSpawnerWrapper GetSpawner()

(Client) Get the spawner that spawned this weapon.

Returns: (NetworkSpawner) The spawner.