]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/script/cpp_api/s_client.h
Move `setlocale` from Lua to C++.
[dragonfireclient.git] / src / script / cpp_api / s_client.h
index 074a68e39dd84067971ea6e7a11df4acf6150888..402b44e337d8355fb9ddec907f1b59f96cdbb46f 100644 (file)
@@ -40,8 +40,6 @@ class ScriptApiClient : virtual public ScriptApiBase
        // Calls on_shutdown handlers
        void on_shutdown();
 
-       void on_connect();
-
        // Chat message handlers
        bool on_sending_message(const std::string &message);
        bool on_receiving_message(const std::string &message);
@@ -57,5 +55,7 @@ class ScriptApiClient : virtual public ScriptApiBase
        bool on_placenode(const PointedThing &pointed, const ItemDefinition &item);
        bool on_item_use(const ItemStack &item, const PointedThing &pointed);
 
+       bool on_inventory_open(Inventory *inventory);
+
        void setEnv(ClientEnvironment *env);
 };