Navigation
API > API/Plugins > API/Plugins/SteamShared
| Name | FInternetAddrSteam |
| Type | class |
| Header File | /Engine/Plugins/Runtime/Steam/SteamShared/Source/SteamShared/Public/IPAddressSteam.h |
| Include Path | #include "IPAddressSteam.h" |
Syntax
class FInternetAddrSteam : public FInternetAddr
Inheritance Hierarchy
- FInternetAddr → FInternetAddrSteam
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FInternetAddrSteam
(
const SteamNetworkingIPAddr& IPAddr |
IPAddressSteam.h | ||
FInternetAddrSteam
(
uint64& SteamID |
IPAddressSteam.h | ||
FInternetAddrSteam
(
const CSteamID& SteamID |
IPAddressSteam.h | ||
FInternetAddrSteam
(
const SteamNetworkingIdentity& NewAddress |
IPAddressSteam.h | ||
FInternetAddrSteam
(
const FName RequestedProtocol |
IPAddressSteam.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Addr | SteamNetworkingIdentity | IPAddressSteam.h | ||
| P2PVirtualPort | int32 | IPAddressSteam.h | ||
| ProtocolType | FName | IPAddressSteam.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedRef< FInternetAddr > Clone() |
IPAddressSteam.h | ||
virtual void GetIp
(
uint32& OutAddr |
Copies the network byte order ip address to a host byte order dword | IPAddressSteam.h | |
virtual int32 GetPlatformPort() |
Get platform specific port data. | IPAddressSteam.h | |
virtual int32 GetPort() |
Returns the port number from this address in host byte order | IPAddressSteam.h | |
virtual FName GetProtocolType() |
IPAddressSteam.h | ||
virtual TArray< uint8 > GetRawIp() |
IPAddressSteam.h | ||
CSteamID GetSteamID() |
Attempts to return the CSteamID of the target. Will return an invalid CSteamID if using IP address | IPAddressSteam.h | |
uint64 GetSteamID64() |
IPAddressSteam.h | ||
virtual uint32 GetTypeHash() |
IPAddressSteam.h | ||
virtual bool IsValid() |
IPAddressSteam.h | ||
virtual void SetAnyAddress() |
Sets the address to be any address | IPAddressSteam.h | |
virtual void SetBroadcastAddress() |
Sets the address to broadcast | IPAddressSteam.h | |
virtual void SetIp
(
const TCHAR* InAddr, |
Sets the ip address from a string ("A.B.C.D") or a steam id "steam.STEAMID" or "STEAMID:PORT" | IPAddressSteam.h | |
virtual void SetIp
(
uint32 InAddr |
IPAddressSteam.h | ||
virtual void SetLoopbackAddress() |
Sets the address to loopback | IPAddressSteam.h | |
virtual void SetPlatformPort
(
int32 InPort |
Set Platform specific port data | IPAddressSteam.h | |
virtual void SetPort
(
int32 InPort |
Sets the port number from a host byte order int | IPAddressSteam.h | |
virtual void SetRawIp
(
const TArray< uint8 >& RawAddr |
IPAddressSteam.h | ||
void SetSteamID
(
CSteamID NewSteamID |
Shortcut for SetIp because SetIp is expecting the array format from GetIp which has some additional information | IPAddressSteam.h | |
virtual FString ToString
(
bool bAppendPort |
Converts this internet ip address to string form | IPAddressSteam.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator const SteamNetworkingIdentity() |
IPAddressSteam.h | ||
operator const SteamNetworkingIPAddr() |
IPAddressSteam.h | ||
bool operator==
(
const FInternetAddrSteam& Other |
Compares two internet ip addresses for equality | IPAddressSteam.h | |
virtual bool operator==
(
const FInternetAddr& Other |
Compares two internet ip addresses for equality | IPAddressSteam.h |