Use named args in CreateExpedition lua api

This is a breaking api change

All expedition request parameters are now passed via a single table
containing hash keyed options to define values
This commit is contained in:
hg committed 2020-12-30 18:47:31 -05:00
1 parent b68994f25c
commit 58b3708a47
2 files changed
+67 -52

No files matched your search

+1 -1
View File
@@ -339,7 +339,7 @@ public:
void SetClientMaxLevel(int value);
int GetClientMaxLevel();
Lua_Expedition CreateExpedition(luabind::object dz_info, luabind::object expedition_info);
Lua_Expedition CreateExpedition(luabind::object expedition_info);
Lua_Expedition CreateExpedition(std::string zone_name, uint32 version, uint32 duration, std::string expedition_name, uint32 min_players, uint32 max_players);
Lua_Expedition CreateExpedition(std::string zone_name, uint32 version, uint32 duration, std::string expedition_name, uint32 min_players, uint32 max_players, bool disable_messages);
Lua_Expedition GetExpedition();