C# Class KBEngine.PersistentInfos

Afficher le fichier Open project: liuxq/TestGame Class Usage Examples

Méthodes publiques

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

Méthode Description
_getSuffix ( ) : string
_getSuffixBase ( ) : string
installEvents ( ) : void

Method Details

PersistentInfos() public méthode

public PersistentInfos ( string path ) : System
path string
Résultat System

clearMessageFiles() public méthode

public clearMessageFiles ( ) : void
Résultat void

createFile() public méthode

public createFile ( string path, string name, byte datas ) : void
path string
name string
datas byte
Résultat void

deleteFile() public méthode

public deleteFile ( string path, string name ) : void
path string
name string
Résultat void

isGood() public méthode

public isGood ( ) : bool
Résultat bool

loadAll() public méthode

public loadAll ( ) : bool
Résultat bool

loadFile() public méthode

public loadFile ( string path, string name, bool printerr ) : byte[]
path string
name string
printerr bool
Résultat byte[]

onImportClientEntityDef() public méthode

public onImportClientEntityDef ( byte stream ) : void
stream byte
Résultat void

onImportClientMessages() public méthode

public onImportClientMessages ( string currserver, byte stream ) : void
currserver string
stream byte
Résultat void

onImportServerErrorsDescr() public méthode

public onImportServerErrorsDescr ( byte stream ) : void
stream byte
Résultat void

onScriptVersionNotMatch() public méthode

public onScriptVersionNotMatch ( string verInfo, string serVerInfo ) : void
verInfo string
serVerInfo string
Résultat void

onServerDigest() public méthode

public onServerDigest ( string currserver, string serverProtocolMD5, string serverEntitydefMD5 ) : void
currserver string
serverProtocolMD5 string
serverEntitydefMD5 string
Résultat void

onVersionNotMatch() public méthode

public onVersionNotMatch ( string verInfo, string serVerInfo ) : void
verInfo string
serVerInfo string
Résultat void