mysimulation/server/FSO.Server.Common/PacketLogger.cs
Tony Bark 22191ce648 Removed NioTSO client and server
- NioTSO client isn't needed because we're using RayLib
- Added FreeSO's API server to handle most backend operations
2024-05-01 02:55:43 -04:00

29 lines
453 B
C#
Executable file

namespace FSO.Server.Common
{
public interface IPacketLogger
{
void OnPacket(Packet packet);
}
public class Packet
{
public PacketType Type;
public uint SubType;
public byte[] Data;
public PacketDirection Direction;
}
public enum PacketType
{
ARIES,
VOLTRON,
ELECTRON
}
public enum PacketDirection
{
OUTPUT,
INPUT
}
}