C# Class FSO.Client.GameContent.ContentStrings

Afficher le fichier Open project: RHY3756547/FreeSO

Méthodes publiques

Méthode 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 méthode

public ContentStrings ( ) : System
Résultat System

GetString() public méthode

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.
Résultat string

GetString() public méthode

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.
Résultat string

Load() public méthode

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.
Résultat void

this() public méthode

public this ( string dir, string table, string id ) : string
dir string
table string
id string
Résultat string