mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 20:14:54 +02:00
simpli map load/save
This commit is contained in:
@@ -123,7 +123,7 @@ bool ResourceManager::saveFile(const std::string& fileName, const uchar* data, u
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ResourceManager::saveFile(const std::string& fileName, std::istream& in)
|
||||
bool ResourceManager::saveFile(const std::string& fileName, std::iostream& in)
|
||||
{
|
||||
std::streampos oldPos = in.tellg();
|
||||
in.seekg(0, std::ios::end);
|
||||
|
@@ -44,7 +44,7 @@ public:
|
||||
|
||||
bool saveFile(const std::string& fileName, const uchar* data, uint size);
|
||||
bool saveFile(const std::string& fileName, const std::string& data);
|
||||
bool saveFile(const std::string& fileName, std::istream& in);
|
||||
bool saveFile(const std::string& fileName, std::iostream& in);
|
||||
|
||||
bool deleteFile(const std::string& fileName);
|
||||
|
||||
|
Reference in New Issue
Block a user