Skip to content
RallyHere Docs
GitHub

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

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

  • JsonValue Data 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

  • Writer JSON 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.