C4 Engine
C4 Engine API Documentation

Variable::SetVariableFlags

Defined in:  C4Variables.h
Returns the variable flags.
Prototype

void SetVariableFlags(uint32 flags);

Parameters
flags The new variable flags.
Description
The SetVariableFlags function sets the variable flags to the value specified by the flags parameter, which can be a combination (through logical OR) of the following constants.
kVariableNonpersistent The variable should not be saved across different executions of the engine.
kVariablePermanent The variable cannot be deleted by the user.
See Also

Variable::GetVariableFlags