engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 友元 | 所有成员列表
FSteamEndpoint类 参考

Implements a Steam endpoint. 更多...

#include <SteamEndpoint.h>

Public 成员函数

 FSteamEndpoint ()
 Default constructor.
 
 FSteamEndpoint (uint64 InUniqueNetId, int32 InSteamChannel)
 Creates and initializes a new Steam address with the specified components. 更多...
 
int32 GetSteamChannel () const
 Gets the Steam channel number. 更多...
 
uint64 GetUniqueNetId () const
 Gets the unique network identifier. 更多...
 
bool operator!= (const FSteamEndpoint &Other) const
 Compares this Steam address with the given address for inequality. 更多...
 
bool operator== (const FSteamEndpoint &Other) const
 Compares this Steam address with the given address for equality. 更多...
 
NETWORKING_API FString ToString () const
 Gets the string representation for this address. 更多...
 

友元

uint32 GetTypeHash (const FSteamEndpoint &Address)
 Gets the hash for specified Steam address. 更多...
 
FArchive & operator<< (FArchive &Ar, FSteamEndpoint &SteamEndpoint)
 Serializes the given Steam address from or into the specified archive. 更多...
 

详细描述

Implements a Steam endpoint.

构造及析构函数说明

◆ FSteamEndpoint()

FSteamEndpoint::FSteamEndpoint ( uint64  InUniqueNetId,
int32  InSteamChannel 
)
inline

Creates and initializes a new Steam address with the specified components.

参数
InUniqueNetIdThe unique network identifier.
InSteamChannelThe Steam channel number.

成员函数说明

◆ GetSteamChannel()

int32 FSteamEndpoint::GetSteamChannel ( ) const
inline

Gets the Steam channel number.

返回
Steam channel number.
参见
GetUniqueNetId

◆ GetUniqueNetId()

uint64 FSteamEndpoint::GetUniqueNetId ( ) const
inline

Gets the unique network identifier.

返回
Unique network identifier.
参见
GetSteamChannel

◆ operator!=()

bool FSteamEndpoint::operator!= ( const FSteamEndpoint &  Other) const
inline

Compares this Steam address with the given address for inequality.

参数
OtherThe address to compare with.
返回
true if the addresses are not equal, false otherwise.

◆ operator==()

bool FSteamEndpoint::operator== ( const FSteamEndpoint &  Other) const
inline

Compares this Steam address with the given address for equality.

参数
OtherThe address to compare with.
返回
true if the addresses are equal, false otherwise.

◆ ToString()

NETWORKING_API FString FSteamEndpoint::ToString ( ) const

Gets the string representation for this address.

返回
String representation.

友元及相关函数文档

◆ GetTypeHash

uint32 GetTypeHash ( const FSteamEndpoint &  Address)
friend

Gets the hash for specified Steam address.

参数
Address- The address to get the hash for.
返回
Hash value.

◆ operator<<

FArchive & operator<< ( FArchive &  Ar,
FSteamEndpoint &  SteamEndpoint 
)
friend

Serializes the given Steam address from or into the specified archive.

参数
ArThe archive to serialize from or into.
IpAddressThe address to serialize.
返回
The archive.

该类的文档由以下文件生成: