baseline: OpenMU upstream b5a0961 (fresh source)
This commit is contained in:
16
src/Interfaces/ServerInfo.cs
Normal file
16
src/Interfaces/ServerInfo.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
// <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;
|
||||
}
|
||||
Reference in New Issue
Block a user