Simple struct representing a set of items in the bag.
More...
#include <Bag.hpp>
Simple struct representing a set of items in the bag.
Definition at line 24 of file Bag.hpp.
◆ Item() [1/2]
core::player::Bag::Item::Item |
( |
| ) |
|
Construct an empty item.
Definition at line 9 of file Bag.cpp.
◆ Item() [2/2]
core::player::Bag::Item::Item |
( |
item::Id |
id, |
|
|
unsigned int |
qty |
|
) |
| |
Construct a new Item object.
- Parameters
-
id | The item id |
qty | The number of that item |
Definition at line 13 of file Bag.cpp.
◆ id
The item in the bag.
Definition at line 26 of file Bag.hpp.
◆ qty
unsigned int core::player::Bag::Item::qty |
How many of the item are in the bag.
Definition at line 29 of file Bag.hpp.
The documentation for this struct was generated from the following files: