3.4.7 game state saved. mnesia. how data is stored.
This commit is contained in:
parent
1c265c9257
commit
3ba7ab15af
1 changed files with 22 additions and 0 deletions
22
report.lyx
22
report.lyx
|
@ -4183,6 +4183,28 @@ name "sub:The-database-module"
|
|||
\end_inset
|
||||
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Game data from all games on the GGS are stored here.
|
||||
The database module is using a database management system called Mnesia.
|
||||
Game data will not be lost when a game is stopped or has went down for
|
||||
unknown reasons.
|
||||
This makes it possible to continue a game just before the failure without
|
||||
having to start the game from the beginning.
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Standard
|
||||
Each game is uniquely identified by a table token and it's data is stored
|
||||
within two different namespaces.
|
||||
The namespaces are named World and Localstorage.
|
||||
The World is used contain all game data related to the game state.
|
||||
This sort of game data may change during the runtime of the game.
|
||||
The Localstorage should contain data independent of the game state.
|
||||
Game resources, constants and globals are all examples of data that could
|
||||
reside within the Localstorage.
|
||||
|
||||
\end_layout
|
||||
|
||||
\begin_layout Section
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue