r2mods/ilspy_dump/ror2_csproj/UDPHelperSpace/UDPData.cs

29 lines
466 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
namespace UDPHelperSpace;
public class UDPData
{
public byte packageNumber = 2;
public byte[] data;
public int numBytes;
public int channelId;
public byte error;
public UDPData()
{
}
public UDPData(byte packageNumber, byte[] data, int numBytes, int channelId, byte error)
{
this.packageNumber = packageNumber;
this.packageNumber = data[0];
this.data = data;
this.numBytes = numBytes;
this.channelId = channelId;
this.error = error;
}
}