Переименовывание в LuaVox
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#include <boost/uuid/detail/sha1.hpp>
|
||||
|
||||
|
||||
namespace AL::Server {
|
||||
namespace LV::Server {
|
||||
|
||||
using VoxelId_c = uint16_t;
|
||||
using NodeId_c = uint16_t;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <TOSLib.hpp>
|
||||
|
||||
|
||||
namespace AL::Server {
|
||||
namespace LV::Server {
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include "Abstract.hpp"
|
||||
|
||||
|
||||
namespace AL::Server {
|
||||
namespace LV::Server {
|
||||
|
||||
namespace fs = std::filesystem;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "Server/Abstract.hpp"
|
||||
|
||||
|
||||
namespace AL::Server {
|
||||
namespace LV::Server {
|
||||
|
||||
ContentEventController::ContentEventController(std::unique_ptr<RemoteClient> &&remote)
|
||||
: Remote(std::move(remote))
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <vector>
|
||||
|
||||
|
||||
namespace AL::Server {
|
||||
namespace LV::Server {
|
||||
|
||||
class RemoteClient;
|
||||
class GameServer;
|
||||
@@ -138,11 +138,11 @@ public:
|
||||
namespace std {
|
||||
|
||||
template <>
|
||||
struct hash<AL::Server::ServerObjectPos> {
|
||||
std::size_t operator()(const AL::Server::ServerObjectPos& obj) const {
|
||||
struct hash<LV::Server::ServerObjectPos> {
|
||||
std::size_t operator()(const LV::Server::ServerObjectPos& obj) const {
|
||||
return std::hash<uint32_t>()(obj.WorldId) ^ std::hash<int32_t>()(obj.ObjectPos.x) ^ std::hash<int32_t>()(obj.ObjectPos.y) ^ std::hash<int32_t>()(obj.ObjectPos.z);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include <unordered_set>
|
||||
#include "SaveBackends/Filesystem.hpp"
|
||||
|
||||
namespace AL::Server {
|
||||
namespace LV::Server {
|
||||
|
||||
GameServer::~GameServer() {
|
||||
shutdown("on ~GameServer");
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include "SaveBackend.hpp"
|
||||
|
||||
|
||||
namespace AL::Server {
|
||||
namespace LV::Server {
|
||||
|
||||
namespace fs = std::filesystem;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include <unordered_set>
|
||||
|
||||
|
||||
namespace AL::Server {
|
||||
namespace LV::Server {
|
||||
|
||||
RemoteClient::~RemoteClient() {
|
||||
shutdown("~RemoteClient()");
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include <unordered_map>
|
||||
#include <unordered_set>
|
||||
|
||||
namespace AL::Server {
|
||||
namespace LV::Server {
|
||||
|
||||
/*
|
||||
Шаблоны игрового контента, которые необходимо поддерживать в актуальном
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#include "SaveBackend.hpp"
|
||||
|
||||
namespace AL::Server {
|
||||
namespace LV::Server {
|
||||
|
||||
IWorldSaveBackend::~IWorldSaveBackend() = default;
|
||||
IPlayerSaveBackend::~IPlayerSaveBackend() = default;
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <unordered_map>
|
||||
|
||||
|
||||
namespace AL::Server {
|
||||
namespace LV::Server {
|
||||
|
||||
struct SB_Region {
|
||||
std::vector<VoxelCube_Region> Voxels;
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include <fstream>
|
||||
#include <string>
|
||||
|
||||
namespace AL::Server::SaveBackends {
|
||||
namespace LV::Server::SaveBackends {
|
||||
|
||||
namespace fs = std::filesystem;
|
||||
namespace js = boost::json;
|
||||
@@ -253,4 +253,4 @@ std::unique_ptr<IModStorageSaveBackend> Filesystem::createModStorage(boost::json
|
||||
return std::make_unique<MSSB_Filesystem>(data);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <Server/SaveBackend.hpp>
|
||||
|
||||
|
||||
namespace AL::Server::SaveBackends {
|
||||
namespace LV::Server::SaveBackends {
|
||||
|
||||
class Filesystem : public ISaveBackendProvider {
|
||||
public:
|
||||
@@ -17,4 +17,4 @@ public:
|
||||
virtual std::unique_ptr<IModStorageSaveBackend> createModStorage(boost::json::object data) override;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include "World.hpp"
|
||||
|
||||
|
||||
namespace AL::Server {
|
||||
namespace LV::Server {
|
||||
|
||||
|
||||
World::World(WorldId_t id) {
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include <unordered_map>
|
||||
|
||||
|
||||
namespace AL::Server {
|
||||
namespace LV::Server {
|
||||
|
||||
class GameServer;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user