|
Pokebot
Pokemon FireRed bot
|
#include <TalkTo.hh>


Public Member Functions | |
| TalkTo (uint8_t personId, VM::ChoicePts *choices=NULL) | |
| ~TalkTo () | |
Public Member Functions inherited from AAction | |
| AAction () | |
| Action::State | update () |
| virtual | ~AAction () |
| void | queue (AAction *act) |
| void | reset () |
| Action::State | getState () const |
| void | setState (Action::State st) |
| void | emit (const std::string &signal) |
| void | addListener (const std::string &signal, void(*listener)(AAction *)) |
| void | addListener (const std::string &signal, void(AAction::*listener)()) |
Additional Inherited Members | |
Protected Member Functions inherited from AAction | |
| uint32_t | _getCounter () const |
Protected Attributes inherited from AAction | |
| Data & | _data |
| Action::State | _state |
| std::queue< AAction * > | _actions |
| std::map< std::string, std::vector< std::function < void(AAction *)> > > | _listeners |
| Action::TalkTo::TalkTo | ( | uint8_t | personId, |
| VM::ChoicePts * | choices = NULL |
||
| ) |
Talk to a person
This action walks to a person, turns towards it and then speaks to it. You can specify what the bot will answer in case there's a multichoice box or a yes/no choice.
| personId | Index of the person in the person array |
| choices | List of answers (returned by VM::execCountNewVisits) |
| Action::TalkTo::~TalkTo | ( | ) |
1.8.8