mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2026-02-25 11:08:17 +01:00
13 lines
446 B
C#
13 lines
446 B
C#
using System.Collections.Immutable;
|
|
using MemoryPack;
|
|
|
|
namespace Phantom.Common.Data.Agent.Instance;
|
|
|
|
[MemoryPackable(GenerateType.VersionTolerant)]
|
|
public sealed partial record InstanceInfo(
|
|
[property: MemoryPackOrder(0)] string InstanceName,
|
|
[property: MemoryPackOrder(1)] ushort ServerPort,
|
|
[property: MemoryPackOrder(2)] ImmutableSortedSet<ushort> AdditionalPorts,
|
|
[property: MemoryPackOrder(3)] RamAllocationUnits MemoryAllocation
|
|
);
|