Skip to content

Class UGGPONetwork

ClassList > UGGPONetwork

More...

  • #include <ggponet.h>

Inherits the following classes: UObject

Public Functions

Type Name
bool AllUniqueAddresses () const
bool AllValidAddresses () const
UGGPONetworkAddress * GetAddress (int32 Index) const
int32 GetLocalPort () const
int32 GetPlayerIndex () const
int32 NumPlayers () const
UGGPONetwork ()

Public Static Functions

Type Name
UGGPONetwork * CreateNetwork (UObject * Outer, const FName Name, int32 NumPlayers, int32 PlayerIndex, int32 LocalPort, TArray< FString > RemoteAddresses)

Detailed Description

A collection of network addresses.

Public Functions Documentation

function AllUniqueAddresses

bool UGGPONetwork::AllUniqueAddresses () const

Returns whether all addresses are unique.


function AllValidAddresses

bool UGGPONetwork::AllValidAddresses () const

Returns whether all addresses are valid.


function GetAddress

UGGPONetworkAddress * UGGPONetwork::GetAddress (
    int32 Index
) const

Gets one network address.


function GetLocalPort

int32 UGGPONetwork::GetLocalPort () const

Gets the local port.


function GetPlayerIndex

int32 UGGPONetwork::GetPlayerIndex () const

Gets the local player index.


function NumPlayers

int32 UGGPONetwork::NumPlayers () const

Gets the total number of players on the network.


function UGGPONetwork

inline UGGPONetwork::UGGPONetwork () 

Public Static Functions Documentation

function CreateNetwork

static UGGPONetwork * UGGPONetwork::CreateNetwork (
    UObject * Outer,
    const FName Name,
    int32 NumPlayers,
    int32 PlayerIndex,
    int32 LocalPort,
    TArray< FString > RemoteAddresses
) 

Creates a collection of network addresses.



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