Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FNetworkGUID Class Reference

#include <Base.h>

Public Member Functions

 FNetworkGUID ()
 
 FNetworkGUID (uint32 V)
 
void BuildFromNetIndex (int32 StaticNetIndex)
 
int32 ExtractNetIndex ()
 
bool IsDynamic () const
 
bool IsStatic () const
 
bool IsValid () const
 
bool NetSerialize (FArchive &Ar, class UPackageMap *Map, bool &bOutSuccess)
 
bool IsDefault () const
 
void Reset ()
 
FString ToString () const
 

Static Public Member Functions

static FNetworkGUID GetDefault ()
 
static FNetworkGUID Make (int32 seed, bool bIsStatic)
 

Public Attributes

uint32 Value
 

Friends

bool operator== (const FNetworkGUID &X, const FNetworkGUID &Y)
 
bool operator!= (const FNetworkGUID &X, const FNetworkGUID &Y)
 
FArchiveoperator<< (FArchive &Ar, FNetworkGUID &G)
 
uint32 GetTypeHash (const FNetworkGUID &Guid)
 

Detailed Description

Implements a globally unique identifier for network related use.

For now, this is just a uint32 with some bits meaning special things. This may be expanded (beyond a uint32) eventually while keeping the API the same.

Definition at line 384 of file Base.h.

Constructor & Destructor Documentation

◆ FNetworkGUID() [1/2]

FNetworkGUID::FNetworkGUID ( )
inline

Definition at line 22 of file NetworkGuid.h.

◆ FNetworkGUID() [2/2]

FNetworkGUID::FNetworkGUID ( uint32 V)
inline

Definition at line 26 of file NetworkGuid.h.

Member Function Documentation

◆ BuildFromNetIndex()

void FNetworkGUID::BuildFromNetIndex ( int32 StaticNetIndex)
inline

Definition at line 50 of file NetworkGuid.h.

◆ ExtractNetIndex()

int32 FNetworkGUID::ExtractNetIndex ( )
inline

Definition at line 55 of file NetworkGuid.h.

◆ GetDefault()

static FNetworkGUID FNetworkGUID::GetDefault ( )
inlinestatic

Definition at line 92 of file NetworkGuid.h.

◆ IsDefault()

bool FNetworkGUID::IsDefault ( ) const
inline

A Valid but unassigned NetGUID

Definition at line 87 of file NetworkGuid.h.

◆ IsDynamic()

bool FNetworkGUID::IsDynamic ( ) const
inline

Definition at line 69 of file NetworkGuid.h.

◆ IsStatic()

bool FNetworkGUID::IsStatic ( ) const
inline

Definition at line 74 of file NetworkGuid.h.

◆ IsValid()

bool FNetworkGUID::IsValid ( ) const
inline

Definition at line 79 of file NetworkGuid.h.

◆ Make()

static FNetworkGUID FNetworkGUID::Make ( int32 seed,
bool bIsStatic )
inlinestatic

Definition at line 109 of file NetworkGuid.h.

◆ NetSerialize()

bool FNetworkGUID::NetSerialize ( FArchive & Ar,
class UPackageMap * Map,
bool & bOutSuccess )

◆ Reset()

void FNetworkGUID::Reset ( )
inline

Definition at line 97 of file NetworkGuid.h.

◆ ToString()

FString FNetworkGUID::ToString ( ) const
inline

Definition at line 102 of file NetworkGuid.h.

Friends And Related Symbol Documentation

◆ GetTypeHash

uint32 GetTypeHash ( const FNetworkGUID & Guid)
friend

Definition at line 64 of file NetworkGuid.h.

◆ operator!=

bool operator!= ( const FNetworkGUID & X,
const FNetworkGUID & Y )
friend

Definition at line 37 of file NetworkGuid.h.

◆ operator<<

FArchive & operator<< ( FArchive & Ar,
FNetworkGUID & G )
friend

Definition at line 42 of file NetworkGuid.h.

◆ operator==

Definition at line 32 of file NetworkGuid.h.

Member Data Documentation

◆ Value

uint32 FNetworkGUID::Value

Definition at line 18 of file NetworkGuid.h.


The documentation for this class was generated from the following files: