// The base for all the C++-side scriptapi classes ScriptApiBase | | // Functions for C++ to call callbacks related to detached inventories +- ScriptApiDetached, -+ | | | // Functions for C++ | to call callbacks related to entities +- ScriptApiEntity ----+ | | | // Functions for C++ | to call callbacks related to the environment +- ScriptApiEnv -------+ | | | // Functions for C++ | to call callbacks related to nodes +- ScriptApiNode ------+ | | | // Functions for C++ | to call callbacks related to players +- ScriptApiPlayer ----+ | | | // Functions for C++ | to call callbacks related to the server +- ScriptApiServer ----+ | | | | // Derived from all the above | | // Also initializes the lua-side API in the game | +-- ScriptApiForGame | | +- ScriptApiMainMenu --+ | | // Derived from ScriptApiMainMenu | // Also initializes the lua-side API in the mainmenu +-- ScriptApiForMainMenu