RHAPI_PlayerOrderDetail
Summary
Members | Descriptions |
---|---|
struct FRHAPI_PlayerOrderDetail | Represents 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
Members | Descriptions |
---|---|
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 | |
public bool InvChange_IsSet | true if InvChange_Optional has been set to a value |
public FRHAPI_PlayerOrderCreate Order_Optional | |
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. |
public virtual void WriteJson (TSharedRef< TJsonWriter<>> & Writer) const | Writes 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 () 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. |
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
public bool
InvChange_IsSet
true if InvChange_Optional has been set to a value
public
FRHAPI_PlayerOrderCreate
Order_Optional
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.