Skip to content
RallyHere Docs
GitHub

RHAPI_FriendsList

Summary

MembersDescriptions
struct FRHAPI_FriendsListList of the player’s friends. Includes sent friend requests and received friends requests.

struct FRHAPI_FriendsList

struct FRHAPI_FriendsList
  : public FRHAPI_Model

List of the player’s friends. Includes sent friend requests and received friends requests.

Summary

MembersDescriptions
public FGuid PlayerUuid
public TArray< FRHAPI_FriendRelationship>Friends
public FRHAPI_PageMeta Page
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 & GetPlayerUuid()Gets the value of PlayerUuid.
public inline const FGuid & GetPlayerUuid() constGets the value of PlayerUuid.
public inline void SetPlayerUuid(FGuid NewValue)Sets the value of PlayerUuid.
public inline TArray< FRHAPI_FriendRelationship> &GetFriends()Gets the value of Friends.
public inline const TArray< FRHAPI_FriendRelationship> &GetFriends() constGets the value of Friends.
public inline void SetFriends(TArray< FRHAPI_FriendRelationship > NewValue)Sets the value of Friends.
public inline FRHAPI_PageMeta&GetPage()Gets the value of Page.
public inline const FRHAPI_PageMeta&GetPage() constGets the value of Page.
public inline void SetPage(FRHAPI_PageMeta NewValue)Sets the value of Page.

Members

public FGuid PlayerUuid

public TArray< FRHAPI_FriendRelationship>Friends

public FRHAPI_PageMeta Page

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 & GetPlayerUuid()

Gets the value of PlayerUuid.

public inline const FGuid & GetPlayerUuid() const

Gets the value of PlayerUuid.

public inline void SetPlayerUuid(FGuid NewValue)

Sets the value of PlayerUuid.

public inline TArray< FRHAPI_FriendRelationship> &GetFriends()

Gets the value of Friends.

public inline const TArray< FRHAPI_FriendRelationship> &GetFriends() const

Gets the value of Friends.

public inline void SetFriends(TArray< FRHAPI_FriendRelationship > NewValue)

Sets the value of Friends.

public inline FRHAPI_PageMeta&GetPage()

Gets the value of Page.

public inline const FRHAPI_PageMeta&GetPage() const

Gets the value of Page.

public inline void SetPage(FRHAPI_PageMeta NewValue)

Sets the value of Page.