CCUserDefault
CCUserDefault
Cocos2DInheritance: System.Object
Properties
SharedUserDefault(Cocos2D.CCUserDefault)
Methods
Flush()
Flush()()
GetBoolForKey(string)
System.Boolean GetBoolForKey(string)(System.String pKey)
Parameters:
pKey
(System.String)Returns:
System.Boolean
GetBoolForKey(string, bool)
System.Boolean GetBoolForKey(string, bool)(System.String pKey, System.Boolean defaultValue)
Parameters:
pKey
(System.String)defaultValue
(System.Boolean)Returns:
System.Boolean
GetDoubleForKey(string, double)
System.Double GetDoubleForKey(string, double)(System.String pKey, System.Double defaultValue)
Parameters:
pKey
(System.String)defaultValue
(System.Double)Returns:
System.Double
GetFloatForKey(string, float)
System.Single GetFloatForKey(string, float)(System.String pKey, System.Single defaultValue)
Parameters:
pKey
(System.String)defaultValue
(System.Single)Returns:
System.Single
GetIntegerForKey(string)
System.Int32 GetIntegerForKey(string)(System.String pKey)
Parameters:
pKey
(System.String)Returns:
System.Int32
GetIntegerForKey(string, int)
System.Int32 GetIntegerForKey(string, int)(System.String pKey, System.Int32 defaultValue)
Parameters:
pKey
(System.String)defaultValue
(System.Int32)Returns:
System.Int32
GetStringForKey(string, string)
System.String GetStringForKey(string, string)(System.String pKey, System.String defaultValue)
Parameters:
pKey
(System.String)defaultValue
(System.String)Returns:
System.String
PurgeSharedUserDefault()
PurgeSharedUserDefault()()
SetBoolForKey(string, bool)
SetBoolForKey(string, bool)(System.String pKey, System.Boolean value)
Parameters:
pKey
(System.String)value
(System.Boolean)SetDoubleForKey(string, double)
SetDoubleForKey(string, double)(System.String pKey, System.Double value)
Parameters:
pKey
(System.String)value
(System.Double)SetFloatForKey(string, float)
SetFloatForKey(string, float)(System.String pKey, System.Single value)
Parameters:
pKey
(System.String)value
(System.Single)SetIntegerForKey(string, int)
SetIntegerForKey(string, int)(System.String pKey, System.Int32 value)
Parameters:
pKey
(System.String)value
(System.Int32)SetStringForKey(string, string)
SetStringForKey(string, string)(System.String pKey, System.String value)
Parameters:
pKey
(System.String)value
(System.String)