public void OnResponse_MSG_BC_LOGIN_SERVERS(MemoryStream stream) { MSG_BC_LOGIN_SERVERS MSG_BC_LOGIN_SERVERS = MessagePacker.ProtobufHelper.Deserialize <MSG_BC_LOGIN_SERVERS>(stream); loginedServers.AddRange(MSG_BC_LOGIN_SERVERS.LoginServers); int mainId = ChoseOneLoginedServer(); Request_MSG_CB_USER_LOGIN(mainId); }
private void OnResponse_MSG_BC_LOGIN_SERVERS(MemoryStream stream) { if (player.IsLogin) { return; } MSG_BC_LOGIN_SERVERS MSG_BC_LOGIN_SERVERS = ProtoBuf.Serializer.Deserialize <MSG_BC_LOGIN_SERVERS>(stream); loginedServers.AddRange(MSG_BC_LOGIN_SERVERS.loginServers); int mainId = ChoseOneLoginedServer(); Request_MSG_CB_USER_LOGIN(mainId); }