mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2026-03-04 23:07:54 +01:00
13 lines
511 B
C#
13 lines
511 B
C#
using MemoryPack;
|
|
|
|
namespace Phantom.Common.Data.Web.Agent;
|
|
|
|
[MemoryPackable(GenerateType.VersionTolerant)]
|
|
public sealed partial record AgentRuntimeInfo(
|
|
[property: MemoryPackOrder(0)] AgentVersionInfo? VersionInfo = null,
|
|
[property: MemoryPackOrder(1)] ushort? MaxInstances = null,
|
|
[property: MemoryPackOrder(2)] RamAllocationUnits? MaxMemory = null,
|
|
[property: MemoryPackOrder(3)] AllowedPorts? AllowedServerPorts = null,
|
|
[property: MemoryPackOrder(4)] AllowedPorts? AllowedAdditionalPorts = null
|
|
);
|