Settings functions

From HEWIKI
Jump to: navigation, search

The following are Settings Functions on the client, as of March 2009. For any updates, please see the _ExternalFunctions script.

external function SettingsGetString(name as String, defaultValue as String, value references String) as Boolean
  
external function SettingsSetString(name as String, value as String) as Boolean  
  
external function SettingsGetBoolean(name as String, defaultValue as Boolean, value references Boolean) as Boolean
  
external function SettingsSetBoolean(name as String, value as Boolean) as Boolean    
  
external function SettingsGetFloat(name as String, defaultValue as Float, value references Float) as Boolean
  
external function SettingsSetFloat(name as String, value as Float) as Boolean    
  
external function SettingsGetInteger(name as String, defaultValue as Integer, value references Integer) as Boolean
  
external function SettingsSetInteger(name as String, value as Integer) as Boolean    

external function SettingsGetID(name as String, defaultValue as ID, value references ID) as Boolean
  
external function SettingsSetID(name as String, value as ID) as Boolean    

external function SettingsDeleteValue(name as String) as Boolean  
  
external function SettingsGetLastError() as String

external function SettingsGetValueAtIndex(index as Integer, name references String, 
   type references Enum SETTINGS_VALUE_TYPE, value references String) as Boolean

See also

(please document)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox