File tree Expand file tree Collapse file tree
examples/clientServerLifeSimulator_004/server
includes/FastEngine/network Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -337,8 +337,7 @@ int main([[maybe_unused]] int argc, [[maybe_unused]] char* argv[])
337337 auto clientsLock = clients.acquireLock ();
338338 for (auto it = clients.begin (clientsLock); it != clients.end (clientsLock); ++it)
339339 {
340- if (it->second ->getStatus ().getNetworkStatus () !=
341- fge::net::ClientStatus::NetworkStatus::AUTHENTICATED)
340+ if (it->second ->getStatus ().getNetworkStatus () != fge::net::ClientStatus::NetworkStatus::AUTHENTICATED)
342341 {
343342 continue ;
344343 }
Original file line number Diff line number Diff line change 2121#include " C_identity.hpp"
2222#include " FastEngine/C_event.hpp"
2323#include " FastEngine/C_propertyList.hpp"
24- #include " FastEngine/network/C_protocol.hpp"
2524#include " FastEngine/network/C_netCommand.hpp"
25+ #include " FastEngine/network/C_protocol.hpp"
2626#include < array>
2727#include < atomic>
2828#include < chrono>
@@ -429,8 +429,8 @@ class FGE_API Client
429429 Event _event; // /< Optional client-side event that can be synchronized with the server
430430 PropertyList _data; // /< Some user-defined client properties
431431 OneWayLatencyPlanner _latencyPlanner; // /< A latency planner that will help latency calculation
432- ClientContext _context; // /< The client context containing utility classes for server/client networking
433- bool _mtuFinalizedFlag{false }; // /< A flag that indicate if the MTU has been finalized from the remote side
432+ ClientContext _context; // /< The client context containing utility classes for server/client networking
433+ bool _mtuFinalizedFlag{false }; // /< A flag that indicate if the MTU has been finalized from the remote side
434434
435435private:
436436 mutable std::optional<Timestamp> g_correctorTimestamp;
You can’t perform that action at this time.
0 commit comments