mirror of
https://github.com/simtactics/mysimulation.git
synced 2025-03-22 09:22:24 +00:00
23 lines
426 B
C#
23 lines
426 B
C#
|
using System.Collections.Generic;
|
|||
|
|
|||
|
namespace FSO.Server.Debug.PacketAnalyzer
|
|||
|
{
|
|||
|
public interface IPacketAnalyzer
|
|||
|
{
|
|||
|
List<PacketAnalyzerResult> Analyze(byte[] data);
|
|||
|
}
|
|||
|
|
|||
|
public class PacketAnalyzerResult
|
|||
|
{
|
|||
|
public int Offset;
|
|||
|
public int Length;
|
|||
|
|
|||
|
public string Description;
|
|||
|
|
|||
|
public override string ToString()
|
|||
|
{
|
|||
|
return Description;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|