@@ -94,7 +94,7 @@ public enum CLIENT_TYPE
94
94
95
95
// 持久化插件信息, 例如:从服务端导入的协议可以持久化到本地,下次登录版本不发生改变
96
96
// 可以直接从本地加载来提供登录速度
97
- private PersistentInofs _persistentInofs = null ;
97
+ private PersistentInfos _persistentInfos = null ;
98
98
99
99
// 当前玩家的实体id与实体类别
100
100
public UInt64 entity_uuid = 0 ;
@@ -165,7 +165,7 @@ public virtual bool initialize(KBEngineArgs args)
165
165
166
166
// 允许持久化KBE(例如:协议,entitydef等)
167
167
if ( args . persistentDataPath != "" )
168
- _persistentInofs = new PersistentInofs ( args . persistentDataPath ) ;
168
+ _persistentInfos = new PersistentInfos ( args . persistentDataPath ) ;
169
169
170
170
return true ;
171
171
}
@@ -428,8 +428,8 @@ public void Client_onVersionNotMatch(MemoryStream stream)
428
428
Dbg . ERROR_MSG ( "Client_onVersionNotMatch: verInfo=" + clientVersion + "(server: " + serverVersion + ")" ) ;
429
429
Event . fireAll ( "onVersionNotMatch" , new object [ ] { clientVersion , serverVersion } ) ;
430
430
431
- if ( _persistentInofs != null )
432
- _persistentInofs . onVersionNotMatch ( clientVersion , serverVersion ) ;
431
+ if ( _persistentInfos != null )
432
+ _persistentInfos . onVersionNotMatch ( clientVersion , serverVersion ) ;
433
433
}
434
434
435
435
/*
@@ -442,8 +442,8 @@ public void Client_onScriptVersionNotMatch(MemoryStream stream)
442
442
Dbg . ERROR_MSG ( "Client_onScriptVersionNotMatch: verInfo=" + clientScriptVersion + "(server: " + serverScriptVersion + ")" ) ;
443
443
Event . fireAll ( "onScriptVersionNotMatch" , new object [ ] { clientScriptVersion , serverScriptVersion } ) ;
444
444
445
- if ( _persistentInofs != null )
446
- _persistentInofs . onScriptVersionNotMatch ( clientScriptVersion , serverScriptVersion ) ;
445
+ if ( _persistentInfos != null )
446
+ _persistentInfos . onScriptVersionNotMatch ( clientScriptVersion , serverScriptVersion ) ;
447
447
}
448
448
449
449
/*
@@ -465,8 +465,8 @@ public void Client_onImportServerErrorsDescr(MemoryStream stream)
465
465
466
466
onImportServerErrorsDescr ( stream ) ;
467
467
468
- if ( _persistentInofs != null )
469
- _persistentInofs . onImportServerErrorsDescr ( datas ) ;
468
+ if ( _persistentInfos != null )
469
+ _persistentInfos . onImportServerErrorsDescr ( datas ) ;
470
470
}
471
471
472
472
/*
@@ -837,8 +837,8 @@ public void Client_onImportClientEntityDef(MemoryStream stream)
837
837
838
838
onImportClientEntityDef ( stream ) ;
839
839
840
- if ( _persistentInofs != null )
841
- _persistentInofs . onImportClientEntityDef ( datas ) ;
840
+ if ( _persistentInfos != null )
841
+ _persistentInfos . onImportClientEntityDef ( datas ) ;
842
842
}
843
843
844
844
public void onImportClientEntityDef ( MemoryStream stream )
@@ -1076,8 +1076,8 @@ public void Client_onImportClientMessages(MemoryStream stream)
1076
1076
1077
1077
onImportClientMessages ( stream ) ;
1078
1078
1079
- if ( _persistentInofs != null )
1080
- _persistentInofs . onImportClientMessages ( currserver , datas ) ;
1079
+ if ( _persistentInfos != null )
1080
+ _persistentInfos . onImportClientMessages ( currserver , datas ) ;
1081
1081
}
1082
1082
1083
1083
public void onImportClientMessages ( MemoryStream stream )
@@ -1351,8 +1351,8 @@ private void onConnectTo_createAccount_callback(string ip, int port, bool succes
1351
1351
*/
1352
1352
public void onServerDigest ( )
1353
1353
{
1354
- if ( _persistentInofs != null )
1355
- _persistentInofs . onServerDigest ( currserver , serverProtocolMD5 , serverEntitydefMD5 ) ;
1354
+ if ( _persistentInfos != null )
1355
+ _persistentInfos . onServerDigest ( currserver , serverProtocolMD5 , serverEntitydefMD5 ) ;
1356
1356
}
1357
1357
1358
1358
/*
0 commit comments