|
Robot Devastation
|
Dummy NetworkEventListener used for testing. More...
#include <MockNetworkEventListener.hpp>
Public Member Functions | |
| virtual bool | onDataArrived (const std::vector< Player > &players) |
| int | getDataArrived () const |
| void | resetDataArrived () |
| const std::vector< Player > & | getStoredPlayers () const |
Private Attributes | |
| int | data_arrived |
| std::vector< Player > | stored_players |
The required pure virtual members are left with their function body empty.
This mock object allows to access the received data and has a counter of the incoming messages received.
1.8.17