mirror of https://github.com/axmolengine/axmol.git
104 lines
2.6 KiB
Lua
104 lines
2.6 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
|
|
-- @return ComAttribute#ComAttribute self (return value: ccs.ComAttribute)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#ComAttribute] setString
|
|
-- @param self
|
|
-- @param #string key
|
|
-- @param #string value
|
|
-- @return ComAttribute#ComAttribute self (return value: ccs.ComAttribute)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @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
|
|
-- @return ComAttribute#ComAttribute self (return value: ccs.ComAttribute)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @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
|
|
-- @return ComAttribute#ComAttribute self (return value: ccs.ComAttribute)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @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
|