1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Rename "mod metadata" to "mod storage" everywhere

This commit is contained in:
Jude Melton-Houghton 2022-11-23 17:25:34 -05:00
parent 8817af07fb
commit 7c21347a40
22 changed files with 480 additions and 474 deletions

View file

@ -36,7 +36,7 @@ public:
class StorageRef : public MetaDataRef
{
private:
ModMetadata m_object;
ModStorage m_object;
static const luaL_Reg methods[];
@ -44,11 +44,11 @@ private:
virtual void clearMeta();
public:
StorageRef(const std::string &mod_name, ModMetadataDatabase *db): m_object(mod_name, db) {}
StorageRef(const std::string &mod_name, ModStorageDatabase *db): m_object(mod_name, db) {}
~StorageRef() = default;
static void Register(lua_State *L);
static void create(lua_State *L, const std::string &mod_name, ModMetadataDatabase *db);
static void create(lua_State *L, const std::string &mod_name, ModStorageDatabase *db);
static const char className[];
};