Skip to main content

RHAPI_DeserterConfig

Summary​

MembersDescriptions
struct FRHAPI_DeserterConfig

struct FRHAPI_DeserterConfig ​

struct FRHAPI_DeserterConfig
: public FRHAPI_Model

Summary​

MembersDescriptions
public FGuid DeserterIdUnique id for this set of deserter config.
public FDateTime LastClearedTimestamp_OptionalDatetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone.
public bool LastClearedTimestamp_IsSettrue if LastClearedTimestamp_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 FGuid & GetDeserterId()Gets the value of DeserterId.
public inline const FGuid & GetDeserterId() constGets the value of DeserterId.
public inline void SetDeserterId(const FGuid & NewValue)Sets the value of DeserterId.
public inline void SetDeserterId(FGuid && NewValue)Sets the value of DeserterId using move semantics.
public inline FDateTime & GetLastClearedTimestamp()Gets the value of LastClearedTimestamp_Optional, regardless of it having been set.
public inline const FDateTime & GetLastClearedTimestamp() constGets the value of LastClearedTimestamp_Optional, regardless of it having been set.
public inline const FDateTime & GetLastClearedTimestamp(const FDateTime & DefaultValue) constGets the value of LastClearedTimestamp_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetLastClearedTimestamp(FDateTime & OutValue) constFills OutValue with the value of LastClearedTimestamp_Optional and returns true if it has been set, otherwise returns false.
public inline FDateTime * GetLastClearedTimestampOrNull()Returns a pointer to LastClearedTimestamp_Optional, if it has been set, otherwise returns nullptr.
public inline const FDateTime * GetLastClearedTimestampOrNull() constReturns a pointer to LastClearedTimestamp_Optional, if it has been set, otherwise returns nullptr.
public inline void SetLastClearedTimestamp(const FDateTime & NewValue)Sets the value of LastClearedTimestamp_Optional and also sets LastClearedTimestamp_IsSet to true.
public inline void SetLastClearedTimestamp(FDateTime && NewValue)Sets the value of LastClearedTimestamp_Optional and also sets LastClearedTimestamp_IsSet to true using move semantics.
public inline void ClearLastClearedTimestamp()Clears the value of LastClearedTimestamp_Optional and sets LastClearedTimestamp_IsSet to false.
public inline bool IsLastClearedTimestampSet() constChecks whether LastClearedTimestamp_Optional has been set.

Members​

public FGuid DeserterId ​

Unique id for this set of deserter config.

public FDateTime LastClearedTimestamp_Optional ​

Datetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone.

public bool LastClearedTimestamp_IsSet ​

true if LastClearedTimestamp_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 FGuid & GetDeserterId() ​

Gets the value of DeserterId.

public inline const FGuid & GetDeserterId() const ​

Gets the value of DeserterId.

public inline void SetDeserterId(const FGuid & NewValue) ​

Sets the value of DeserterId.

public inline void SetDeserterId(FGuid && NewValue) ​

Sets the value of DeserterId using move semantics.

public inline FDateTime & GetLastClearedTimestamp() ​

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

public inline const FDateTime & GetLastClearedTimestamp() const ​

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

public inline const FDateTime & GetLastClearedTimestamp(const FDateTime & DefaultValue) const ​

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

public inline bool GetLastClearedTimestamp(FDateTime & OutValue) const ​

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

public inline FDateTime * GetLastClearedTimestampOrNull() ​

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

public inline const FDateTime * GetLastClearedTimestampOrNull() const ​

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

public inline void SetLastClearedTimestamp(const FDateTime & NewValue) ​

Sets the value of LastClearedTimestamp_Optional and also sets LastClearedTimestamp_IsSet to true.

public inline void SetLastClearedTimestamp(FDateTime && NewValue) ​

Sets the value of LastClearedTimestamp_Optional and also sets LastClearedTimestamp_IsSet to true using move semantics.

public inline void ClearLastClearedTimestamp() ​

Clears the value of LastClearedTimestamp_Optional and sets LastClearedTimestamp_IsSet to false.

public inline bool IsLastClearedTimestampSet() const ​

Checks whether LastClearedTimestamp_Optional has been set.