mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2024-10-17 12:42:51 +02:00
16 lines
559 B
C#
16 lines
559 B
C#
using MemoryPack;
|
|
|
|
namespace Phantom.Common.Data.Agent;
|
|
|
|
[MemoryPackable]
|
|
public sealed partial record AgentInfo(
|
|
[property: MemoryPackOrder(0)] Guid Guid,
|
|
[property: MemoryPackOrder(1)] string Name,
|
|
[property: MemoryPackOrder(2)] ushort ProtocolVersion,
|
|
[property: MemoryPackOrder(3)] string BuildVersion,
|
|
[property: MemoryPackOrder(4)] ushort MaxInstances,
|
|
[property: MemoryPackOrder(5)] RamAllocationUnits MaxMemory,
|
|
[property: MemoryPackOrder(6)] AllowedPorts AllowedServerPorts,
|
|
[property: MemoryPackOrder(7)] AllowedPorts AllowedRconPorts
|
|
);
|