mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-07-05 22:20:27 -04:00
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
This commit is contained in:
parent
f12ba1502b
commit
22191ce648
591 changed files with 53264 additions and 3362 deletions
29
server/FSO.Server.Common/PacketLogger.cs
Executable file
29
server/FSO.Server.Common/PacketLogger.cs
Executable file
|
@ -0,0 +1,29 @@
|
|||
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
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue