@@ -94,7 +94,7 @@ public enum CLIENT_TYPE
9494
9595 // 持久化插件信息, 例如:从服务端导入的协议可以持久化到本地,下次登录版本不发生改变
9696 // 可以直接从本地加载来提供登录速度
97- private PersistentInofs _persistentInofs = null ;
97+ private PersistentInfos _persistentInfos = null ;
9898
9999 // 当前玩家的实体id与实体类别
100100 public UInt64 entity_uuid = 0 ;
@@ -165,7 +165,7 @@ public virtual bool initialize(KBEngineArgs args)
165165
166166 // 允许持久化KBE(例如:协议,entitydef等)
167167 if ( args . persistentDataPath != "" )
168- _persistentInofs = new PersistentInofs ( args . persistentDataPath ) ;
168+ _persistentInfos = new PersistentInfos ( args . persistentDataPath ) ;
169169
170170 return true ;
171171 }
@@ -428,8 +428,8 @@ public void Client_onVersionNotMatch(MemoryStream stream)
428428 Dbg . ERROR_MSG ( "Client_onVersionNotMatch: verInfo=" + clientVersion + "(server: " + serverVersion + ")" ) ;
429429 Event . fireAll ( "onVersionNotMatch" , new object [ ] { clientVersion , serverVersion } ) ;
430430
431- if ( _persistentInofs != null )
432- _persistentInofs . onVersionNotMatch ( clientVersion , serverVersion ) ;
431+ if ( _persistentInfos != null )
432+ _persistentInfos . onVersionNotMatch ( clientVersion , serverVersion ) ;
433433 }
434434
435435 /*
@@ -442,8 +442,8 @@ public void Client_onScriptVersionNotMatch(MemoryStream stream)
442442 Dbg . ERROR_MSG ( "Client_onScriptVersionNotMatch: verInfo=" + clientScriptVersion + "(server: " + serverScriptVersion + ")" ) ;
443443 Event . fireAll ( "onScriptVersionNotMatch" , new object [ ] { clientScriptVersion , serverScriptVersion } ) ;
444444
445- if ( _persistentInofs != null )
446- _persistentInofs . onScriptVersionNotMatch ( clientScriptVersion , serverScriptVersion ) ;
445+ if ( _persistentInfos != null )
446+ _persistentInfos . onScriptVersionNotMatch ( clientScriptVersion , serverScriptVersion ) ;
447447 }
448448
449449 /*
@@ -465,8 +465,8 @@ public void Client_onImportServerErrorsDescr(MemoryStream stream)
465465
466466 onImportServerErrorsDescr ( stream ) ;
467467
468- if ( _persistentInofs != null )
469- _persistentInofs . onImportServerErrorsDescr ( datas ) ;
468+ if ( _persistentInfos != null )
469+ _persistentInfos . onImportServerErrorsDescr ( datas ) ;
470470 }
471471
472472 /*
@@ -837,8 +837,8 @@ public void Client_onImportClientEntityDef(MemoryStream stream)
837837
838838 onImportClientEntityDef ( stream ) ;
839839
840- if ( _persistentInofs != null )
841- _persistentInofs . onImportClientEntityDef ( datas ) ;
840+ if ( _persistentInfos != null )
841+ _persistentInfos . onImportClientEntityDef ( datas ) ;
842842 }
843843
844844 public void onImportClientEntityDef ( MemoryStream stream )
@@ -1076,8 +1076,8 @@ public void Client_onImportClientMessages(MemoryStream stream)
10761076
10771077 onImportClientMessages ( stream ) ;
10781078
1079- if ( _persistentInofs != null )
1080- _persistentInofs . onImportClientMessages ( currserver , datas ) ;
1079+ if ( _persistentInfos != null )
1080+ _persistentInfos . onImportClientMessages ( currserver , datas ) ;
10811081 }
10821082
10831083 public void onImportClientMessages ( MemoryStream stream )
@@ -1351,8 +1351,8 @@ private void onConnectTo_createAccount_callback(string ip, int port, bool succes
13511351 */
13521352 public void onServerDigest ( )
13531353 {
1354- if ( _persistentInofs != null )
1355- _persistentInofs . onServerDigest ( currserver , serverProtocolMD5 , serverEntitydefMD5 ) ;
1354+ if ( _persistentInfos != null )
1355+ _persistentInfos . onServerDigest ( currserver , serverProtocolMD5 , serverEntitydefMD5 ) ;
13561356 }
13571357
13581358 /*
0 commit comments