C# Class KBEngine.PersistentInfos

Datei anzeigen Open project: liuxq/TestGame Class Usage Examples

Public Methods

Method Description
PersistentInfos ( string path ) : System
clearMessageFiles ( ) : void
createFile ( string path, string name, byte datas ) : void
deleteFile ( string path, string name ) : void
isGood ( ) : bool
loadAll ( ) : bool
loadFile ( string path, string name, bool printerr ) : byte[]
onImportClientEntityDef ( byte stream ) : void
onImportClientMessages ( string currserver, byte stream ) : void
onImportServerErrorsDescr ( byte stream ) : void
onScriptVersionNotMatch ( string verInfo, string serVerInfo ) : void
onServerDigest ( string currserver, string serverProtocolMD5, string serverEntitydefMD5 ) : void
onVersionNotMatch ( string verInfo, string serVerInfo ) : void

Private Methods

Method Description
_getSuffix ( ) : string
_getSuffixBase ( ) : string
installEvents ( ) : void

Method Details

PersistentInfos() public method

public PersistentInfos ( string path ) : System
path string
return System

clearMessageFiles() public method

public clearMessageFiles ( ) : void
return void

createFile() public method

public createFile ( string path, string name, byte datas ) : void
path string
name string
datas byte
return void

deleteFile() public method

public deleteFile ( string path, string name ) : void
path string
name string
return void

isGood() public method

public isGood ( ) : bool
return bool

loadAll() public method

public loadAll ( ) : bool
return bool

loadFile() public method

public loadFile ( string path, string name, bool printerr ) : byte[]
path string
name string
printerr bool
return byte[]

onImportClientEntityDef() public method

public onImportClientEntityDef ( byte stream ) : void
stream byte
return void

onImportClientMessages() public method

public onImportClientMessages ( string currserver, byte stream ) : void
currserver string
stream byte
return void

onImportServerErrorsDescr() public method

public onImportServerErrorsDescr ( byte stream ) : void
stream byte
return void

onScriptVersionNotMatch() public method

public onScriptVersionNotMatch ( string verInfo, string serVerInfo ) : void
verInfo string
serVerInfo string
return void

onServerDigest() public method

public onServerDigest ( string currserver, string serverProtocolMD5, string serverEntitydefMD5 ) : void
currserver string
serverProtocolMD5 string
serverEntitydefMD5 string
return void

onVersionNotMatch() public method

public onVersionNotMatch ( string verInfo, string serVerInfo ) : void
verInfo string
serVerInfo string
return void