![]() |
Peoplemon
0.1.0
Peoplemon 3 game source documentation
|
Event that is fired when the bag menu should be opened. More...
#include <BagMenu.hpp>
Public Types | |
enum class | Context { BattleUse , PauseMenu } |
Represents how the menu should be opened. More... | |
Public Member Functions | |
OpenBagMenu (Context ctx, item::Id *result=nullptr, int outNow=-1, int *chosenPeoplemon=nullptr) | |
Construct a new Open Bag Menu event. More... | |
Public Attributes | |
const Context | context |
item::Id *const | result |
const int | outNow |
int *const | chosenPeoplemon |
Event that is fired when the bag menu should be opened.
Definition at line 16 of file BagMenu.hpp.
|
strong |
Represents how the menu should be opened.
Enumerator | |
---|---|
BattleUse | |
PauseMenu |
Definition at line 18 of file BagMenu.hpp.
|
inline |
Construct a new Open Bag Menu event.
ctx | The context to open the menu with |
result | Where to store the chosen item |
outNow | Which peoplemon is out now |
chosenPeoplemon | Where to store the chosen peoplemon |
Definition at line 28 of file BagMenu.hpp.
int* const core::event::OpenBagMenu::chosenPeoplemon |
Definition at line 38 of file BagMenu.hpp.
const Context core::event::OpenBagMenu::context |
Definition at line 35 of file BagMenu.hpp.
const int core::event::OpenBagMenu::outNow |
Definition at line 37 of file BagMenu.hpp.
item::Id* const core::event::OpenBagMenu::result |
Definition at line 36 of file BagMenu.hpp.