C# Class SFOParser, KautismSFOEditor

Mostra file Open project: darkautism/KautismSFOEditor Class Usage Examples

Public Methods

Method 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

Method Description
readByteString ( BinaryReader bs ) : byte[]

Method Details

SFOParser() public method

public SFOParser ( string filePath ) : System
filePath string
return System

getKey() public method

get Key from index
public getKey ( int index ) : string
index int index
return string

getType() public method

get Type from index
public getType ( int index ) : byte
index int index
return byte

getValue() public method

get value from index
public getValue ( int index ) : object
index int index
return object

getValue() public method

get value from key
public getValue ( string key ) : object
key string key (label)
return object

saveSFO() public method

save SFO file
public saveSFO ( ) : void
return void

setLabel() public method

public setLabel ( int index, string value ) : void
index int
value string
return void

setValue() public method

public setValue ( int index, string value ) : void
index int
value string
return void