Skip to content

RHAPI_PlayerOrderDetail

Summary

MembersDescriptions
struct FRHAPI_PlayerOrderDetailRepresents details of what occurred in a Player Order Entry.

struct FRHAPI_PlayerOrderDetail

struct FRHAPI_PlayerOrderDetail
: public FRHAPI_Model

Represents details of what occurred in a Player Order Entry.

Summary

MembersDescriptions
public ERHAPI_PlayerOrderDetailType TypeThe type of detail.
public int32 LootId_OptionalThe Loot ID.
public bool LootId_IsSettrue if LootId_Optional has been set to a value
public FRHAPI_PlayerInventoryChange InvChange_OptionalThe Inventory change that occurred as part of this detail.
public bool InvChange_IsSettrue if InvChange_Optional has been set to a value
public FRHAPI_PlayerOrderCreate Order_OptionalReference to the Player Order that this detail belongs to.
public bool Order_IsSettrue if Order_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 ERHAPI_PlayerOrderDetailType & GetType()Gets the value of Type.
public inline const ERHAPI_PlayerOrderDetailType & GetType() constGets the value of Type.
public inline void SetType(ERHAPI_PlayerOrderDetailType NewValue)Sets the value of Type.
public inline int32 & GetLootId()Gets the value of LootId_Optional, regardless of it having been set.
public inline const int32 & GetLootId() constGets the value of LootId_Optional, regardless of it having been set.
public inline const int32 & GetLootId(const int32 & DefaultValue) constGets the value of LootId_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetLootId(int32 & OutValue) constFills OutValue with the value of LootId_Optional and returns true if it has been set, otherwise returns false.
public inline int32 * GetLootIdOrNull()Returns a pointer to LootId_Optional, if it has been set, otherwise returns nullptr.
public inline const int32 * GetLootIdOrNull() constReturns a pointer to LootId_Optional, if it has been set, otherwise returns nullptr.
public inline void SetLootId(int32 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 bool IsLootIdDefaultValue() constReturns true if LootId_Optional is set and matches the default value.
public inline void SetLootIdToDefault()Sets the value of LootId_Optional to its default and also sets LootId_IsSet to true.
public inline FRHAPI_PlayerInventoryChange&GetInvChange()Gets the value of InvChange_Optional, regardless of it having been set.
public inline const FRHAPI_PlayerInventoryChange&GetInvChange() constGets the value of InvChange_Optional, regardless of it having been set.
public inline const FRHAPI_PlayerInventoryChange&GetInvChange(const FRHAPI_PlayerInventoryChange & DefaultValue) constGets the value of InvChange_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetInvChange(FRHAPI_PlayerInventoryChange & OutValue) constFills OutValue with the value of InvChange_Optional and returns true if it has been set, otherwise returns false.
public inline FRHAPI_PlayerInventoryChange*GetInvChangeOrNull()Returns a pointer to InvChange_Optional, if it has been set, otherwise returns nullptr.
public inline const FRHAPI_PlayerInventoryChange*GetInvChangeOrNull() constReturns a pointer to InvChange_Optional, if it has been set, otherwise returns nullptr.
public inline void SetInvChange(FRHAPI_PlayerInventoryChange NewValue)Sets the value of InvChange_Optional and also sets InvChange_IsSet to true.
public inline void ClearInvChange()Clears the value of InvChange_Optional and sets InvChange_IsSet to false.
public inline FRHAPI_PlayerOrderCreate&GetOrder()Gets the value of Order_Optional, regardless of it having been set.
public inline const FRHAPI_PlayerOrderCreate&GetOrder() constGets the value of Order_Optional, regardless of it having been set.
public inline const FRHAPI_PlayerOrderCreate&GetOrder(const FRHAPI_PlayerOrderCreate & DefaultValue) constGets the value of Order_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetOrder(FRHAPI_PlayerOrderCreate & OutValue) constFills OutValue with the value of Order_Optional and returns true if it has been set, otherwise returns false.
public inline FRHAPI_PlayerOrderCreate*GetOrderOrNull()Returns a pointer to Order_Optional, if it has been set, otherwise returns nullptr.
public inline const FRHAPI_PlayerOrderCreate*GetOrderOrNull() constReturns a pointer to Order_Optional, if it has been set, otherwise returns nullptr.
public inline void SetOrder(FRHAPI_PlayerOrderCreate NewValue)Sets the value of Order_Optional and also sets Order_IsSet to true.
public inline void ClearOrder()Clears the value of Order_Optional and sets Order_IsSet to false.

Members

public ERHAPI_PlayerOrderDetailType Type

The type of detail.

public int32 LootId_Optional

The Loot ID.

public bool LootId_IsSet

true if LootId_Optional has been set to a value

public FRHAPI_PlayerInventoryChange InvChange_Optional

The Inventory change that occurred as part of this detail.

public bool InvChange_IsSet

true if InvChange_Optional has been set to a value

public FRHAPI_PlayerOrderCreate Order_Optional

Reference to the Player Order that this detail belongs to.

public bool Order_IsSet

true if Order_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.

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 ERHAPI_PlayerOrderDetailType & GetType()

Gets the value of Type.

public inline const ERHAPI_PlayerOrderDetailType & GetType() const

Gets the value of Type.

public inline void SetType(ERHAPI_PlayerOrderDetailType NewValue)

Sets the value of Type.

public inline int32 & GetLootId()

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

public inline const int32 & GetLootId() const

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

public inline const int32 & GetLootId(const int32 & DefaultValue) const

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

public inline bool GetLootId(int32 & OutValue) const

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

public inline int32 * GetLootIdOrNull()

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

public inline const int32 * GetLootIdOrNull() const

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

public inline void SetLootId(int32 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 bool IsLootIdDefaultValue() const

Returns true if LootId_Optional is set and matches the default value.

public inline void SetLootIdToDefault()

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

public inline FRHAPI_PlayerInventoryChange&GetInvChange()

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

public inline const FRHAPI_PlayerInventoryChange&GetInvChange() const

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

public inline const FRHAPI_PlayerInventoryChange&GetInvChange(const FRHAPI_PlayerInventoryChange & DefaultValue) const

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

public inline bool GetInvChange(FRHAPI_PlayerInventoryChange & OutValue) const

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

public inline FRHAPI_PlayerInventoryChange*GetInvChangeOrNull()

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

public inline const FRHAPI_PlayerInventoryChange*GetInvChangeOrNull() const

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

public inline void SetInvChange(FRHAPI_PlayerInventoryChange NewValue)

Sets the value of InvChange_Optional and also sets InvChange_IsSet to true.

public inline void ClearInvChange()

Clears the value of InvChange_Optional and sets InvChange_IsSet to false.

public inline FRHAPI_PlayerOrderCreate&GetOrder()

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

public inline const FRHAPI_PlayerOrderCreate&GetOrder() const

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

public inline const FRHAPI_PlayerOrderCreate&GetOrder(const FRHAPI_PlayerOrderCreate & DefaultValue) const

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

public inline bool GetOrder(FRHAPI_PlayerOrderCreate & OutValue) const

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

public inline FRHAPI_PlayerOrderCreate*GetOrderOrNull()

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

public inline const FRHAPI_PlayerOrderCreate*GetOrderOrNull() const

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

public inline void SetOrder(FRHAPI_PlayerOrderCreate NewValue)

Sets the value of Order_Optional and also sets Order_IsSet to true.

public inline void ClearOrder()

Clears the value of Order_Optional and sets Order_IsSet to false.