mirror of https://github.com/axmolengine/axmol.git
100 lines
2.6 KiB
Lua
100 lines
2.6 KiB
Lua
|
|
--------------------------------
|
|
-- @module UserDefault
|
|
-- @parent_module cc
|
|
|
|
--------------------------------
|
|
-- @function [parent=#UserDefault] setIntegerForKey
|
|
-- @param self
|
|
-- @param #char char
|
|
-- @param #int int
|
|
|
|
--------------------------------
|
|
-- @overload self, char, float
|
|
-- @overload self, char
|
|
-- @function [parent=#UserDefault] getFloatForKey
|
|
-- @param self
|
|
-- @param #char char
|
|
-- @param #float float
|
|
-- @return float#float ret (retunr value: float)
|
|
|
|
--------------------------------
|
|
-- @overload self, char, bool
|
|
-- @overload self, char
|
|
-- @function [parent=#UserDefault] getBoolForKey
|
|
-- @param self
|
|
-- @param #char char
|
|
-- @param #bool bool
|
|
-- @return bool#bool ret (retunr value: bool)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#UserDefault] setDoubleForKey
|
|
-- @param self
|
|
-- @param #char char
|
|
-- @param #double double
|
|
|
|
--------------------------------
|
|
-- @function [parent=#UserDefault] setFloatForKey
|
|
-- @param self
|
|
-- @param #char char
|
|
-- @param #float float
|
|
|
|
--------------------------------
|
|
-- @overload self, char, string
|
|
-- @overload self, char
|
|
-- @function [parent=#UserDefault] getStringForKey
|
|
-- @param self
|
|
-- @param #char char
|
|
-- @param #string str
|
|
-- @return string#string ret (retunr value: string)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#UserDefault] setStringForKey
|
|
-- @param self
|
|
-- @param #char char
|
|
-- @param #string str
|
|
|
|
--------------------------------
|
|
-- @function [parent=#UserDefault] flush
|
|
-- @param self
|
|
|
|
--------------------------------
|
|
-- @overload self, char, int
|
|
-- @overload self, char
|
|
-- @function [parent=#UserDefault] getIntegerForKey
|
|
-- @param self
|
|
-- @param #char char
|
|
-- @param #int int
|
|
-- @return int#int ret (retunr value: int)
|
|
|
|
--------------------------------
|
|
-- @overload self, char, double
|
|
-- @overload self, char
|
|
-- @function [parent=#UserDefault] getDoubleForKey
|
|
-- @param self
|
|
-- @param #char char
|
|
-- @param #double double
|
|
-- @return double#double ret (retunr value: double)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#UserDefault] setBoolForKey
|
|
-- @param self
|
|
-- @param #char char
|
|
-- @param #bool bool
|
|
|
|
--------------------------------
|
|
-- @function [parent=#UserDefault] destroyInstance
|
|
-- @param self
|
|
|
|
--------------------------------
|
|
-- @function [parent=#UserDefault] getXMLFilePath
|
|
-- @param self
|
|
-- @return string#string ret (return value: string)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#UserDefault] isXMLFileExist
|
|
-- @param self
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
return nil
|