Skip to main content

RHAPI_CalculateRankResponse

Summary

MembersDescriptions
struct FRHAPI_CalculateRankResponseA response to recalculating players' ranks.

struct FRHAPI_CalculateRankResponse

struct FRHAPI_CalculateRankResponse
: public FRHAPI_Model

A response to recalculating players' ranks.

Summary

MembersDescriptions
public TArray< FRHAPI_PlayerRank>UpdatedPlayersList of players and their updated ranks.
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 TArray< FRHAPI_PlayerRank> &GetUpdatedPlayers()Gets the value of UpdatedPlayers.
public inline const TArray< FRHAPI_PlayerRank> &GetUpdatedPlayers() constGets the value of UpdatedPlayers.
public inline void SetUpdatedPlayers(const TArray< FRHAPI_PlayerRank > & NewValue)Sets the value of UpdatedPlayers.
public inline void SetUpdatedPlayers(TArray< FRHAPI_PlayerRank > && NewValue)Sets the value of UpdatedPlayers using move semantics.

Members

public TArray< FRHAPI_PlayerRank>UpdatedPlayers

List of players and their updated ranks.

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 TArray< FRHAPI_PlayerRank> &GetUpdatedPlayers()

Gets the value of UpdatedPlayers.

public inline const TArray< FRHAPI_PlayerRank> &GetUpdatedPlayers() const

Gets the value of UpdatedPlayers.

public inline void SetUpdatedPlayers(const TArray< FRHAPI_PlayerRank > & NewValue)

Sets the value of UpdatedPlayers.

public inline void SetUpdatedPlayers(TArray< FRHAPI_PlayerRank > && NewValue)

Sets the value of UpdatedPlayers using move semantics.