mirror of
https://github.com/project-redbud/FunGame-Desktop.git
synced 2025-12-05 00:06:06 +00:00
方法名修改
This commit is contained in:
parent
293b977c68
commit
61767e02ed
@ -387,7 +387,7 @@ namespace Milimoe.FunGame.Desktop.UI
|
||||
{
|
||||
try
|
||||
{
|
||||
if (INIHelper.ExistINIFile())
|
||||
if (INIHelper.INIFileExists())
|
||||
{
|
||||
string isAutoConnect = INIHelper.ReadINI("Config", "AutoConnect");
|
||||
string isAutoLogin = INIHelper.ReadINI("Config", "AutoLogin");
|
||||
@ -797,7 +797,7 @@ namespace Milimoe.FunGame.Desktop.UI
|
||||
{
|
||||
GetMessage("匹配成功 -> 房间号: " + room.Roomid);
|
||||
if (MainController != null) await MainController.UpdateRoomAsync();
|
||||
if (Rooms.IsExist(room.Roomid))
|
||||
if (Rooms.Exists(room.Roomid))
|
||||
{
|
||||
Room target = Rooms[room.Roomid];
|
||||
await InvokeController_IntoRoom(target);
|
||||
@ -1624,7 +1624,7 @@ namespace Milimoe.FunGame.Desktop.UI
|
||||
/// </summary>
|
||||
/// <param name="roomid"></param>
|
||||
/// <returns></returns>
|
||||
private bool CheckRoomIDExist(string roomid) => Rooms.IsExist(roomid);
|
||||
private bool CheckRoomIDExist(string roomid) => Rooms.Exists(roomid);
|
||||
|
||||
/// <summary>
|
||||
/// 获取房间对象
|
||||
|
||||
@ -67,7 +67,7 @@ namespace Milimoe.FunGame.Desktop.Utility
|
||||
default:
|
||||
break;
|
||||
}
|
||||
if (Singleton.IsExist(form) || IsExist)
|
||||
if (Singleton.Exists(form) || IsExist)
|
||||
{
|
||||
throw new FormHasBeenOpenedException();
|
||||
}
|
||||
@ -86,7 +86,7 @@ namespace Milimoe.FunGame.Desktop.Utility
|
||||
{
|
||||
try
|
||||
{
|
||||
if (!Singleton.IsExist(form))
|
||||
if (!Singleton.Exists(form))
|
||||
{
|
||||
Singleton.AddOrUpdate(form);
|
||||
if (opentype == OpenFormType.Dialog) form.ShowDialog();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user