mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 23:24:04 +09:00
Merge branch 'master' into configure-await-false
This commit is contained in:
@ -10,7 +10,6 @@ using System.Net.Sockets;
|
|||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Newtonsoft.Json.Linq;
|
using Newtonsoft.Json.Linq;
|
||||||
using osu.Framework;
|
|
||||||
using osu.Framework.Bindables;
|
using osu.Framework.Bindables;
|
||||||
using osu.Framework.Extensions.ExceptionExtensions;
|
using osu.Framework.Extensions.ExceptionExtensions;
|
||||||
using osu.Framework.Extensions.ObjectExtensions;
|
using osu.Framework.Extensions.ObjectExtensions;
|
||||||
@ -247,14 +246,8 @@ namespace osu.Game.Online.API
|
|||||||
this.password = password;
|
this.password = password;
|
||||||
}
|
}
|
||||||
|
|
||||||
public IHubClientConnector GetHubConnector(string clientName, string endpoint)
|
public IHubClientConnector GetHubConnector(string clientName, string endpoint) =>
|
||||||
{
|
new HubClientConnector(clientName, endpoint, this, versionHash);
|
||||||
// disabled until the underlying runtime issue is resolved, see https://github.com/mono/mono/issues/20805.
|
|
||||||
if (RuntimeInfo.OS == RuntimeInfo.Platform.iOS)
|
|
||||||
return null;
|
|
||||||
|
|
||||||
return new HubClientConnector(clientName, endpoint, this, versionHash);
|
|
||||||
}
|
|
||||||
|
|
||||||
public RegistrationRequest.RegistrationRequestErrors CreateAccount(string email, string username, string password)
|
public RegistrationRequest.RegistrationRequestErrors CreateAccount(string email, string username, string password)
|
||||||
{
|
{
|
||||||
|
@ -172,18 +172,6 @@ namespace osu.Game.Screens.Menu
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// disabled until the underlying runtime issue is resolved, see https://github.com/mono/mono/issues/20805.
|
|
||||||
if (RuntimeInfo.OS == RuntimeInfo.Platform.iOS)
|
|
||||||
{
|
|
||||||
notifications?.Post(new SimpleNotification
|
|
||||||
{
|
|
||||||
Text = "Multiplayer is temporarily unavailable on iOS as we figure out some low level issues.",
|
|
||||||
Icon = FontAwesome.Solid.AppleAlt,
|
|
||||||
});
|
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
OnMultiplayer?.Invoke();
|
OnMultiplayer?.Invoke();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -77,12 +77,14 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<NoWarn>$(NoWarn);NU1605</NoWarn>
|
<NoWarn>$(NoWarn);NU1605</NoWarn>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<!-- Workaround to make SignalR 5.x work properly, avoiding a runtime error (https://github.com/mono/mono/issues/20805#issuecomment-791440473) -->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="3.0.3" />
|
<PackageReference Include="System.Memory" Version="4.5.4">
|
||||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="3.0.3" />
|
<IncludeAssets>none</IncludeAssets>
|
||||||
<PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.MessagePack" Version="5.0.3" />
|
</PackageReference>
|
||||||
<PackageReference Include="MessagePack" Version="1.7.3.7" />
|
<PackageReference Include="System.Buffers" Version="4.5.1">
|
||||||
<PackageReference Include="MessagePack.Annotations" Version="2.2.85" />
|
<IncludeAssets>none</IncludeAssets>
|
||||||
|
</PackageReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<!-- Xamarin.iOS does not automatically handle transitive dependencies from NuGet packages. -->
|
<!-- Xamarin.iOS does not automatically handle transitive dependencies from NuGet packages. -->
|
||||||
<ItemGroup Label="Transitive Dependencies">
|
<ItemGroup Label="Transitive Dependencies">
|
||||||
|
Reference in New Issue
Block a user