16 lines
547 B
C#
16 lines
547 B
C#
// <copyright file="ServerInfo.cs" company="MUnique">
|
|
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
|
|
// </copyright>
|
|
|
|
namespace MUnique.OpenMU.Interfaces;
|
|
|
|
/// <summary>
|
|
/// The state info about a server.
|
|
/// </summary>
|
|
public record ServerInfo(ushort Id, string Description, int CurrentConnections, int MaximumConnections)
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the count of current connections.
|
|
/// </summary>
|
|
public int CurrentConnections { get; set; } = CurrentConnections;
|
|
} |