Skip to content

RHAPI_SessionPlayerUpdateResponse

Summary

MembersDescriptions
struct FRHAPI_SessionPlayerUpdateResponseResponse to a request to update a player in a session.

struct FRHAPI_SessionPlayerUpdateResponse

struct FRHAPI_SessionPlayerUpdateResponse
: public FRHAPI_Model

Response to a request to update a player in a session.

Summary

MembersDescriptions
public FGuid PlayerUuid_OptionalPlayer UUID of the player updated.
public bool PlayerUuid_IsSettrue if PlayerUuid_Optional has been set to a value
public ERHAPI_SessionPlayerStatus StatusStatus of the player after the request is completed.
public int32 TeamIdWhich team the player joined.
public TMap< FString, FString > CustomData_OptionalResulting custom data about the player.
public bool CustomData_IsSettrue if CustomData_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 FGuid & GetPlayerUuid()Gets the value of PlayerUuid_Optional, regardless of it having been set.
public inline const FGuid & GetPlayerUuid() constGets the value of PlayerUuid_Optional, regardless of it having been set.
public inline const FGuid & GetPlayerUuid(const FGuid & DefaultValue) constGets the value of PlayerUuid_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetPlayerUuid(FGuid & OutValue) constFills OutValue with the value of PlayerUuid_Optional and returns true if it has been set, otherwise returns false.
public inline FGuid * GetPlayerUuidOrNull()Returns a pointer to PlayerUuid_Optional, if it has been set, otherwise returns nullptr.
public inline const FGuid * GetPlayerUuidOrNull() constReturns a pointer to PlayerUuid_Optional, if it has been set, otherwise returns nullptr.
public inline void SetPlayerUuid(FGuid NewValue)Sets the value of PlayerUuid_Optional and also sets PlayerUuid_IsSet to true.
public inline void ClearPlayerUuid()Clears the value of PlayerUuid_Optional and sets PlayerUuid_IsSet to false.
public inline ERHAPI_SessionPlayerStatus & GetStatus()Gets the value of Status.
public inline const ERHAPI_SessionPlayerStatus & GetStatus() constGets the value of Status.
public inline void SetStatus(ERHAPI_SessionPlayerStatus NewValue)Sets the value of Status.
public inline int32 & GetTeamId()Gets the value of TeamId.
public inline const int32 & GetTeamId() constGets the value of TeamId.
public inline void SetTeamId(int32 NewValue)Sets the value of TeamId.
public inline bool IsTeamIdDefaultValue() constReturns true if TeamId matches the default value.
public inline void SetTeamIdToDefault()Sets the value of TeamId to its default
public inline TMap< FString, FString > & GetCustomData()Gets the value of CustomData_Optional, regardless of it having been set.
public inline const TMap< FString, FString > & GetCustomData() constGets the value of CustomData_Optional, regardless of it having been set.
public inline const TMap< FString, FString > & GetCustomData(const TMap< FString, FString > & DefaultValue) constGets the value of CustomData_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetCustomData(TMap< FString, FString > & OutValue) constFills OutValue with the value of CustomData_Optional and returns true if it has been set, otherwise returns false.
public inline TMap< FString, FString > * GetCustomDataOrNull()Returns a pointer to CustomData_Optional, if it has been set, otherwise returns nullptr.
public inline const TMap< FString, FString > * GetCustomDataOrNull() constReturns a pointer to CustomData_Optional, if it has been set, otherwise returns nullptr.
public inline void SetCustomData(TMap< FString, FString > NewValue)Sets the value of CustomData_Optional and also sets CustomData_IsSet to true.
public inline void ClearCustomData()Clears the value of CustomData_Optional and sets CustomData_IsSet to false.

Members

public FGuid PlayerUuid_Optional

Player UUID of the player updated.


#### `public bool `[`PlayerUuid_IsSet`](#structFRHAPI__SessionPlayerUpdateResponse_1a8cc5d4083ba7b6e109795fca95e78763)

true if PlayerUuid_Optional has been set to a value


#### `public ERHAPI_SessionPlayerStatus `[`Status`](#structFRHAPI__SessionPlayerUpdateResponse_1abcd84269dc5a15a9147263b018f3bd76)

Status of the player after the request is completed.


#### `public int32 `[`TeamId`](#structFRHAPI__SessionPlayerUpdateResponse_1a7e5d666f5988f2203a73e25f8b033134)

Which team the player joined.


#### `public TMap< FString, FString > `[`CustomData_Optional`](#structFRHAPI__SessionPlayerUpdateResponse_1aacc41614b0df8f8f891da6dbd72693d1)

Resulting custom data about the player.


#### `public bool `[`CustomData_IsSet`](#structFRHAPI__SessionPlayerUpdateResponse_1a0fcb6944466793eba1437f99d0d838f1)

true if CustomData_Optional has been set to a value


#### `public virtual bool `[`FromJson`](#structFRHAPI__SessionPlayerUpdateResponse_1a022836b19e964a142c582bedf3029335)`(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`](#structFRHAPI__SessionPlayerUpdateResponse_1aa3d1846e019c5cb83d6b70a2a5e9eefd)`(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`](#structFRHAPI__SessionPlayerUpdateResponse_1aaac919243d1c9ffb72862b00505d5f60)`()`

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


#### `public inline const FGuid & `[`GetPlayerUuid`](#structFRHAPI__SessionPlayerUpdateResponse_1a20d830a862dbaff5968b506e31b6f17e)`() const`

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


#### `public inline const FGuid & `[`GetPlayerUuid`](#structFRHAPI__SessionPlayerUpdateResponse_1ac10947100065d2b36e59e0e3d2b9b29e)`(const FGuid & DefaultValue) const`

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


#### `public inline bool `[`GetPlayerUuid`](#structFRHAPI__SessionPlayerUpdateResponse_1ad961afa4053273c8cc1ce9445e51e99e)`(FGuid & OutValue) const`

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


#### `public inline FGuid * `[`GetPlayerUuidOrNull`](#structFRHAPI__SessionPlayerUpdateResponse_1a96ec4e1ed8869cba97a21d1ed45acde8)`()`

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


#### `public inline const FGuid * `[`GetPlayerUuidOrNull`](#structFRHAPI__SessionPlayerUpdateResponse_1a64bfe7770df37062af18bfddd53f31c1)`() const`

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


#### `public inline void `[`SetPlayerUuid`](#structFRHAPI__SessionPlayerUpdateResponse_1aaff406779207c4bc8138e3b9a98903b7)`(FGuid NewValue)`

Sets the value of PlayerUuid_Optional and also sets PlayerUuid_IsSet to true.


#### `public inline void `[`ClearPlayerUuid`](#structFRHAPI__SessionPlayerUpdateResponse_1a755f14ea84c27f433407c6bdb38e1d83)`()`

Clears the value of PlayerUuid_Optional and sets PlayerUuid_IsSet to false.


#### `public inline ERHAPI_SessionPlayerStatus & `[`GetStatus`](#structFRHAPI__SessionPlayerUpdateResponse_1a148c72bdfa8dbd8814a12b1ded135818)`()`

Gets the value of Status.


#### `public inline const ERHAPI_SessionPlayerStatus & `[`GetStatus`](#structFRHAPI__SessionPlayerUpdateResponse_1abbe6baee678c48f03f8d0fe9fb355231)`() const`

Gets the value of Status.


#### `public inline void `[`SetStatus`](#structFRHAPI__SessionPlayerUpdateResponse_1a4fc96450ff368d273556f7f3ba07c6d0)`(ERHAPI_SessionPlayerStatus NewValue)`

Sets the value of Status.


#### `public inline int32 & `[`GetTeamId`](#structFRHAPI__SessionPlayerUpdateResponse_1ae2faf9ab39ec0885585ff09ce62498a8)`()`

Gets the value of TeamId.


#### `public inline const int32 & `[`GetTeamId`](#structFRHAPI__SessionPlayerUpdateResponse_1a03837704e2df17be8a245f5d0f03b4c0)`() const`

Gets the value of TeamId.


#### `public inline void `[`SetTeamId`](#structFRHAPI__SessionPlayerUpdateResponse_1a8336ddef479a51c8984c49e1e488348c)`(int32 NewValue)`

Sets the value of TeamId.


#### `public inline bool `[`IsTeamIdDefaultValue`](#structFRHAPI__SessionPlayerUpdateResponse_1ae881dcd5ab62fc5c93009d42f7cda798)`() const`

Returns true if TeamId matches the default value.


#### `public inline void `[`SetTeamIdToDefault`](#structFRHAPI__SessionPlayerUpdateResponse_1a29d5973e331400fbf99867e75eb17559)`()`

Sets the value of TeamId to its default


#### `public inline TMap< FString, FString > & `[`GetCustomData`](#structFRHAPI__SessionPlayerUpdateResponse_1a6d03d4c0b59ea29869585bd1378be57a)`()`

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


#### `public inline const TMap< FString, FString > & `[`GetCustomData`](#structFRHAPI__SessionPlayerUpdateResponse_1a19049555c141f4a5220d8eb8db9844c1)`() const`

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


#### `public inline const TMap< FString, FString > & `[`GetCustomData`](#structFRHAPI__SessionPlayerUpdateResponse_1a7835e64a4ddcad5aa198a4d58eb3fed1)`(const TMap< FString, FString > & DefaultValue) const`

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


#### `public inline bool `[`GetCustomData`](#structFRHAPI__SessionPlayerUpdateResponse_1a5f65f6d2f18ec9002e919ff06eb79a39)`(TMap< FString, FString > & OutValue) const`

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


#### `public inline TMap< FString, FString > * `[`GetCustomDataOrNull`](#structFRHAPI__SessionPlayerUpdateResponse_1a85d8c54cbd36f245d2e8e847f2c11638)`()`

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


#### `public inline const TMap< FString, FString > * `[`GetCustomDataOrNull`](#structFRHAPI__SessionPlayerUpdateResponse_1a28f2e305c419c746e63877fd476d4249)`() const`

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


#### `public inline void `[`SetCustomData`](#structFRHAPI__SessionPlayerUpdateResponse_1a2ff7004bde77929d76718821735ee5cb)`(TMap< FString, FString > NewValue)`

Sets the value of CustomData_Optional and also sets CustomData_IsSet to true.


#### `public inline void `[`ClearCustomData`](#structFRHAPI__SessionPlayerUpdateResponse_1a10c6e7f878de0a38058d2d3cf42b90dc)`()`

Clears the value of CustomData_Optional and sets CustomData_IsSet to false.