Skip to content

RHAPI_FriendRelationshipV1

Summary

MembersDescriptions
struct FRHAPI_FriendRelationshipV1Represents the relationship with a potential friend. V1 includes player_id and player_uuid.

struct FRHAPI_FriendRelationshipV1

struct FRHAPI_FriendRelationshipV1
: public FRHAPI_Model

Represents the relationship with a potential friend. V1 includes player_id and player_uuid.

Summary

MembersDescriptions
public FGuid FriendsPlayerUuid
public int32 FriendsPlayerId_Optional
public bool FriendsPlayerId_IsSettrue if FriendsPlayerId_Optional has been set to a value
public ERHAPI_FriendshipStatus Status
public FString Notes_Optional
public bool Notes_IsSettrue if Notes_Optional has been set to a value
public FDateTime LastModifiedOn
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 FGuid & GetFriendsPlayerUuid()Gets the value of FriendsPlayerUuid.
public inline const FGuid & GetFriendsPlayerUuid() constGets the value of FriendsPlayerUuid.
public inline void SetFriendsPlayerUuid(FGuid NewValue)Sets the value of FriendsPlayerUuid.
public inline int32 & GetFriendsPlayerId()Gets the value of FriendsPlayerId_Optional, regardless of it having been set.
public inline const int32 & GetFriendsPlayerId() constGets the value of FriendsPlayerId_Optional, regardless of it having been set.
public inline const int32 & GetFriendsPlayerId(const int32 & DefaultValue) constGets the value of FriendsPlayerId_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetFriendsPlayerId(int32 & OutValue) constFills OutValue with the value of FriendsPlayerId_Optional and returns true if it has been set, otherwise returns false.
public inline int32 * GetFriendsPlayerIdOrNull()Returns a pointer to FriendsPlayerId_Optional, if it has been set, otherwise returns nullptr.
public inline const int32 * GetFriendsPlayerIdOrNull() constReturns a pointer to FriendsPlayerId_Optional, if it has been set, otherwise returns nullptr.
public inline void SetFriendsPlayerId(int32 NewValue)Sets the value of FriendsPlayerId_Optional and also sets FriendsPlayerId_IsSet to true.
public inline void ClearFriendsPlayerId()Clears the value of FriendsPlayerId_Optional and sets FriendsPlayerId_IsSet to false.
public inline bool IsFriendsPlayerIdDefaultValue() constReturns true if FriendsPlayerId_Optional is set and matches the default value.
public inline void SetFriendsPlayerIdToDefault()Sets the value of FriendsPlayerId_Optional to its default and also sets FriendsPlayerId_IsSet to true.
public inline ERHAPI_FriendshipStatus & GetStatus()Gets the value of Status.
public inline const ERHAPI_FriendshipStatus & GetStatus() constGets the value of Status.
public inline void SetStatus(ERHAPI_FriendshipStatus NewValue)Sets the value of Status.
public inline FString & GetNotes()Gets the value of Notes_Optional, regardless of it having been set.
public inline const FString & GetNotes() constGets the value of Notes_Optional, regardless of it having been set.
public inline const FString & GetNotes(const FString & DefaultValue) constGets the value of Notes_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetNotes(FString & OutValue) constFills OutValue with the value of Notes_Optional and returns true if it has been set, otherwise returns false.
public inline FString * GetNotesOrNull()Returns a pointer to Notes_Optional, if it has been set, otherwise returns nullptr.
public inline const FString * GetNotesOrNull() constReturns a pointer to Notes_Optional, if it has been set, otherwise returns nullptr.
public inline void SetNotes(FString NewValue)Sets the value of Notes_Optional and also sets Notes_IsSet to true.
public inline void ClearNotes()Clears the value of Notes_Optional and sets Notes_IsSet to false.
public inline FDateTime & GetLastModifiedOn()Gets the value of LastModifiedOn.
public inline const FDateTime & GetLastModifiedOn() constGets the value of LastModifiedOn.
public inline void SetLastModifiedOn(FDateTime NewValue)Sets the value of LastModifiedOn.

Members

public FGuid FriendsPlayerUuid

public int32 FriendsPlayerId_Optional

public bool FriendsPlayerId_IsSet

true if FriendsPlayerId_Optional has been set to a value

public ERHAPI_FriendshipStatus Status

public FString Notes_Optional

public bool Notes_IsSet

true if Notes_Optional has been set to a value

public FDateTime LastModifiedOn

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 FGuid & GetFriendsPlayerUuid()

Gets the value of FriendsPlayerUuid.

public inline const FGuid & GetFriendsPlayerUuid() const

Gets the value of FriendsPlayerUuid.

public inline void SetFriendsPlayerUuid(FGuid NewValue)

Sets the value of FriendsPlayerUuid.

public inline int32 & GetFriendsPlayerId()

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

public inline const int32 & GetFriendsPlayerId() const

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

public inline const int32 & GetFriendsPlayerId(const int32 & DefaultValue) const

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

public inline bool GetFriendsPlayerId(int32 & OutValue) const

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

public inline int32 * GetFriendsPlayerIdOrNull()

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

public inline const int32 * GetFriendsPlayerIdOrNull() const

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

public inline void SetFriendsPlayerId(int32 NewValue)

Sets the value of FriendsPlayerId_Optional and also sets FriendsPlayerId_IsSet to true.

public inline void ClearFriendsPlayerId()

Clears the value of FriendsPlayerId_Optional and sets FriendsPlayerId_IsSet to false.

public inline bool IsFriendsPlayerIdDefaultValue() const

Returns true if FriendsPlayerId_Optional is set and matches the default value.

public inline void SetFriendsPlayerIdToDefault()

Sets the value of FriendsPlayerId_Optional to its default and also sets FriendsPlayerId_IsSet to true.

public inline ERHAPI_FriendshipStatus & GetStatus()

Gets the value of Status.

public inline const ERHAPI_FriendshipStatus & GetStatus() const

Gets the value of Status.

public inline void SetStatus(ERHAPI_FriendshipStatus NewValue)

Sets the value of Status.

public inline FString & GetNotes()

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

public inline const FString & GetNotes() const

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

public inline const FString & GetNotes(const FString & DefaultValue) const

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

public inline bool GetNotes(FString & OutValue) const

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

public inline FString * GetNotesOrNull()

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

public inline const FString * GetNotesOrNull() const

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

public inline void SetNotes(FString NewValue)

Sets the value of Notes_Optional and also sets Notes_IsSet to true.

public inline void ClearNotes()

Clears the value of Notes_Optional and sets Notes_IsSet to false.

public inline FDateTime & GetLastModifiedOn()

Gets the value of LastModifiedOn.

public inline const FDateTime & GetLastModifiedOn() const

Gets the value of LastModifiedOn.

public inline void SetLastModifiedOn(FDateTime NewValue)

Sets the value of LastModifiedOn.