Esempio n. 1
0
 public static void _OnLoginNotify(NetworkClient Client, ProcessedPacket Packet)
 {
     PacketHandlers.HandleLoginNotify(Client, Packet);
 }
Esempio n. 2
0
 public static void _OnLoginSuccess(NetworkClient Client, ProcessedPacket Packet)
 {
     PacketHandlers.OnLoginSuccessResponse(ref Client, Packet);
 }
Esempio n. 3
0
        public static void _OnPlayerJoinedSession(NetworkClient Client, ProcessedPacket Packet)
        {
            Sim Avatar = PacketHandlers.OnPlayerJoinedSession(Packet);

            OnPlayerJoinedSession(Avatar);
        }
Esempio n. 4
0
        public static void _OnReceivedMessage(NetworkClient Client, ProcessedPacket Packet)
        {
            string Message = PacketHandlers.OnReceivedMessage(Packet);

            OnReceivedMessage(Message);
        }
Esempio n. 5
0
        /// <summary>
        /// Received from the CityServer in response to a CITY_TOKEN packet.
        /// </summary>
        public static void _OnCityTokenResponse(NetworkClient Client, ProcessedPacket Packet)
        {
            ProtocolAbstractionLibraryD.CityTransferStatus Status = PacketHandlers.OnCityTokenResponse(Client, Packet);

            //TODO: Do something if status wasn't succesful.
        }
Esempio n. 6
0
 /// <summary>
 /// Received initial packet from CityServer.
 /// </summary>
 public static void _OnLoginNotifyCity(NetworkClient Client, ProcessedPacket Packet)
 {
     PacketHandlers.OnLoginNotifyCity(Packet, Client);
 }
Esempio n. 7
0
 /// <summary>
 /// Received from the LoginServer in response to a CITY_TOKEN_REQUEST packet.
 /// </summary>
 public static void _OnCityTokenRequest(NetworkClient Client, ProcessedPacket Packet)
 {
     PacketHandlers.OnCityTokenRequest(Client, Packet);
     Reconnect();
 }
Esempio n. 8
0
 /// <summary>
 /// LoginServer sent information about connected cities.
 /// </summary>
 /// <param name="Packet">The packet that was received.</param>
 public static void _OnCityList(NetworkClient Client, ProcessedPacket Packet)
 {
     PacketHandlers.OnCityInfoResponse(Packet);
 }
Esempio n. 9
0
 /// <summary>
 /// LoginServer sent information about the player's characters.
 /// </summary>
 /// <param name="Packet">The packet that was received.</param>
 public static void _OnCharacterList(NetworkClient Client, ProcessedPacket Packet)
 {
     PacketHandlers.OnCharacterInfoResponse(Packet, Client);
     OnReceivedCharacters();
 }