mirror of
https://github.com/riperiperi/FreeSO
synced 2026-08-13 20:26:13 -04:00
MPL per-file was used in older project files, but should apply to the whole project, so having it there was redundant.
29 lines
453 B
C#
29 lines
453 B
C#
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
|
|
}
|
|
}
|