Add invoke_lua function to world model

This commit is contained in:
2021-10-15 14:47:12 -04:00
parent b7b4ad8577
commit 547b87d884
5 changed files with 84 additions and 62 deletions

View File

@@ -9,6 +9,8 @@
class InvocationData : public std::map<std::string, std::string> {
public:
const std::string &get(const std::string &key) const;
void serialize(StreamBuffer *sb) const;
void deserialize(StreamBuffer *sb);
};
@@ -18,6 +20,7 @@ public:
enum Kind {
KIND_INVALID,
KIND_PLAN,
KIND_LUA,
};
private: