public struct WeaponPickedUpEvent : IEventPayload

Payload for the "WeaponPickedUp" event.

An event sent by the game when picking up a weapon from a pickable.


public string GetWeapon()

(Client) Get the name of the weapon that was picked up.

Returns: (string) The name of the weapon.


public PlayerControllerWrapper GetPlayer()

(Client) Gets the player who picked up this weapon.

Returns: (PlayerController) The player.