31 lines
960 B
C++
Executable file
31 lines
960 B
C++
Executable file
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "NetworkConnectionInfo.generated.h"
|
|
|
|
class AFSDPlayerController;
|
|
|
|
USTRUCT(BlueprintType)
|
|
struct FNetworkConnectionInfo {
|
|
GENERATED_BODY()
|
|
public:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
|
|
AFSDPlayerController* PlayerController;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
|
|
float PacketLossIn;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
|
|
float PacketLossOut;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
|
|
float Ping;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
|
|
float Jitter;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, Transient, meta=(AllowPrivateAccess=true))
|
|
bool IsValid;
|
|
|
|
FSD_API FNetworkConnectionInfo();
|
|
};
|
|
|