Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
kbengine committed Oct 24, 2015
1 parent 5b99a69 commit 301ea64
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions KBEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ private void onLogin_loginapp()
bundle.newMessage(Message.messages["Loginapp_importClientMessages"]);
bundle.send(_networkInterface);
Dbg.DEBUG_MSG("KBEngine::onLogin_loginapp: send importClientMessages ...");
Event.fireAll("Loginapp_importClientMessages", new object[]{});
Event.fireOut("Loginapp_importClientMessages", new object[]{});
}
else
{
Expand All @@ -536,7 +536,7 @@ public void login_baseapp(bool noconnect)
{
if(noconnect)
{
Event.fireAll("onLoginBaseapp", new object[]{});
Event.fireOut("onLoginBaseapp", new object[]{});

_networkInterface.reset();
_networkInterface = new NetworkInterface();
Expand Down Expand Up @@ -576,7 +576,7 @@ private void onLogin_baseapp()
bundle.newMessage(Message.messages["Baseapp_importClientMessages"]);
bundle.send(_networkInterface);
Dbg.DEBUG_MSG("KBEngine::onLogin_baseapp: send importClientMessages ...");
Event.fireAll("Baseapp_importClientMessages", new object[]{});
Event.fireOut("Baseapp_importClientMessages", new object[]{});
}
else
{
Expand Down Expand Up @@ -701,7 +701,7 @@ private void onImportClientMessagesCompleted()
Bundle bundle = new Bundle();
bundle.newMessage(Message.messages["Baseapp_importClientEntityDef"]);
bundle.send(_networkInterface);
Event.fireAll("Baseapp_importClientEntityDef", new object[]{});
Event.fireOut("Baseapp_importClientEntityDef", new object[]{});
}
else
{
Expand Down
2 changes: 1 addition & 1 deletion NetworkInterface.cs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public void _onConnectStatus(ConnectState state)
Dbg.ERROR_MSG(string.Format("NetworkInterface::_onConnectStatus(), connect is error! ip: {0}:{1}, err: {2}", state.connectIP, state.connectPort, state.error));
}

Event.fireAll("onConnectStatus", new object[]{success});
Event.fireOut("onConnectStatus", new object[]{success});

if (state.connectCB != null)
state.connectCB(state.connectIP, state.connectPort, success, state.userData);
Expand Down

0 comments on commit 301ea64

Please sign in to comment.