LobbyServer/LobbyClient/LobbyClientEvent.cs

28 lines
570 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lobbies
{
public class LobbyClientEvent
{
public LobbyClientEventTypes EventType { get; internal set; }
public object? EventData { get; internal set; }
}
public enum LobbyClientEventTypes
{
Connected,
Disconnected,
Failed,
LobbyAdd,
LobbyUpdate,
LobbyDelete,
LobbyHostInfo,
LobbyRequestNatPunch,
LobbyNatPunchDone,
}
}