Skip to content

RHAPI_LoginLootReward

Summary

MembersDescriptions
struct FRHAPI_LoginLootRewardLogin loot reward.

struct FRHAPI_LoginLootReward

struct FRHAPI_LoginLootReward
: public FRHAPI_Model

Login loot reward.

Summary

MembersDescriptions
public FString LootId_OptionalLoot ID.
public bool LootId_IsSettrue if LootId_Optional has been set to a value
public int32 LegacyLootIdLegacy 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) constWrites 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() constGets the value of LootId_Optional, regardless of it having been set.
public inline const FString & GetLootId(const FString & DefaultValue) constGets the value of LootId_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetLootId(FString & OutValue) constFills 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() constReturns a pointer to LootId_Optional, if it has been set, otherwise returns nullptr.
public inline void SetLootId(FString NewValue)Sets the value of LootId_Optional and also sets LootId_IsSet to true.
public inline void ClearLootId()Clears the value of LootId_Optional and sets LootId_IsSet to false.
public inline int32 & GetLegacyLootId()Gets the value of LegacyLootId.
public inline const int32 & GetLegacyLootId() constGets the value of LegacyLootId.
public inline void SetLegacyLootId(int32 NewValue)Sets the value of LegacyLootId.
public inline bool IsLegacyLootIdDefaultValue() constReturns 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

  • 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 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(FString NewValue)

Sets the value of LootId_Optional and also sets LootId_IsSet to true.

public inline void ClearLootId()

Clears the value of LootId_Optional and sets LootId_IsSet to false.

public inline int32 & GetLegacyLootId()

Gets the value of LegacyLootId.

public inline const int32 & GetLegacyLootId() const

Gets the value of LegacyLootId.

public inline void SetLegacyLootId(int32 NewValue)

Sets the value of LegacyLootId.

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