Games\GamesByEmail.js
GamesByEmail
Object
All Implemented Interfaces:
GamesByEmail.Info
implementsFoundation.Class
A generic repository for key value pairs. Used to save state data in the game and team, and preferences for the player.
See Also:
Constructor Summary |
|
Method Summary | |
|
Clears all values from the respository.
|
|
|
|
Gets a value from the respository.
|
|
Sets a value in the respository.
|
Methods inherited from Foundation.Class |
getTypePath , isInstanceOf |
Constructor Detail |
GamesByEmail.Info()
Method Detail |
void
clear()
Clears all values from the respository.
dispose()
dispose
in class Class
Variant
getValue(/*String
*/ key,
/*Variant
*/ defaultValue)
Gets a value from the respository.
Parameters:key -The key of the value to get.
defaultValue -If the value is not in the repository, this value is returned. If the value does exists, it is cast to the same type as defaultValue.
void
setValue(/*String
*/ key,
/*Variant
*/ value)
Sets a value in the respository.
Parameters:key -The key of the value to set.
value -The value to set.