C# Class Engine.Objects.GameFile

Afficher le fichier Open project: Radnen/sphere-sfml Class Usage Examples

Méthodes publiques

Méthode Description
GameFile ( ) : System
GetKeyAt ( int index ) : string
GetNumKeys ( ) : int
ReadFile ( string filename ) : bool
SetData ( string key, object data ) : void
TryGetData ( string key, bool &result ) : bool
TryGetData ( string key, double &result ) : bool
TryGetData ( string key, int &result ) : bool
TryGetData ( string key, string &result ) : bool
WriteFile ( string filename ) : void

Method Details

GameFile() public méthode

public GameFile ( ) : System
Résultat System

GetKeyAt() public méthode

public GetKeyAt ( int index ) : string
index int
Résultat string

GetNumKeys() public méthode

public GetNumKeys ( ) : int
Résultat int

ReadFile() public méthode

public ReadFile ( string filename ) : bool
filename string
Résultat bool

SetData() public méthode

public SetData ( string key, object data ) : void
key string
data object
Résultat void

TryGetData() public méthode

public TryGetData ( string key, bool &result ) : bool
key string
result bool
Résultat bool

TryGetData() public méthode

public TryGetData ( string key, double &result ) : bool
key string
result double
Résultat bool

TryGetData() public méthode

public TryGetData ( string key, int &result ) : bool
key string
result int
Résultat bool

TryGetData() public méthode

public TryGetData ( string key, string &result ) : bool
key string
result string
Résultat bool

WriteFile() public méthode

public WriteFile ( string filename ) : void
filename string
Résultat void