mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-11 07:13: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:
@@ -1,30 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
#include "ePropertyPrivacyOption.h"
|
||||
#include <chrono>
|
||||
#include "Entity.h"
|
||||
#include "Component.h"
|
||||
#include "eReplicaComponentType.h"
|
||||
|
||||
/**
|
||||
* Information regarding which players may visit this property
|
||||
*/
|
||||
enum class PropertyPrivacyOption {
|
||||
/**
|
||||
* Default, only you can visit your property
|
||||
*/
|
||||
Private = 0,
|
||||
|
||||
/**
|
||||
* Your friends can visit your property
|
||||
*/
|
||||
Friends = 1,
|
||||
|
||||
/**
|
||||
* Requires Mythran approval, everyone can visit your property
|
||||
*/
|
||||
Public = 2
|
||||
};
|
||||
|
||||
/**
|
||||
* Main component that handles interactions with a property, generally the plaques you see on properties.
|
||||
*/
|
||||
@@ -137,6 +118,9 @@ public:
|
||||
*/
|
||||
void UpdateApprovedStatus(bool value, const std::string& rejectionReason = "");
|
||||
|
||||
// A moderator decided on this property from the dashboard (already saved): keep this world's copy in step
|
||||
void ApplyModeration(bool approved, const std::string& reason);
|
||||
|
||||
/**
|
||||
* Loads all the models on this property from the database
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user