Methods
getBool
- getBool(name: string): boolean
-
Parameters
Returns boolean
getBoolOr
- getBoolOr(name: string, value: boolean): boolean
-
Parameters
-
name: string
-
value: boolean
Returns boolean
getFloat
- getFloat(name: string): number
-
Parameters
Returns number
getFloatOr
- getFloatOr(name: string, value: number): number
-
Parameters
-
name: string
-
value: number
Returns number
getHelp
- getHelp(name: string): string
-
Parameters
Returns string
getInt
- getInt(name: string): number
-
Parameters
Returns number
getIntOr
- getIntOr(name: string, value: number): number
-
Parameters
-
name: string
-
value: number
Returns number
getString
- getString(name: string): string
-
Parameters
Returns string
getStringOr
- getStringOr(name: string, value: string): string
-
Parameters
-
name: string
-
value: string
Returns string
hasUnsavedChanges
- hasUnsavedChanges(): boolean
setBool
- setBool(name: string, value: boolean): void
-
Parameters
-
name: string
-
value: boolean
Returns void
setDefaultBool
- setDefaultBool(name: string, value: boolean): void
-
Parameters
-
name: string
-
value: boolean
Returns void
setDefaultFloat
- setDefaultFloat(name: string, value: number): void
-
Parameters
-
name: string
-
value: number
Returns void
setDefaultInt
- setDefaultInt(name: string, value: number): void
-
Parameters
-
name: string
-
value: number
Returns void
setDefaultString
- setDefaultString(name: string, value: string): void
-
Parameters
-
name: string
-
value: string
Returns void
setFloat
- setFloat(name: string, value: number): void
-
Parameters
-
name: string
-
value: number
Returns void
setHelp
- setHelp(name: string, help: string): void
-
Parameters
-
name: string
-
help: string
Returns void
setInt
- setInt(name: string, value: number): void
-
Parameters
-
name: string
-
value: number
Returns void
setString
- setString(name: string, value: string): void
-
Parameters
-
name: string
-
value: string
Returns void