RHAPI_PlayerLastSeenUpdate
Summary
| Members | Descriptions |
|---|---|
struct FRHAPI_PlayerLastSeenUpdate |
struct FRHAPI_PlayerLastSeenUpdate
struct FRHAPI_PlayerLastSeenUpdate
: public FRHAPI_Model
Summary
| Members | Descriptions |
|---|---|
public FDateTime Time | Last time this player reported their online status. |
public FString Platform_Optional | Platform the user was online in. |
public bool Platform_IsSet | true if Platform_Optional has been set to a value |
public FString DisplayName_Optional | Player Display Name. |
public bool DisplayName_IsSet | true 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) const | Writes 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() const | Gets 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() const | Gets the value of Platform_Optional, regardless of it having been set. |
public inline const FString & GetPlatform(const FString & DefaultValue) const | Gets the value of Platform_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetPlatform(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() | Returns a pointer to Platform_Optional, if it has been set, otherwise returns nullptr. |
public inline const FString * GetPlatformOrNull() const | Returns 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() const | Gets the value of DisplayName_Optional, regardless of it having been set. |
public inline const FString & GetDisplayName(const FString & DefaultValue) const | Gets the value of DisplayName_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetDisplayName(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() | Returns a pointer to DisplayName_Optional, if it has been set, otherwise returns nullptr. |
public inline const FString * GetDisplayNameOrNull() const | Returns 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
Platform the user was online in.
public bool Platform_IsSet
true if Platform_Optional has been set to a value
public FString DisplayName_Optional
Player Display Name.
public bool DisplayName_IsSet
true 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.
Parameters
JsonValueData from the API call.
Returns
true if parsing of the JSON data was successful.
public virtual void WriteJson(TSharedRef< TJsonWriter<>> & Writer) const
Writes the data from this object into the specified JSON Writer stream.
Parameters
WriterJSON Writer stream to push .
public inline FDateTime & GetTime()
Gets the value of Time.
public inline const FDateTime & GetTime() const
Gets 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() const
Gets the value of Platform_Optional, regardless of it having been set.
public inline const FString & GetPlatform(const FString & DefaultValue) const
Gets the value of Platform_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetPlatform(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()
Returns a pointer to Platform_Optional, if it has been set, otherwise returns nullptr.
public inline const FString * GetPlatformOrNull() const
Returns 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() const
Gets the value of DisplayName_Optional, regardless of it having been set.
public inline const FString & GetDisplayName(const FString & DefaultValue) const
Gets the value of DisplayName_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetDisplayName(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()
Returns a pointer to DisplayName_Optional, if it has been set, otherwise returns nullptr.
public inline const FString * GetDisplayNameOrNull() const
Returns 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.