mirror of https://github.com/axmolengine/axmol.git
100 lines
2.3 KiB
Lua
100 lines
2.3 KiB
Lua
|
|
--------------------------------
|
|
-- @module ComAttribute
|
|
-- @extend Component
|
|
-- @parent_module ccs
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#ComAttribute] getFloat
|
|
-- @param self
|
|
-- @param #string key
|
|
-- @param #float def
|
|
-- @return float#float ret (return value: float)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#ComAttribute] getString
|
|
-- @param self
|
|
-- @param #string key
|
|
-- @param #string def
|
|
-- @return string#string ret (return value: string)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#ComAttribute] setFloat
|
|
-- @param self
|
|
-- @param #string key
|
|
-- @param #float value
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#ComAttribute] setString
|
|
-- @param self
|
|
-- @param #string key
|
|
-- @param #string value
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#ComAttribute] getBool
|
|
-- @param self
|
|
-- @param #string key
|
|
-- @param #bool def
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#ComAttribute] setInt
|
|
-- @param self
|
|
-- @param #string key
|
|
-- @param #int value
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#ComAttribute] parse
|
|
-- @param self
|
|
-- @param #string jsonFile
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#ComAttribute] getInt
|
|
-- @param self
|
|
-- @param #string key
|
|
-- @param #int def
|
|
-- @return int#int ret (return value: int)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#ComAttribute] setBool
|
|
-- @param self
|
|
-- @param #string key
|
|
-- @param #bool value
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#ComAttribute] create
|
|
-- @param self
|
|
-- @return ComAttribute#ComAttribute ret (return value: ccs.ComAttribute)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#ComAttribute] createInstance
|
|
-- @param self
|
|
-- @return Ref#Ref ret (return value: cc.Ref)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#ComAttribute] init
|
|
-- @param self
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#ComAttribute] serialize
|
|
-- @param self
|
|
-- @param #void r
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
return nil
|