mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-18 18:52:48 +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:
@@ -67,6 +67,12 @@ public:
|
||||
*/
|
||||
const std::string& GetUnapprovedName() const { return m_UnapprovedName; }
|
||||
|
||||
// A moderator decided on the requested name (from the dashboard): approved takes it, rejected drops the request
|
||||
void ApplyNameModeration(bool approved) {
|
||||
if (approved && !m_UnapprovedName.empty()) m_Name = m_UnapprovedName;
|
||||
m_UnapprovedName.clear();
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets whether or not the custom name for this character was rejected
|
||||
* @return whether the custom name for this character was rejected
|
||||
@@ -391,6 +397,12 @@ public:
|
||||
*/
|
||||
ePermissionMap GetPermissionMap() const;
|
||||
|
||||
/**
|
||||
* Sets the permissions of the character, e.g. when a moderator changes them while the character is online
|
||||
* @param permissionMap the new permissions
|
||||
*/
|
||||
void SetPermissionMap(ePermissionMap permissionMap) { m_PermissionMap = permissionMap; }
|
||||
|
||||
/**
|
||||
* Check if this character has a certain permission
|
||||
* @param permission the ID of the permission to check for
|
||||
|
||||
Reference in New Issue
Block a user