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

            _interClient.OnSessionResponse += LoadSelectionScreen;
        }
示例#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));
        }
示例#3
0
 private void SendWorldInfo()
 {
     _interClient.OnConnected -= SendWorldInfo;
     _interClient.Send(new ISMessage(ISMessageType.WORLD_INFO, _worldConfiguration));
 }