mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-02 02:43:44 +00:00
feat: web dashboard and playground work
The NexusDashboard-parity dashboard (dDashboardServer) and everything built on it on the experimental branch: accounts, characters, properties and moderation tools, permissions shared with in-game slash commands, economy reports, World 3D and property 3D views with client scenery, scheduled events (features, vanity changes, live events, announcements, restarts), vanity files and events, the CDClient browser, the message inspector with saved captures, chat filter tools, community challenges, live ops, the AI moderator helper, and the server-side changes they need. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -3,37 +3,14 @@
|
||||
#include <map>
|
||||
#include <iostream>
|
||||
#include "Zone.h"
|
||||
#include "LevelFile.h"
|
||||
|
||||
class Level {
|
||||
public:
|
||||
enum ChunkTypeID : uint16_t {
|
||||
FileInfo = 1000,
|
||||
SceneEnviroment = 2000,
|
||||
SceneObjectData,
|
||||
SceneParticleData
|
||||
};
|
||||
using ChunkTypeID = LevelFile::ChunkTypeID;
|
||||
using FileInfoChunk = LevelFile::FileInfoChunk;
|
||||
|
||||
enum ChunkTypes {
|
||||
Enviroment,
|
||||
Objects,
|
||||
Particles
|
||||
};
|
||||
|
||||
struct FileInfoChunk {
|
||||
uint32_t version;
|
||||
uint32_t revision;
|
||||
uint32_t enviromentChunkStart;
|
||||
uint32_t objectChunkStart;
|
||||
uint32_t particleChunkStart;
|
||||
};
|
||||
|
||||
struct Header {
|
||||
uint32_t id;
|
||||
uint16_t chunkVersion;
|
||||
ChunkTypeID chunkType;
|
||||
uint32_t size;
|
||||
uint32_t startPosition;
|
||||
FileInfoChunk fileInfo;
|
||||
struct Header : LevelFile::ChunkHeader {
|
||||
LWOSCENEID lwoSceneID;
|
||||
};
|
||||
|
||||
@@ -47,7 +24,5 @@ private:
|
||||
Zone* m_ParentZone;
|
||||
|
||||
//private functions:
|
||||
void ReadChunks(std::istream& file);
|
||||
void ReadFileInfoChunk(std::istream& file, Header& header);
|
||||
void ReadSceneObjectDataChunk(std::istream& file, Header& header);
|
||||
void LoadSceneObjects(const std::vector<SceneObject>& objects);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user