Skip to content

FOperatingSystemUniqueId

#include <OperatingSystemSimulator/Public/OperatingSystemUniqueId.h>
---
config:
  class:
    hideEmptyMembersBox: true
---
classDiagram
  class FOperatingSystemUniqueId {
    +FOperatingSystemUniqueId()
    +FOperatingSystemUniqueId(const FString &UniqueId)
    +IsValid() const bool
    +GetID(FString &OutID) const bool
    +ToString() const FString
    +operator==(const FOperatingSystemUniqueId &Other) cons bool
    +GenerateNewId() FOperatingSystemUniqueId()
    +UniqueId : TOptional< FString >
  }

Documented call sites inside the plugin (4):

flowchart LR
  FOperatingSystemUniqueId__ToString["FOperatingSystemUniqueId::ToString"]
  FOperatingSystemUser__GetUserUniqueId["FOperatingSystemUser::GetUserUniqueId"]
  FOperatingSystemUser__GetUserUniqueId --> FOperatingSystemUniqueId__ToString
  UOperatingSystem__Internal_LoadSettings["UOperatingSystem::Internal_LoadSettings"]
  UOperatingSystem__Internal_LoadSettings --> FOperatingSystemUniqueId__ToString
  UOperatingSystemGameSubsystem__RequestFundsFromBank["UOperatingSystemGameSubsystem::RequestFundsFromBank"]
  UOperatingSystemGameSubsystem__RequestFundsFromBank --> FOperatingSystemUniqueId__ToString
  UOperatingSystemStatics__UniqueIdToString["UOperatingSystemStatics::UniqueIdToString"]
  UOperatingSystemStatics__UniqueIdToString --> FOperatingSystemUniqueId__ToString
class FOperatingSystemUniqueId

Defined in OperatingSystemUniqueId.h:17 This class represents a unique identifier for an operating system.

The FOperatingSystemUniqueId class provides functionality to generate a new unique identifier, as well as check whether the identifier is valid and retrieve its string representation. It also provides comparison operators to compare two identifiers for equality.

ReturnNameDescription
FOperatingSystemUniqueId inline
FOperatingSystemUniqueId inline
boolIsValid const inlineCheck whether the unique identifier is valid.
boolGetID const inlineRetrieves the unique identifier.
FStringToString const inlineConverts the unique identifier to a string representation.
booloperator== const inline

inline

inline FOperatingSystemUniqueId()

inline

inline FOperatingSystemUniqueId(const FString & UniqueId)

const inline

inline bool IsValid() const

Defined in OperatingSystemUniqueId.h:65 Check whether the unique identifier is valid.

This method checks whether the unique identifier is valid. The identifier is considered valid if it is set.

True if the unique identifier is valid, false otherwise.


const inline

inline bool GetID(FString & OutID) const

Defined in OperatingSystemUniqueId.h:78 Retrieves the unique identifier.

This method retrieves the unique identifier for the operating system. If the unique identifier is set, it is assigned to the parameter OutID, and the method returns true. Otherwise, OutID is assigned an empty string, and the method returns false.

  • OutID The output parameter to store the unique identifier.

True if the unique identifier is set and retrieved successfully, false otherwise.


const inline

inline FString ToString() const

Defined in OperatingSystemUniqueId.h:99 Converts the unique identifier to a string representation.

This method converts the unique identifier to a string representation. If the unique identifier is set, it assigns it to the variable OutID and returns it. If the unique identifier is not set, it assigns an empty string to the variable OutID and returns it.

The string representation of the unique identifier.


const inline

inline bool operator==(const FOperatingSystemUniqueId & Other) const

Defined in OperatingSystemUniqueId.h:110

ReturnNameDescription
FOperatingSystemUniqueIdGenerateNewId static inlineGenerates a new unique identifier for the operating system. This method generates a new unique identifier for the operating system by combining the current date and time with milliseconds.

static inline

static inline FOperatingSystemUniqueId GenerateNewId()

Defined in OperatingSystemUniqueId.h:43 Generates a new unique identifier for the operating system. This method generates a new unique identifier for the operating system by combining the current date and time with milliseconds.

A new unique identifier generated for the operating system.

  • INT_TO_STRING
ReturnNameDescription
TOptional< FString >UniqueId

TOptional< FString > UniqueId

Defined in OperatingSystemUniqueId.h:23