// Copyright (c) 2012-2023 Wojciech Figat. All rights reserved. #pragma once #include "Engine/Core/Compiler.h" #include "Engine/Core/Config.h" /// /// The network transport driver statistics container. Contains information about INetworkDriver usage and performance. /// API_STRUCT(Namespace="FlaxEngine.Networking", NoDefault) struct FLAXENGINE_API NetworkDriverStats { DECLARE_SCRIPTING_TYPE_MINIMAL(NetworkDriverStats); /// /// The mean round trip time (RTT), in milliseconds, between sending a reliable packet and receiving its acknowledgement. Also known as ping time. /// API_FIELD() float RTT = 0.0f; /// /// Total amount of data bytes sent by this client. /// API_FIELD() uint32 TotalDataSent = 0; /// /// Total amount of data bytes received by this client. /// API_FIELD() uint32 TotalDataReceived = 0; }; template<> struct TIsPODType { enum { Value = true }; };