Skip to main content

RHAPI_XpTables

Summary​

MembersDescriptions
struct FRHAPI_XpTablesA collection of XP Tables. Each table is a collection of XP Levels from 1 to N. Each level has a minimum XP value.

struct FRHAPI_XpTables ​

struct FRHAPI_XpTables
: public FRHAPI_Model

A collection of XP Tables. Each table is a collection of XP Levels from 1 to N. Each level has a minimum XP value.

Summary​

MembersDescriptions
public TMap< FString, FRHAPI_XpTable>XpTables_Optional
public bool XpTables_IsSettrue if XpTables_Optional has been set to a value
public FRHAPI_CacheInfo CacheInfo_Optional
public bool CacheInfo_IsSettrue if CacheInfo_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 TMap< FString, FRHAPI_XpTable> &GetXpTables()Gets the value of XpTables_Optional, regardless of it having been set.
public inline const TMap< FString, FRHAPI_XpTable> &GetXpTables() constGets the value of XpTables_Optional, regardless of it having been set.
public inline const TMap< FString, FRHAPI_XpTable> &GetXpTables(const TMap< FString, FRHAPI_XpTable > & DefaultValue) constGets the value of XpTables_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetXpTables(TMap< FString, FRHAPI_XpTable > & OutValue) constFills OutValue with the value of XpTables_Optional and returns true if it has been set, otherwise returns false.
public inline TMap< FString, FRHAPI_XpTable> *GetXpTablesOrNull()Returns a pointer to XpTables_Optional, if it has been set, otherwise returns nullptr.
public inline const TMap< FString, FRHAPI_XpTable> *GetXpTablesOrNull() constReturns a pointer to XpTables_Optional, if it has been set, otherwise returns nullptr.
public inline void SetXpTables(const TMap< FString, FRHAPI_XpTable > & NewValue)Sets the value of XpTables_Optional and also sets XpTables_IsSet to true.
public inline void SetXpTables(TMap< FString, FRHAPI_XpTable > && NewValue)Sets the value of XpTables_Optional and also sets XpTables_IsSet to true using move semantics.
public inline void ClearXpTables()Clears the value of XpTables_Optional and sets XpTables_IsSet to false.
public inline bool IsXpTablesSet() constChecks whether XpTables_Optional has been set.
public inline FRHAPI_CacheInfo&GetCacheInfo()Gets the value of CacheInfo_Optional, regardless of it having been set.
public inline const FRHAPI_CacheInfo&GetCacheInfo() constGets the value of CacheInfo_Optional, regardless of it having been set.
public inline const FRHAPI_CacheInfo&GetCacheInfo(const FRHAPI_CacheInfo & DefaultValue) constGets the value of CacheInfo_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetCacheInfo(FRHAPI_CacheInfo & OutValue) constFills OutValue with the value of CacheInfo_Optional and returns true if it has been set, otherwise returns false.
public inline FRHAPI_CacheInfo*GetCacheInfoOrNull()Returns a pointer to CacheInfo_Optional, if it has been set, otherwise returns nullptr.
public inline const FRHAPI_CacheInfo*GetCacheInfoOrNull() constReturns a pointer to CacheInfo_Optional, if it has been set, otherwise returns nullptr.
public inline void SetCacheInfo(const FRHAPI_CacheInfo & NewValue)Sets the value of CacheInfo_Optional and also sets CacheInfo_IsSet to true.
public inline void SetCacheInfo(FRHAPI_CacheInfo && NewValue)Sets the value of CacheInfo_Optional and also sets CacheInfo_IsSet to true using move semantics.
public inline void ClearCacheInfo()Clears the value of CacheInfo_Optional and sets CacheInfo_IsSet to false.
public inline bool IsCacheInfoSet() constChecks whether CacheInfo_Optional has been set.

Members​

public TMap< FString, FRHAPI_XpTable>XpTables_Optional ​

public bool XpTables_IsSet ​

true if XpTables_Optional has been set to a value

public FRHAPI_CacheInfo CacheInfo_Optional ​

public bool CacheInfo_IsSet ​

true if CacheInfo_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 TMap< FString, FRHAPI_XpTable> &GetXpTables() ​

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

public inline const TMap< FString, FRHAPI_XpTable> &GetXpTables() const ​

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

public inline const TMap< FString, FRHAPI_XpTable> &GetXpTables(const TMap< FString, FRHAPI_XpTable > & DefaultValue) const ​

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

public inline bool GetXpTables(TMap< FString, FRHAPI_XpTable > & OutValue) const ​

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

public inline TMap< FString, FRHAPI_XpTable> *GetXpTablesOrNull() ​

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

public inline const TMap< FString, FRHAPI_XpTable> *GetXpTablesOrNull() const ​

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

public inline void SetXpTables(const TMap< FString, FRHAPI_XpTable > & NewValue) ​

Sets the value of XpTables_Optional and also sets XpTables_IsSet to true.

public inline void SetXpTables(TMap< FString, FRHAPI_XpTable > && NewValue) ​

Sets the value of XpTables_Optional and also sets XpTables_IsSet to true using move semantics.

public inline void ClearXpTables() ​

Clears the value of XpTables_Optional and sets XpTables_IsSet to false.

public inline bool IsXpTablesSet() const ​

Checks whether XpTables_Optional has been set.

public inline FRHAPI_CacheInfo&GetCacheInfo() ​

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

public inline const FRHAPI_CacheInfo&GetCacheInfo() const ​

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

public inline const FRHAPI_CacheInfo&GetCacheInfo(const FRHAPI_CacheInfo & DefaultValue) const ​

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

public inline bool GetCacheInfo(FRHAPI_CacheInfo & OutValue) const ​

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

public inline FRHAPI_CacheInfo*GetCacheInfoOrNull() ​

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

public inline const FRHAPI_CacheInfo*GetCacheInfoOrNull() const ​

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

public inline void SetCacheInfo(const FRHAPI_CacheInfo & NewValue) ​

Sets the value of CacheInfo_Optional and also sets CacheInfo_IsSet to true.

public inline void SetCacheInfo(FRHAPI_CacheInfo && NewValue) ​

Sets the value of CacheInfo_Optional and also sets CacheInfo_IsSet to true using move semantics.

public inline void ClearCacheInfo() ​

Clears the value of CacheInfo_Optional and sets CacheInfo_IsSet to false.

public inline bool IsCacheInfoSet() const ​

Checks whether CacheInfo_Optional has been set.