mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-03-20 00:41:20 +00:00
- NioTSO client isn't needed because we're using RayLib - Added FreeSO's API server to handle most backend operations
29 lines
453 B
C#
Executable file
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
|
|
}
|
|
}
|