mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2024-10-30 05:42:47 +01:00
12 lines
254 B
C#
12 lines
254 B
C#
using Phantom.Common.Data;
|
|
|
|
namespace Phantom.Server.Services.Agents;
|
|
|
|
public sealed record AgentStats(
|
|
Agent Agent,
|
|
int UsedInstances,
|
|
RamAllocationUnits UsedMemory
|
|
) {
|
|
public RamAllocationUnits AvailableMemory => Agent.MaxMemory - UsedMemory;
|
|
}
|