RHAPI_InventorySession
Summary
| Members | Descriptions |
|---|---|
struct FRHAPI_InventorySession | Inventory Session for a Player. |
struct FRHAPI_InventorySession
struct FRHAPI_InventorySession
: public FRHAPI_Model
Inventory Session for a Player.
Summary
| Members | Descriptions |
|---|---|
public FString SessionId | Unique ID for this Inventory Session. |
public ERHAPI_Platform SessionPlatform_Optional | Platform for this Inventory Session. |
public bool SessionPlatform_IsSet | true if SessionPlatform_Optional has been set to a value |
public TArray< int32 > AppliedDurableLoot_Optional | Durable Loot that has been applied when this Inventory Session was created. |
public bool AppliedDurableLoot_IsSet | true if AppliedDurableLoot_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 FString & GetSessionId() | Gets the value of SessionId. |
public inline const FString & GetSessionId() const | Gets the value of SessionId. |
public inline void SetSessionId(FString NewValue) | Sets the value of SessionId. |
public inline ERHAPI_Platform & GetSessionPlatform() | Gets the value of SessionPlatform_Optional, regardless of it having been set. |
public inline const ERHAPI_Platform & GetSessionPlatform() const | Gets the value of SessionPlatform_Optional, regardless of it having been set. |
public inline const ERHAPI_Platform & GetSessionPlatform(const ERHAPI_Platform & DefaultValue) const | Gets the value of SessionPlatform_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetSessionPlatform(ERHAPI_Platform & OutValue) const | Fills OutValue with the value of SessionPlatform_Optional and returns true if it has been set, otherwise returns false. |
public inline ERHAPI_Platform * GetSessionPlatformOrNull() | Returns a pointer to SessionPlatform_Optional, if it has been set, otherwise returns nullptr. |
public inline const ERHAPI_Platform * GetSessionPlatformOrNull() const | Returns a pointer to SessionPlatform_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetSessionPlatform(ERHAPI_Platform NewValue) | Sets the value of SessionPlatform_Optional and also sets SessionPlatform_IsSet to true. |
public inline void ClearSessionPlatform() | Clears the value of SessionPlatform_Optional and sets SessionPlatform_IsSet to false. |
public inline TArray< int32 > & GetAppliedDurableLoot() | Gets the value of AppliedDurableLoot_Optional, regardless of it having been set. |
public inline const TArray< int32 > & GetAppliedDurableLoot() const | Gets the value of AppliedDurableLoot_Optional, regardless of it having been set. |
public inline const TArray< int32 > & GetAppliedDurableLoot(const TArray< int32 > & DefaultValue) const | Gets the value of AppliedDurableLoot_Optional, if it has been set, otherwise it returns DefaultValue. |
public inline bool GetAppliedDurableLoot(TArray< int32 > & OutValue) const | Fills OutValue with the value of AppliedDurableLoot_Optional and returns true if it has been set, otherwise returns false. |
public inline TArray< int32 > * GetAppliedDurableLootOrNull() | Returns a pointer to AppliedDurableLoot_Optional, if it has been set, otherwise returns nullptr. |
public inline const TArray< int32 > * GetAppliedDurableLootOrNull() const | Returns a pointer to AppliedDurableLoot_Optional, if it has been set, otherwise returns nullptr. |
public inline void SetAppliedDurableLoot(TArray< int32 > NewValue) | Sets the value of AppliedDurableLoot_Optional and also sets AppliedDurableLoot_IsSet to true. |
public inline void ClearAppliedDurableLoot() | Clears the value of AppliedDurableLoot_Optional and sets AppliedDurableLoot_IsSet to false. |
Members
public FString SessionId
Unique ID for this Inventory Session.
public ERHAPI_Platform SessionPlatform_Optional
Platform for this Inventory Session.
public bool SessionPlatform_IsSet
true if SessionPlatform_Optional has been set to a value
public TArray< int32 > AppliedDurableLoot_Optional
Durable Loot that has been applied when this Inventory Session was created.
public bool AppliedDurableLoot_IsSet
true if AppliedDurableLoot_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
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 & GetSessionId()
Gets the value of SessionId.
public inline const FString & GetSessionId() const
Gets the value of SessionId.
public inline void SetSessionId(FString NewValue)
Sets the value of SessionId.
public inline ERHAPI_Platform & GetSessionPlatform()
Gets the value of SessionPlatform_Optional, regardless of it having been set.
public inline const ERHAPI_Platform & GetSessionPlatform() const
Gets the value of SessionPlatform_Optional, regardless of it having been set.
public inline const ERHAPI_Platform & GetSessionPlatform(const ERHAPI_Platform & DefaultValue) const
Gets the value of SessionPlatform_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetSessionPlatform(ERHAPI_Platform & OutValue) const
Fills OutValue with the value of SessionPlatform_Optional and returns true if it has been set, otherwise returns false.
public inline ERHAPI_Platform * GetSessionPlatformOrNull()
Returns a pointer to SessionPlatform_Optional, if it has been set, otherwise returns nullptr.
public inline const ERHAPI_Platform * GetSessionPlatformOrNull() const
Returns a pointer to SessionPlatform_Optional, if it has been set, otherwise returns nullptr.
public inline void SetSessionPlatform(ERHAPI_Platform NewValue)
Sets the value of SessionPlatform_Optional and also sets SessionPlatform_IsSet to true.
public inline void ClearSessionPlatform()
Clears the value of SessionPlatform_Optional and sets SessionPlatform_IsSet to false.
public inline TArray< int32 > & GetAppliedDurableLoot()
Gets the value of AppliedDurableLoot_Optional, regardless of it having been set.
public inline const TArray< int32 > & GetAppliedDurableLoot() const
Gets the value of AppliedDurableLoot_Optional, regardless of it having been set.
public inline const TArray< int32 > & GetAppliedDurableLoot(const TArray< int32 > & DefaultValue) const
Gets the value of AppliedDurableLoot_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetAppliedDurableLoot(TArray< int32 > & OutValue) const
Fills OutValue with the value of AppliedDurableLoot_Optional and returns true if it has been set, otherwise returns false.
public inline TArray< int32 > * GetAppliedDurableLootOrNull()
Returns a pointer to AppliedDurableLoot_Optional, if it has been set, otherwise returns nullptr.
public inline const TArray< int32 > * GetAppliedDurableLootOrNull() const
Returns a pointer to AppliedDurableLoot_Optional, if it has been set, otherwise returns nullptr.
public inline void SetAppliedDurableLoot(TArray< int32 > NewValue)
Sets the value of AppliedDurableLoot_Optional and also sets AppliedDurableLoot_IsSet to true.
public inline void ClearAppliedDurableLoot()
Clears the value of AppliedDurableLoot_Optional and sets AppliedDurableLoot_IsSet to false.