Skip to content

RHAPI_PlayerLastSeenUpdate

Summary

MembersDescriptions
struct FRHAPI_PlayerLastSeenUpdate

struct FRHAPI_PlayerLastSeenUpdate

struct FRHAPI_PlayerLastSeenUpdate
: public FRHAPI_Model

Summary

MembersDescriptions
public FDateTime TimeLast time this player reported their online status.
public FString Platform_OptionalPlatform the user was online in.
public bool Platform_IsSettrue if Platform_Optional has been set to a value
public FString DisplayName_OptionalPlayer Display Name.
public bool DisplayName_IsSettrue if DisplayName_Optional has been set to a value
public virtual bool FromJson(const TSharedPtr< FJsonValue > & JsonValue)Fills this object with data from the passed in JSON.
public virtual void WriteJson(TSharedRef< TJsonWriter<>> & Writer) constWrites the data from this object into the specified JSON Writer stream.
public inline FDateTime & GetTime()Gets the value of Time.
public inline const FDateTime & GetTime() constGets the value of Time.
public inline void SetTime(FDateTime NewValue)Sets the value of Time.
public inline FString & GetPlatform()Gets the value of Platform_Optional, regardless of it having been set.
public inline const FString & GetPlatform() constGets the value of Platform_Optional, regardless of it having been set.
public inline const FString & GetPlatform(const FString & DefaultValue) constGets the value of Platform_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetPlatform(FString & OutValue) constFills OutValue with the value of Platform_Optional and returns true if it has been set, otherwise returns false.
public inline FString * GetPlatformOrNull()Returns a pointer to Platform_Optional, if it has been set, otherwise returns nullptr.
public inline const FString * GetPlatformOrNull() constReturns a pointer to Platform_Optional, if it has been set, otherwise returns nullptr.
public inline void SetPlatform(FString NewValue)Sets the value of Platform_Optional and also sets Platform_IsSet to true.
public inline void ClearPlatform()Clears the value of Platform_Optional and sets Platform_IsSet to false.
public inline FString & GetDisplayName()Gets the value of DisplayName_Optional, regardless of it having been set.
public inline const FString & GetDisplayName() constGets the value of DisplayName_Optional, regardless of it having been set.
public inline const FString & GetDisplayName(const FString & DefaultValue) constGets the value of DisplayName_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetDisplayName(FString & OutValue) constFills OutValue with the value of DisplayName_Optional and returns true if it has been set, otherwise returns false.
public inline FString * GetDisplayNameOrNull()Returns a pointer to DisplayName_Optional, if it has been set, otherwise returns nullptr.
public inline const FString * GetDisplayNameOrNull() constReturns a pointer to DisplayName_Optional, if it has been set, otherwise returns nullptr.
public inline void SetDisplayName(FString NewValue)Sets the value of DisplayName_Optional and also sets DisplayName_IsSet to true.
public inline void ClearDisplayName()Clears the value of DisplayName_Optional and sets DisplayName_IsSet to false.

Members

public FDateTime Time

Last time this player reported their online status.


#### `public FString `[`Platform_Optional`](#structFRHAPI__PlayerLastSeenUpdate_1ace7260325ef2f15713ef90d0544387d3)

Platform the user was online in.


#### `public bool `[`Platform_IsSet`](#structFRHAPI__PlayerLastSeenUpdate_1a3e0f8a06427ed33debc26f6e803716f3)

true if Platform_Optional has been set to a value


#### `public FString `[`DisplayName_Optional`](#structFRHAPI__PlayerLastSeenUpdate_1af7ccaaa4754dfdfecb54198a36a1023c)

Player Display Name.


#### `public bool `[`DisplayName_IsSet`](#structFRHAPI__PlayerLastSeenUpdate_1a5806815fa7538ea0b3c068d1542bc012)

true if DisplayName_Optional has been set to a value


#### `public virtual bool `[`FromJson`](#structFRHAPI__PlayerLastSeenUpdate_1a69d14579678d69c672e84c3b1f4d3aed)`(const TSharedPtr< FJsonValue > & JsonValue)`

Fills this object with data from the passed in JSON.

Parameters

  • JsonValue Data from the API call.

Returns

true if parsing of the JSON data was successful.


#### `public virtual void `[`WriteJson`](#structFRHAPI__PlayerLastSeenUpdate_1aebe570f16c631f17b3c363b4feba3347)`(TSharedRef< TJsonWriter<>> & Writer) const`

Writes the data from this object into the specified JSON Writer stream.

Parameters

  • Writer JSON Writer stream to push .

#### `public inline FDateTime & `[`GetTime`](#structFRHAPI__PlayerLastSeenUpdate_1ae4c517815382d832c42ed5176b7b263e)`()`

Gets the value of Time.


#### `public inline const FDateTime & `[`GetTime`](#structFRHAPI__PlayerLastSeenUpdate_1ac1c9b2a229061b77dd501bc90928e4f2)`() const`

Gets the value of Time.


#### `public inline void `[`SetTime`](#structFRHAPI__PlayerLastSeenUpdate_1a8f00375115d308d4948492533a3b7513)`(FDateTime NewValue)`

Sets the value of Time.


#### `public inline FString & `[`GetPlatform`](#structFRHAPI__PlayerLastSeenUpdate_1a92f99e6dc4b486ad533f07cbdf9667b5)`()`

Gets the value of Platform_Optional, regardless of it having been set.


#### `public inline const FString & `[`GetPlatform`](#structFRHAPI__PlayerLastSeenUpdate_1a4d2e617b2394850ec7eb69bf938a08be)`() const`

Gets the value of Platform_Optional, regardless of it having been set.


#### `public inline const FString & `[`GetPlatform`](#structFRHAPI__PlayerLastSeenUpdate_1af3f949aae640c72190baf0d73e6d9b80)`(const FString & DefaultValue) const`

Gets the value of Platform_Optional, if it has been set, otherwise it returns DefaultValue.


#### `public inline bool `[`GetPlatform`](#structFRHAPI__PlayerLastSeenUpdate_1a904d2fa8eb892778c6b748195fed4593)`(FString & OutValue) const`

Fills OutValue with the value of Platform_Optional and returns true if it has been set, otherwise returns false.


#### `public inline FString * `[`GetPlatformOrNull`](#structFRHAPI__PlayerLastSeenUpdate_1abf1e4a79e065ce2e25e43876f6f001cd)`()`

Returns a pointer to Platform_Optional, if it has been set, otherwise returns nullptr.


#### `public inline const FString * `[`GetPlatformOrNull`](#structFRHAPI__PlayerLastSeenUpdate_1ae6f1517f7ddca3105951e4fb717770e3)`() const`

Returns a pointer to Platform_Optional, if it has been set, otherwise returns nullptr.


#### `public inline void `[`SetPlatform`](#structFRHAPI__PlayerLastSeenUpdate_1ae27d91e724a1f7a7570b5829e0dfee8f)`(FString NewValue)`

Sets the value of Platform_Optional and also sets Platform_IsSet to true.


#### `public inline void `[`ClearPlatform`](#structFRHAPI__PlayerLastSeenUpdate_1aa3cc09e14a89615c9bbe6c0c8d8fae9b)`()`

Clears the value of Platform_Optional and sets Platform_IsSet to false.


#### `public inline FString & `[`GetDisplayName`](#structFRHAPI__PlayerLastSeenUpdate_1a30250675af12fb277f2182668bf3ec9a)`()`

Gets the value of DisplayName_Optional, regardless of it having been set.


#### `public inline const FString & `[`GetDisplayName`](#structFRHAPI__PlayerLastSeenUpdate_1ab5489de635edc0730fdaf537f0120d5f)`() const`

Gets the value of DisplayName_Optional, regardless of it having been set.


#### `public inline const FString & `[`GetDisplayName`](#structFRHAPI__PlayerLastSeenUpdate_1a6d5d04b81a85d0f01b640ba714d0f8df)`(const FString & DefaultValue) const`

Gets the value of DisplayName_Optional, if it has been set, otherwise it returns DefaultValue.


#### `public inline bool `[`GetDisplayName`](#structFRHAPI__PlayerLastSeenUpdate_1a7ed6067e479cde3635a48302c86c7db6)`(FString & OutValue) const`

Fills OutValue with the value of DisplayName_Optional and returns true if it has been set, otherwise returns false.


#### `public inline FString * `[`GetDisplayNameOrNull`](#structFRHAPI__PlayerLastSeenUpdate_1afd2dc56c4287e3fb3c96f347ceb712f5)`()`

Returns a pointer to DisplayName_Optional, if it has been set, otherwise returns nullptr.


#### `public inline const FString * `[`GetDisplayNameOrNull`](#structFRHAPI__PlayerLastSeenUpdate_1ad59d485b895730387c53caed315b4aa5)`() const`

Returns a pointer to DisplayName_Optional, if it has been set, otherwise returns nullptr.


#### `public inline void `[`SetDisplayName`](#structFRHAPI__PlayerLastSeenUpdate_1ac582ecace3194202efe69422236169ae)`(FString NewValue)`

Sets the value of DisplayName_Optional and also sets DisplayName_IsSet to true.


#### `public inline void `[`ClearDisplayName`](#structFRHAPI__PlayerLastSeenUpdate_1a808a56f9cf76cfde9abcf2bb0c5bd9c4)`()`

Clears the value of DisplayName_Optional and sets DisplayName_IsSet to false.