XII Release 0.1.0
Loading...
Searching...
No Matches
xiiStateMap Class Reference

Copyright (c) Theophilus Eriata. All Rights Reserved. More...

#include <StateMap.h>

Public Member Functions

 xiiStateMap ()
 Copyright (c) Theophilus Eriata. All Rights Reserved.
void Clear ()
void StoreBool (const xiiTempHashedString &sName, bool value)
void StoreInteger (const xiiTempHashedString &sName, xiiInt64 value)
void StoreDouble (const xiiTempHashedString &sName, double value)
void StoreVec3 (const xiiTempHashedString &sName, const xiiVec3 &value)
void StoreVec3d (const xiiTempHashedString &sName, const xiiVec3d &value)
void StoreColor (const xiiTempHashedString &sName, const xiiColor &value)
void StoreString (const xiiTempHashedString &sName, const xiiString &value)
void RetrieveBool (const xiiTempHashedString &sName, bool &out_bValue, bool bDefaultValue=false)
void RetrieveInteger (const xiiTempHashedString &sName, xiiInt64 &out_iValue, xiiInt64 iDefaultValue=0)
void RetrieveDouble (const xiiTempHashedString &sName, double &out_fValue, double fDefaultValue=0)
void RetrieveVec3 (const xiiTempHashedString &sName, xiiVec3 &out_vValue, xiiVec3 vDefaultValue=xiiVec3(0))
void RetrieveVec3d (const xiiTempHashedString &sName, xiiVec3d &out_vValue, xiiVec3d vDefaultValue=xiiVec3d(0))
void RetrieveColor (const xiiTempHashedString &sName, xiiColor &out_value, xiiColor defaultValue=xiiColor::White)
void RetrieveString (const xiiTempHashedString &sName, xiiString &out_sValue, xiiStringView sDefaultValue={})

Detailed Description

Copyright (c) Theophilus Eriata. All Rights Reserved.

A simple registry that stores name/value pairs of types that are common to store game state

Member Function Documentation

◆ Clear()

void xiiStateMap::Clear ( )

void Load(xiiStreamReader& stream); void Save(xiiStreamWriter& stream) const; Lock / Unlock


The documentation for this class was generated from the following files:
  • /home/runner/work/XII/XII/Source/Engine/Core/GameState/StateMap.h
  • /home/runner/work/XII/XII/Source/Engine/Core/GameState/Implementation/StateMap.cpp