Ark Server API (ASA) - Wiki
|
#include <FrameValue.h>
Public Member Functions | |
TFrameValue (const ValueType &InValue) | |
TFrameValue (ValueType &&InValue) | |
TFrameValue () | |
TFrameValue (const TFrameValue &InValue) | |
TFrameValue (TFrameValue &&InValue) | |
TFrameValue & | operator= (const TFrameValue &InValue) |
TFrameValue & | operator= (TFrameValue &&InValue) |
TFrameValue & | operator= (const ValueType &InValue) |
TFrameValue & | operator= (ValueType &&InValue) |
bool | IsSet () const |
const ValueType & | GetValue () const |
ValueType | TryGetValue (ValueType UnsetValue) const |
Private Attributes | |
uint64 | FrameSet |
TOptional< ValueType > | Value |
This struct allows you to cache a value for a frame, and automatically invalidates when the frame advances. If the value was set this frame, IsSet() returns true and GetValue() is valid.
Definition at line 14 of file FrameValue.h.
|
inline |
Construct an OptionaType with a valid value.
Definition at line 22 of file FrameValue.h.
|
inline |
Definition at line 28 of file FrameValue.h.
|
inline |
Construct an OptionalType with no value; i.e. unset
Definition at line 35 of file FrameValue.h.
|
inline |
Copy/Move construction
Definition at line 41 of file FrameValue.h.
|
inline |
Definition at line 47 of file FrameValue.h.
|
inline |
Definition at line 88 of file FrameValue.h.
|
inline |
Definition at line 83 of file FrameValue.h.
|
inline |
Definition at line 53 of file FrameValue.h.
|
inline |
Definition at line 67 of file FrameValue.h.
|
inline |
Definition at line 60 of file FrameValue.h.
|
inline |
Definition at line 74 of file FrameValue.h.
|
inline |
Definition at line 94 of file FrameValue.h.
|
private |
Definition at line 17 of file FrameValue.h.
|
private |
Definition at line 18 of file FrameValue.h.