mirror of
https://github.com/jorenchik/testing-spring-2024.git
synced 2025-10-21 20:10:36 +00:00
9 lines
352 B
C++
9 lines
352 B
C++
#include "prep/prep.hh"
|
|
|
|
void run();
|
|
|
|
bool playerBelongsToRoom(Player *player, Room *room);
|
|
bool actionBelongsToRole(Role *role, const Action *action);
|
|
bool isActionAllowed(const Action *action, std::vector<Event> *relevantEvents);
|
|
int validateAction(Player *actor, const Action *action, Room *room, std::vector<Event> *relatedEvents, Player *target);
|