Skip to content

Class UGGPONetworkAddress

ClassList > UGGPONetworkAddress

More...

  • #include <ggponet.h>

Inherits the following classes: UObject

Public Functions

Type Name
void GetIpAddress (char OutAddress) const
FString GetIpAddressString () const
int32 GetPort () const
bool IsSameAddress (const UGGPONetworkAddress * Other) const
bool IsValidAddress () const
UGGPONetworkAddress ()

Public Static Functions

Type Name
UGGPONetworkAddress * CreateLocalAddress (UObject * Outer, const FName Name, int32 LocalPort)
UGGPONetworkAddress * CreateNetworkAddress (UObject * Outer, const FName Name, const FString Address)

Detailed Description

A network address object. Composed of an ip address and a port.

Public Functions Documentation

function GetIpAddress

void UGGPONetworkAddress::GetIpAddress (
    char OutAddress
) const

Outputs the ip address array to the passed pointer.


function GetIpAddressString

FString UGGPONetworkAddress::GetIpAddressString () const

Gets the ip address as a string.


function GetPort

int32 UGGPONetworkAddress::GetPort () const

Gets the port.


function IsSameAddress

bool UGGPONetworkAddress::IsSameAddress (
    const UGGPONetworkAddress * Other
) const

Gets the port.


function IsValidAddress

bool UGGPONetworkAddress::IsValidAddress () const

Returns whether the address is valid.


function UGGPONetworkAddress

inline UGGPONetworkAddress::UGGPONetworkAddress () 

Public Static Functions Documentation

function CreateLocalAddress

static UGGPONetworkAddress * UGGPONetworkAddress::CreateLocalAddress (
    UObject * Outer,
    const FName Name,
    int32 LocalPort
) 

Creates a GGPO local address.


function CreateNetworkAddress

static UGGPONetworkAddress * UGGPONetworkAddress::CreateNetworkAddress (
    UObject * Outer,
    const FName Name,
    const FString Address
) 

Creates a GGPO network address.



The documentation for this class was generated from the following file C:/Users/wistf/Unreal Projects/NightSkyEngine/Plugins/NightSkyEngine/Source/GGPOUE4/Public/include/ggponet.h