C# Class FSO.Client.GameContent.ContentStrings

Exibir arquivo Open project: RHY3756547/FreeSO

Public Methods

Method Description
ContentStrings ( ) : System
GetString ( string table, string id ) : string

Gets a string in the specified table with the specified ID.

GetString ( string dir, string table, string id ) : string

Gets a string from the specified directory in the specified table with the specified ID.

Load ( string dirName, string basePath ) : void

Loads all string tables from a specified directory.

this ( string dir, string table, string id ) : string

Method Details

ContentStrings() public method

public ContentStrings ( ) : System
return System

GetString() public method

Gets a string in the specified table with the specified ID.
public GetString ( string table, string id ) : string
table string Name of string table (*.cst).
id string ID of string.
return string

GetString() public method

Gets a string from the specified directory in the specified table with the specified ID.
public GetString ( string dir, string table, string id ) : string
dir string Directory containing string table.
table string Name of string table (*.cst).
id string ID of string.
return string

Load() public method

Loads all string tables from a specified directory.
public Load ( string dirName, string basePath ) : void
dirName string Name of directory containing string tables.
basePath string Base path of directory.
return void

this() public method

public this ( string dir, string table, string id ) : string
dir string
table string
id string
return string