Peoplemon  0.1.0
Peoplemon 3 game source documentation
Public Member Functions | Public Attributes | List of all members
core::event::ItemPickedUp Struct Reference

Fired when an item is picked up. More...

#include <Item.hpp>

Public Member Functions

 ItemPickedUp (item::Id item)
 Construct a new ItemPickedUp event. More...
 

Public Attributes

item::Id item
 The id of the item that was picked up. More...
 

Detailed Description

Fired when an item is picked up.

Definition at line 16 of file Item.hpp.

Constructor & Destructor Documentation

◆ ItemPickedUp()

core::event::ItemPickedUp::ItemPickedUp ( item::Id  item)
inline

Construct a new ItemPickedUp event.

Parameters
itemThe item that was picked up

Definition at line 25 of file Item.hpp.

Member Data Documentation

◆ item

item::Id core::event::ItemPickedUp::item

The id of the item that was picked up.

Definition at line 18 of file Item.hpp.


The documentation for this struct was generated from the following file: