C# Class SFOParser, KautismSFOEditor

Afficher le fichier Open project: darkautism/KautismSFOEditor Class Usage Examples

Méthodes publiques

Méthode Description
SFOParser ( string filePath ) : System
getKey ( int index ) : string

get Key from index

getType ( int index ) : byte

get Type from index

getValue ( int index ) : object

get value from index

getValue ( string key ) : object

get value from key

saveSFO ( ) : void

save SFO file

setLabel ( int index, string value ) : void
setValue ( int index, string value ) : void

Private Methods

Méthode Description
readByteString ( BinaryReader bs ) : byte[]

Method Details

SFOParser() public méthode

public SFOParser ( string filePath ) : System
filePath string
Résultat System

getKey() public méthode

get Key from index
public getKey ( int index ) : string
index int index
Résultat string

getType() public méthode

get Type from index
public getType ( int index ) : byte
index int index
Résultat byte

getValue() public méthode

get value from index
public getValue ( int index ) : object
index int index
Résultat object

getValue() public méthode

get value from key
public getValue ( string key ) : object
key string key (label)
Résultat object

saveSFO() public méthode

save SFO file
public saveSFO ( ) : void
Résultat void

setLabel() public méthode

public setLabel ( int index, string value ) : void
index int
value string
Résultat void

setValue() public méthode

public setValue ( int index, string value ) : void
index int
value string
Résultat void