Classes Files

com::wombat::mamda::MamdaFieldState

More…

Public Functions

  Name
String toString(short fieldState)
void setState(short state)
short getState()

Public Attributes

  Name
final short NOT_INITIALISED
final short NOT_MODIFIED
final short MODIFIED

Detailed Description

class com::wombat::mamda::MamdaFieldState;

An enumeration representing field state. MODIFIED (0) value indicates the field was updated in last tick NOT MODIFIED (1) value indicate that there was no change in the last tick NOT_INITIALISED (2) value indicates that the field has never been updated

Public Functions Documentation

function toString

static inline String toString(
    short fieldState
)

Parameters:

  • fieldState The Field State as a short.

Convert a MamdaFieldState to an appropriate, displayable string.

function setState

inline void setState(
    short state
)

function getState

inline short getState()

Public Attributes Documentation

variable NOT_INITIALISED

static final short NOT_INITIALISED = 0;

variable NOT_MODIFIED

static final short NOT_MODIFIED = 1;

variable MODIFIED

static final short MODIFIED = 2;

Updated on 2023-03-31 at 15:30:32 +0100