Files
LuaCsForBarotraumaEP/Subsurface/Source/Networking/GameServerLogin.cs
juanjp600 9416eb64d7 Completely destroyed game
Looks like a lot more than just netcode is getting rewritten. Removing coroutines because there are better ways of handling asynchronous tasks, removing filestream because that's to be reimplemented later
2016-08-30 19:59:14 -03:00

33 lines
724 B
C#

using Lidgren.Network;
using Microsoft.Xna.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Barotrauma.Networking
{
class UnauthenticatedClient
{
public NetConnection Connection;
public int Nonce;
public float AuthTimer;
public UnauthenticatedClient(NetConnection connection, int nonce)
{
Connection = connection;
Nonce = nonce;
AuthTimer = 5.0f;
}
}
partial class GameServer : NetworkMember, IPropertyObject
{
List<UnauthenticatedClient> unauthenticatedClients = new List<UnauthenticatedClient>();
}
}