修改属性名

This commit is contained in:
milimoe 2023-09-09 15:55:56 +08:00
parent 3825780bd4
commit 67ce75c5be
Signed by: milimoe
GPG Key ID: 05D280912DA6C69E

View File

@ -14,7 +14,7 @@ namespace Milimoe.FunGame.Core.Library.Common.Network
public string ServerName { get; } = ""; public string ServerName { get; } = "";
public string ServerNotice { get; } = ""; public string ServerNotice { get; } = "";
public bool Connected => Instance != null && Instance.Connected; public bool Connected => Instance != null && Instance.Connected;
public List<IServerModel> GetUsersList => OnlineUsers.GetList(); public List<IServerModel> UserList => OnlineUsers.GetList();
public List<string> BannedList { get; } = new(); public List<string> BannedList { get; } = new();
public int UsersCount => OnlineUsers.Count; public int UsersCount => OnlineUsers.Count;
public int BannedCount => BannedList.Count; public int BannedCount => BannedList.Count;