LavishSettings:setting (Object Type)

From Lavish Software Wiki
Revision as of 06:19, 2 August 2010 by Moagar (talk | contribs) (→‎Methods)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to navigation Jump to search

Description

Object Type Vitals
setting
Defined By LavishSettings
Inherits settingnode
Reduces To the setting value
Variable Object Type none
Uses Sub-Types no
C/C++ Type internal

Members

  • string Name: Name of this setting
  • string String: The value of this setting, as a string object
  • int Int: The value of this setting, as an int object
  • float Float: The value of this setting, as a float object
  • settingattribute FindAttribute[Name]: Finds an Attribute on this setting by name
  • settingattribute FindAttribute[Name,auto-create with default value]: Finds an Attribute on this setting by name, creating it first with the given value if it does not exist

Methods

  • Rename[name]: Renames this setting with the given name
  • Set[value]: Sets this setting's value
  • AddAttribute[name,value]: Adds an attribute to this setting, with the given name and value

Examples

See Also