ISInterface:GetGameSetting

From Lavish Software Wiki
Jump to navigation Jump to search

Syntax

  • bool GetGameSetting(char *Setting, char *buf, unsigned long buflen)

Purpose

To obtain a game setting

Usage

Parameters

  • char *Setting
[in] Name of the setting to obtain
  • char *buf
[out] Buffer to put the setting into
  • unsigned long buflen
[in] Length of the buffer

Return Value

  • bool
Returns true on success, false on failure

Examples

char gamesettingbuffer[1024];
pISInterface->GetGameSetting("modules",gamesettingbuffer,sizeof(gamesettingbuffer));

See Also