mirror of
https://github.com/chylex/Minecraft-Phantom-Panel.git
synced 2024-11-24 13:42:53 +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;
|
|
}
|