mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-18 17:55:27 +00:00
A world server answers the client's level editor: it remembers per connection whether the editor is on (and never sends such a client a zone load), takes and gives up the zone's lock, says whether files may be sent, takes them, sends the zone's files, and reloads the zone. Who may is the same as for the dashboard's zone file API: the account's editor level against zone_publish_gm_level, the zone's editors or an admin, and the lock's holder to send files. Files are unpacked, checked, written and packed on a worker thread, and every request is in the audit log. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
51 lines
1.5 KiB
CMake
51 lines
1.5 KiB
CMake
set(DGAME_DUTILITIES_SOURCES "BrickDatabase.cpp"
|
|
"BrickByBrick.cpp"
|
|
"CaptureProperty.cpp"
|
|
"ChatServerLink.cpp"
|
|
"CheatDetection.cpp"
|
|
"DashboardActions.cpp"
|
|
"EconomyLedger.cpp"
|
|
"DashboardNotify.cpp"
|
|
"GUID.cpp"
|
|
"LiveEvents.cpp"
|
|
"HolidayEvents.cpp"
|
|
"Contraband.cpp"
|
|
"ZoneEditor.cpp"
|
|
"PropertyBuilders.cpp"
|
|
"PropertyRent.cpp"
|
|
"PropertyReputation.cpp"
|
|
"Loot.cpp"
|
|
"Mail.cpp"
|
|
"MessageInspector.cpp"
|
|
"ObjectIDManager.cpp"
|
|
"PlayerReports.cpp"
|
|
"ReplicaDecoder.cpp"
|
|
"Preconditions.cpp"
|
|
"SlashCommandHandler.cpp"
|
|
"UgcManifest.cpp"
|
|
"VanityUtilities.cpp"
|
|
"WorldMigration.cpp")
|
|
|
|
add_subdirectory(SlashCommands)
|
|
|
|
foreach(file ${DGAME_DUTILITIES_SLASHCOMMANDS})
|
|
set(DGAME_DUTILITIES_SOURCES ${DGAME_DUTILITIES_SOURCES} "SlashCommands/${file}")
|
|
endforeach()
|
|
|
|
add_library(dUtilities OBJECT ${DGAME_DUTILITIES_SOURCES})
|
|
target_precompile_headers(dUtilities REUSE_FROM dGameBase)
|
|
target_include_directories(dUtilities PUBLIC "." "SlashCommands"
|
|
PRIVATE
|
|
${DLU_COMPONENT_INCLUDE_DIRS}
|
|
"${PROJECT_SOURCE_DIR}/dGame/dInventory" # transitive via PossessableComponent.h
|
|
"${PROJECT_SOURCE_DIR}/dGame/dGameMessages"
|
|
"${PROJECT_SOURCE_DIR}/dGame/dBehaviors" # transitive via InventoryComponent.h
|
|
"${PROJECT_SOURCE_DIR}/dGame/dMission" # transitive via MissionComponent.h
|
|
"${PROJECT_SOURCE_DIR}/dGame/dEntity" # transitive via dZoneManager/Spawner.h
|
|
"${PROJECT_SOURCE_DIR}/dZoneManager" # Mail.cpp
|
|
"${PROJECT_SOURCE_DIR}/dChatFilter" # DashboardActions.cpp (messages sent into chat)
|
|
)
|
|
target_link_libraries(dUtilities
|
|
PUBLIC dDatabase dPhysics
|
|
INTERFACE dZoneManager)
|