-------------------------------- -- @module ComAttribute -- @extend Component -- @parent_module ccs -------------------------------- -- @function [parent=#ComAttribute] getFloat -- @param self -- @param #string str -- @param #float float -- @return float#float ret (return value: float) -------------------------------- -- @function [parent=#ComAttribute] getString -- @param self -- @param #string str -- @param #string str -- @return string#string ret (return value: string) -------------------------------- -- @function [parent=#ComAttribute] setFloat -- @param self -- @param #string str -- @param #float float -------------------------------- -- @function [parent=#ComAttribute] setString -- @param self -- @param #string str -- @param #string str -------------------------------- -- @function [parent=#ComAttribute] getBool -- @param self -- @param #string str -- @param #bool bool -- @return bool#bool ret (return value: bool) -------------------------------- -- @function [parent=#ComAttribute] setInt -- @param self -- @param #string str -- @param #int int -------------------------------- -- @function [parent=#ComAttribute] parse -- @param self -- @param #string str -- @return bool#bool ret (return value: bool) -------------------------------- -- @function [parent=#ComAttribute] getInt -- @param self -- @param #string str -- @param #int int -- @return int#int ret (return value: int) -------------------------------- -- @function [parent=#ComAttribute] setBool -- @param self -- @param #string str -- @param #bool bool -------------------------------- -- @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 void -- @return bool#bool ret (return value: bool) return nil