Esempio n. 1
0
        private void SendWorldInfo()
        {
            _interClient.OnConnected -= SendWorldInfo;
            _interClient.Send(new ISMessage(ISMessageType.WORLD_INFO, _worldConfiguration));

            _interClient.OnSessionResponse += LoadSelectionScreen;
        }
Esempio n. 2
0
        public async Task Handle(WorldClient client, HandshakePacket packet)
        {
            client.SetClientUserID(packet.UserId);

            _sessionId = client.Id;

            // Send request to login server and get client key.
            await _interClient.Send(new ISMessage(ISMessageType.AES_KEY_REQUEST, packet.SessionId));
        }
Esempio n. 3
0
 private void SendWorldInfo()
 {
     _interClient.OnConnected -= SendWorldInfo;
     _interClient.Send(new ISMessage(ISMessageType.WORLD_INFO, _worldConfiguration));
 }