![]() |
Peoplemon
0.1.0
Peoplemon 3 game source documentation
|
Special event to trigger the opening of the peoplemon menu. More...
#include <PeoplemonMenu.hpp>
Public Types | |
enum class | Context { BattleSwitch , BattleFaint , BattleMustSwitch , BattleReviveSwitch , StorageSelect , PauseMenu , GiveItem , UseItem , UseItemBattle } |
Represents where the menu is being opened from. More... | |
Public Member Functions | |
OpenPeoplemonMenu (Context ctx, int outNow=-1, int *chosen=nullptr) | |
Construct a new Open Peoplemon Menu event. More... | |
Public Attributes | |
const Context | context |
const int | outNow |
int * | chosen |
Special event to trigger the opening of the peoplemon menu.
Definition at line 14 of file PeoplemonMenu.hpp.
|
strong |
Represents where the menu is being opened from.
Enumerator | |
---|---|
BattleSwitch | |
BattleFaint | |
BattleMustSwitch | |
BattleReviveSwitch | |
StorageSelect | |
PauseMenu | |
GiveItem | |
UseItem | |
UseItemBattle |
Definition at line 19 of file PeoplemonMenu.hpp.
|
inline |
Construct a new Open Peoplemon Menu event.
ctx | The context in which the menu is opened for |
outNow | Index of the peoplemon out now |
chosen | To store the index of the selected peoplemon |
Definition at line 38 of file PeoplemonMenu.hpp.
int* core::event::OpenPeoplemonMenu::chosen |
Definition at line 45 of file PeoplemonMenu.hpp.
const Context core::event::OpenPeoplemonMenu::context |
Definition at line 43 of file PeoplemonMenu.hpp.
const int core::event::OpenPeoplemonMenu::outNow |
Definition at line 44 of file PeoplemonMenu.hpp.