Example #1
0
        public LoginClient()
        {
            ClientVersion.ClearVersion(); // only unlocked after server sends 0xbd version request packet.

            m_Network       = ServiceRegistry.GetService <INetworkClient>();
            m_Engine        = ServiceRegistry.GetService <UltimaGame>();
            m_UserInterface = ServiceRegistry.GetService <UserInterfaceService>();

            Status = LoginClientStatus.Unconnected;

            m_RegisteredHandlers = new List <Tuple <int, TypedPacketReceiveHandler> >();

            Initialize();
        }