quakeball/Assets/Scripts/Net/Connection.cs

22 lines
456 B
C#
Raw Normal View History

using System.Collections;
using System.Collections.Generic;
using System.Net;
namespace NeonTea.Quakeball.Net {
public class Connection {
public IPEndPoint Endpoint;
2020-08-02 20:32:30 +02:00
public ConnectionStatus Status = ConnectionStatus.Establishing;
2020-08-02 20:32:30 +02:00
public Connection(IPEndPoint endpoint) {
this.Endpoint = endpoint;
}
}
2020-08-02 20:32:30 +02:00
public enum ConnectionStatus {
Establishing,
Ready,
Closed,
}
}