RHAPI_LoginLootReward
Summary
| Members | Descriptions |
|---|---|
struct FRHAPI_LoginLootReward | Login loot reward. |
struct FRHAPI_LoginLootReward
struct FRHAPI_LoginLootReward
: public FRHAPI_Model
Login loot reward.
Summary
| Members | Descriptions |
|---|---|
public FString LootId_Optional | Loot ID. |
public bool LootId_IsSet | true if LootId_Optional has been set to a value |
public int32 LegacyLootId | Legacy Loot ID. |
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) const | Writes the data from this object into the specified JSON Writer stream. |
public inline FString & GetLootId() | Gets the value of LootId_Optional, regardless of it having been set. |
public inline const FString & GetLootId() const | Gets the value of LootId_Optional, regardless of it having been set. |
public inline const FString & GetLootId(const FString & DefaultValue) const | Gets the value of LootId_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetLootId(FString & OutValue) const | Fills OutValue with the value of LootId_Optional and returns true if it has been set, otherwise returns false. |
public inline FString * GetLootIdOrNull() | Returns a pointer to LootId_Optional, if it has been set, otherwise returns nullptr. |
public inline const FString * GetLootIdOrNull() const | Returns a pointer to LootId_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetLootId(const FString & NewValue) | Sets the value of LootId_Optional and also sets LootId_IsSet to true. |
public inline void SetLootId(FString && NewValue) | Sets the value of LootId_Optional and also sets LootId_IsSet to true using move semantics. |
public inline void ClearLootId() | Clears the value of LootId_Optional and sets LootId_IsSet to false. |
public inline bool IsLootIdSet() const | Checks whether LootId_Optional has been set. |
public inline int32 & GetLegacyLootId() | Gets the value of LegacyLootId. |
public inline const int32 & GetLegacyLootId() const | Gets the value of LegacyLootId. |
public inline void SetLegacyLootId(const int32 & NewValue) | Sets the value of LegacyLootId. |
public inline void SetLegacyLootId(int32 && NewValue) | Sets the value of LegacyLootId using move semantics. |
public inline bool IsLegacyLootIdDefaultValue() const | Returns true if LegacyLootId matches the default value. |
public inline void SetLegacyLootIdToDefault() | Sets the value of LegacyLootId to its default |
Members
public FString LootId_Optional
Loot ID.
public bool LootId_IsSet
true if LootId_Optional has been set to a value
public int32 LegacyLootId
Legacy Loot ID.
public virtual bool FromJson(const TSharedPtr< FJsonValue > & JsonValue)
Fills this object with data from the passed in JSON.
Parameters
JsonValueData 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
WriterJSON Writer stream to push .
public inline FString & GetLootId()
Gets the value of LootId_Optional, regardless of it having been set.
public inline const FString & GetLootId() const
Gets the value of LootId_Optional, regardless of it having been set.
public inline const FString & GetLootId(const FString & DefaultValue) const
Gets the value of LootId_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetLootId(FString & OutValue) const
Fills OutValue with the value of LootId_Optional and returns true if it has been set, otherwise returns false.
public inline FString * GetLootIdOrNull()
Returns a pointer to LootId_Optional, if it has been set, otherwise returns nullptr.
public inline const FString * GetLootIdOrNull() const
Returns a pointer to LootId_Optional, if it has been set, otherwise returns nullptr.
public inline void SetLootId(const FString & NewValue)
Sets the value of LootId_Optional and also sets LootId_IsSet to true.
public inline void SetLootId(FString && NewValue)
Sets the value of LootId_Optional and also sets LootId_IsSet to true using move semantics.
public inline void ClearLootId()
Clears the value of LootId_Optional and sets LootId_IsSet to false.
public inline bool IsLootIdSet() const
Checks whether LootId_Optional has been set.
public inline int32 & GetLegacyLootId()
Gets the value of LegacyLootId.
public inline const int32 & GetLegacyLootId() const
Gets the value of LegacyLootId.
public inline void SetLegacyLootId(const int32 & NewValue)
Sets the value of LegacyLootId.
public inline void SetLegacyLootId(int32 && NewValue)
Sets the value of LegacyLootId using move semantics.
public inline bool IsLegacyLootIdDefaultValue() const
Returns true if LegacyLootId matches the default value.
public inline void SetLegacyLootIdToDefault()
Sets the value of LegacyLootId to its default