Add invoke_choose and invoke_player to DrivenEngine. invoke_player is not fully implemented in World

This commit is contained in:
2023-10-24 00:49:15 -04:00
parent 912bec91bf
commit d68a1dd0fe
10 changed files with 223 additions and 36 deletions

View File

@@ -349,9 +349,13 @@ private:
//
static void store_global_pointer(lua_State *L, World *w);
// Invoke a plan.
// Invoke choosing an item from a plan.
//
void invoke_plan(int64_t actor_id, int64_t place_id, std::string_view datapack);
void invoke_choose(int64_t actor_id, int64_t place_id, std::string_view datapack);
// Invoke a player method, used by the graphics engine to control the player.
//
void invoke_player(int64_t actor_id, int64_t place_id, std::string_view datapack);
// Invoke a lua string.
//