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.BooleanGetBoolForKey(string, bool)
System.Boolean GetBoolForKey(string, bool)(System.String pKey, System.Boolean defaultValue)Parameters:
pKey (System.String)defaultValue (System.Boolean)Returns:
System.BooleanGetDoubleForKey(string, double)
System.Double GetDoubleForKey(string, double)(System.String pKey, System.Double defaultValue)Parameters:
pKey (System.String)defaultValue (System.Double)Returns:
System.DoubleGetFloatForKey(string, float)
System.Single GetFloatForKey(string, float)(System.String pKey, System.Single defaultValue)Parameters:
pKey (System.String)defaultValue (System.Single)Returns:
System.SingleGetIntegerForKey(string)
System.Int32 GetIntegerForKey(string)(System.String pKey)Parameters:
pKey (System.String)Returns:
System.Int32GetIntegerForKey(string, int)
System.Int32 GetIntegerForKey(string, int)(System.String pKey, System.Int32 defaultValue)Parameters:
pKey (System.String)defaultValue (System.Int32)Returns:
System.Int32GetStringForKey(string, string)
System.String GetStringForKey(string, string)(System.String pKey, System.String defaultValue)Parameters:
pKey (System.String)defaultValue (System.String)Returns:
System.StringPurgeSharedUserDefault()
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)