Pico Unreal Platform SDK
FInternetAddrPico Class Reference

#include <IPAddressPico.h>

Private Member Functions

void SetIp (uint32 InAddr) override
 
void SetIp (const TCHAR *InAddr, bool &bIsValid) override
 
void GetIp (uint32 &OutAddr) const override
 
void SetPort (int32 InPort) override
 
void GetPort (int32 &OutPort) const override
 
int32 GetPort () const override
 
void SetAnyAddress () override
 
void SetBroadcastAddress () override
 
void SetLoopbackAddress () override
 
FString ToString (bool bAppendPort) const override
 
virtual bool operator== (const FInternetAddr &Other) const override
 
virtual bool IsValid () const override
 

Detailed Description

Fake an internet ip address but in reality using an ppfID

Member Function Documentation

◆ GetIp()

void GetIp ( uint32 &  OutAddr) const
inlineoverrideprivate

Copies the network byte order ip address to a host byte order dword

Parameters
OutAddrthe out param receiving the ip address

Not used

◆ GetPort() [1/2]

int32 GetPort ( ) const
inlineoverrideprivate

Returns the port number from this address in host byte order

Not used

◆ GetPort() [2/2]

void GetPort ( int32 &  OutPort) const
inlineoverrideprivate

Copies the port number from this address and places it into a host byte order int

Parameters
OutPortthe host byte order int that receives the port

Not used

◆ IsValid()

virtual bool IsValid ( ) const
inlineoverrideprivatevirtual

Is this a well formed internet address

Returns
true if a valid Pico id, false otherwise

◆ operator==()

virtual bool operator== ( const FInternetAddr &  Other) const
inlineoverrideprivatevirtual

Compares two internet ip addresses for equality

Parameters
Otherthe address to compare against

◆ SetAnyAddress()

void SetAnyAddress ( )
inlineoverrideprivate

Sets the address to be any address

Not used

◆ SetBroadcastAddress()

void SetBroadcastAddress ( )
inlineoverrideprivate

Sets the address to broadcast

Not used

◆ SetIp() [1/2]

void SetIp ( const TCHAR *  InAddr,
bool &  bIsValid 
)
inlineoverrideprivate

Sets the ip address from a string ("A.B.C.D")

Parameters
InAddrthe string containing the new ip address to use

Not used

◆ SetIp() [2/2]

void SetIp ( uint32  InAddr)
inlineoverrideprivate

Sets the ip address from a host byte order uint32

Parameters
InAddrthe new address to use (must convert to network byte order)

Not used

◆ SetLoopbackAddress()

void SetLoopbackAddress ( )
inlineoverrideprivate

Sets the address to loopback

Not used

◆ SetPort()

void SetPort ( int32  InPort)
inlineoverrideprivate

Sets the port number from a host byte order int

Parameters
InPortthe new port to use (must convert to network byte order)

Not used

◆ ToString()

FString ToString ( bool  bAppendPort) const
inlineoverrideprivate

Converts this internet ip address to string form

Parameters
bAppendPortwhether to append the port information or not