Unit CastleConfig

Description

Loading and saving user preferences (UserConfig).

Source: files/castleconfig.pas (line 17).

Uses

Overview

Functions and Procedures

function UserConfig: TCastleConfig;
function Config: TCastleConfig; deprecated 'use UserConfig';

Types

TCastleConfig = CastleXMLConfig.TCastleConfig;

Description

Functions and Procedures

function UserConfig: TCastleConfig;

User preferences. See https://castle-engine.io/manual_user_prefs.php .

Source: files/castleconfig.pas (line 30).

function Config: TCastleConfig; deprecated 'use UserConfig';

Warning: this symbol is deprecated: use UserConfig

This item has no description.

Source: files/castleconfig.pas (line 32).

Types

TCastleConfig = CastleXMLConfig.TCastleConfig;

Store configuration in XML format. Adds various Castle Game Engine extensions to the ancestor TXMLConfig class:

  • load/save from an URL or a TStream (not just a filename),

  • load/save to the default config file location (for user preferences),

  • load/save more types (floats, vectors, colors, URLs, multiline text...),

  • PathElement and MakePathElement utility, to use powerful DOM functions when needed to process something more complex,

  • encrypt/descrypt contents, just use BlowFishKeyPhrase property (this is actually built-in in our modified TXMLConfig).

See https://castle-engine.io/manual_user_prefs.php for more documentation.

Source: files/castleconfig.pas (line 26).


Generated by PasDoc 0.17.0.snapshot.