mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-16 09:55:22 +02:00
Move AreaStore container selection logic into getOptimalImplementation
This commit is contained in:
@@ -52,7 +52,6 @@ struct Area {
|
||||
std::string data;
|
||||
};
|
||||
|
||||
std::vector<std::string> get_areastore_typenames();
|
||||
|
||||
class AreaStore {
|
||||
protected:
|
||||
@@ -93,6 +92,8 @@ public:
|
||||
|
||||
const Area *getArea(u32 id) const;
|
||||
u16 size() const;
|
||||
|
||||
static AreaStore *getOptimalImplementation();
|
||||
#if 0
|
||||
bool deserialize(std::istream &is);
|
||||
void serialize(std::ostream &is) const;
|
||||
|
Reference in New Issue
Block a user