Zappy Server
C++ game server: world, rules, scheduler, network
Loading...
Searching...
No Matches
AiParser.hpp File Reference
#include <optional>
#include <string>
#include <string_view>
#include <variant>
#include "../core/data/Resources.hpp"
+ Include dependency graph for AiParser.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Ai::Forward
 
struct  Ai::Right
 
struct  Ai::Left
 
struct  Ai::Look
 
struct  Ai::Inventory
 
struct  Ai::Broadcast
 
struct  Ai::ConnectNbr
 
struct  Ai::Fork
 
struct  Ai::Eject
 
struct  Ai::Take
 
struct  Ai::Set
 
struct  Ai::Incantation
 
class  AiParser
 Parses a raw AI client line into a typed Ai::Command. More...
 

Namespaces

namespace  Ai
 Typed structs for the 12 AI client commands.
 

Typedefs

using Ai::Command = std::variant< Forward, Right, Left, Look, Inventory, Broadcast, ConnectNbr, Fork, Eject, Take, Set, Incantation >