mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-02 10:53:44 +00:00
TrafficStats keeps packets and bytes in and out per second and the busiest packet and game message types. dServer counts at its send and receive calls and adds RakNet's connection statistics (datagrams, resends, ping); the report goes to master as SERVER_TRAFFIC (appended), which passes it to the dashboard. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
14 lines
401 B
CMake
14 lines
401 B
CMake
SET(DNET_TESTS
|
|
"ChatPacketsTests.cpp"
|
|
"CommonAuthPacketsTests.cpp"
|
|
"MasterPacketsTests.cpp"
|
|
"ServerTrafficTests.cpp"
|
|
"WorldPacketsTests.cpp")
|
|
|
|
# Get the folder name and prepend it to the files above
|
|
get_filename_component(thisFolderName ${CMAKE_CURRENT_SOURCE_DIR} NAME)
|
|
list(TRANSFORM DNET_TESTS PREPEND "${thisFolderName}/")
|
|
|
|
# Export to parent scope
|
|
set(DNET_TESTS ${DNET_TESTS} PARENT_SCOPE)
|