Overhaul of command parsing
This commit is contained in:
@@ -33,7 +33,9 @@ private:
|
||||
public:
|
||||
Invocation();
|
||||
Invocation(Kind kind, int64_t actor, int64_t place, const std::string &action, const InvocationData &data);
|
||||
|
||||
Invocation(Kind kind, int64_t actor, int64_t place, const std::string &action);
|
||||
|
||||
bool valid() const { return kind_ != KIND_INVALID; }
|
||||
Kind kind() const { return kind_; }
|
||||
int64_t actor() const { return actor_; }
|
||||
int64_t place() const { return place_; }
|
||||
|
||||
Reference in New Issue
Block a user