Nelaric Unreal Gameplay
Gameplay framework API
Toggle main menu visibility
Loading...
Searching...
No Matches
NetworkEndpoint.h
Go to the documentation of this file.
1
// Copyright (c) 2026 Nelaric
2
6
7
#pragma once
8
9
#include "CoreTypes.h"
10
#include "Containers/UnrealString.h"
11
12
namespace
Nelaric
13
{
19
struct
FNetworkEndpoint
20
{
22
FString
Address
;
23
25
int32
Port
= 0;
26
30
bool
IsValid
()
const
31
{
32
return
!
Address
.IsEmpty() &&
Port
>= 1 &&
Port
<= 65535;
33
}
34
};
35
}
// namespace Nelaric
Nelaric::FNetworkEndpoint
Host address and transport port of one network endpoint.
Definition
NetworkEndpoint.h:20
Nelaric::FNetworkEndpoint::IsValid
bool IsValid() const
Checks whether an address and usable port are present.
Definition
NetworkEndpoint.h:30
Nelaric::FNetworkEndpoint::Port
int32 Port
Transport port from 1 through 65535.
Definition
NetworkEndpoint.h:25
Nelaric::FNetworkEndpoint::Address
FString Address
Host name or IP address without a port.
Definition
NetworkEndpoint.h:22
NelaricGameplay
Plugins
NelaricGameplay
Source
GameplayRuntime
Public
Core
NetWork
NetworkEndpoint.h
Generated by
1.18.0