mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-02 10:53:44 +00:00
ReplicaDecoder mirrors Entity::WriteBaseReplicaData and each component's Serialize, keeps what each network ID is per world instance, and shows the rest as bits when no layout fits. CaptureTool links the game: game messages are decoded (and compared in replays), and decode --cdserver reads replica packets. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
49 lines
1.5 KiB
CMake
49 lines
1.5 KiB
CMake
set(DGAME_DUTILITIES_SOURCES "BrickDatabase.cpp"
|
|
"BrickByBrick.cpp"
|
|
"ChatServerLink.cpp"
|
|
"CheatDetection.cpp"
|
|
"DashboardActions.cpp"
|
|
"EconomyLedger.cpp"
|
|
"DashboardNotify.cpp"
|
|
"GUID.cpp"
|
|
"LiveEvents.cpp"
|
|
"HolidayEvents.cpp"
|
|
"Contraband.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
|
|
"${PROJECT_SOURCE_DIR}/dGame/dComponents"
|
|
"${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)
|