Skip to content

Commit 921b54d

Browse files
authored
升级依赖 (#32)
1 parent 870ca90 commit 921b54d

File tree

4 files changed

+15
-29
lines changed

4 files changed

+15
-29
lines changed

Roles/MusicManager.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ private ReferenceHub CreateMusicNpc(string name)
4646
ReferenceHub hubNpc = newNpc.GetComponent<ReferenceHub>();
4747
NetworkServer.AddPlayerForConnection(new FakeConnection(0), newNpc);
4848
hubNpc.nicknameSync.Network_myNickSync = name;
49+
hubNpc.authManager.NetworkSyncedUserId = null;
4950
MusicNpc.Add($"{num++}:{name}", hubNpc);
5051
return hubNpc;
5152
}

YongAnFrame.csproj

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -40,42 +40,42 @@
4040
<HintPath>lib\net48\Assembly-CSharp-firstpass.dll</HintPath>
4141
</Reference>
4242
<Reference Include="Assembly-CSharp-Publicized, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
43-
<HintPath>packages\ExMod.Exiled.9.0.0-alpha.4\lib\net48\Assembly-CSharp-Publicized.dll</HintPath>
43+
<HintPath>packages\ExMod.Exiled.9.0.0-beta.1\lib\net48\Assembly-CSharp-Publicized.dll</HintPath>
4444
<SpecificVersion>False</SpecificVersion>
4545
<Private>False</Private>
4646
</Reference>
4747
<Reference Include="CommandSystem.Core, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
48-
<HintPath>packages\ExMod.Exiled.9.0.0-alpha.4\lib\net48\CommandSystem.Core.dll</HintPath>
48+
<HintPath>packages\ExMod.Exiled.9.0.0-beta.1\lib\net48\CommandSystem.Core.dll</HintPath>
4949
</Reference>
5050
<Reference Include="Exiled.API, Version=9.0.0.0, Culture=neutral, processorArchitecture=AMD64">
51-
<HintPath>packages\ExMod.Exiled.9.0.0-alpha.4\lib\net48\Exiled.API.dll</HintPath>
51+
<HintPath>packages\ExMod.Exiled.9.0.0-beta.1\lib\net48\Exiled.API.dll</HintPath>
5252
</Reference>
5353
<Reference Include="Exiled.CreditTags, Version=9.0.0.0, Culture=neutral, processorArchitecture=AMD64">
54-
<HintPath>packages\ExMod.Exiled.9.0.0-alpha.4\lib\net48\Exiled.CreditTags.dll</HintPath>
54+
<HintPath>packages\ExMod.Exiled.9.0.0-beta.1\lib\net48\Exiled.CreditTags.dll</HintPath>
5555
</Reference>
5656
<Reference Include="Exiled.CustomItems, Version=9.0.0.0, Culture=neutral, processorArchitecture=AMD64">
57-
<HintPath>packages\ExMod.Exiled.9.0.0-alpha.4\lib\net48\Exiled.CustomItems.dll</HintPath>
57+
<HintPath>packages\ExMod.Exiled.9.0.0-beta.1\lib\net48\Exiled.CustomItems.dll</HintPath>
5858
</Reference>
5959
<Reference Include="Exiled.CustomRoles, Version=9.0.0.0, Culture=neutral, processorArchitecture=AMD64">
60-
<HintPath>packages\ExMod.Exiled.9.0.0-alpha.4\lib\net48\Exiled.CustomRoles.dll</HintPath>
60+
<HintPath>packages\ExMod.Exiled.9.0.0-beta.1\lib\net48\Exiled.CustomRoles.dll</HintPath>
6161
</Reference>
6262
<Reference Include="Exiled.Events, Version=9.0.0.0, Culture=neutral, processorArchitecture=AMD64">
63-
<HintPath>packages\ExMod.Exiled.9.0.0-alpha.4\lib\net48\Exiled.Events.dll</HintPath>
63+
<HintPath>packages\ExMod.Exiled.9.0.0-beta.1\lib\net48\Exiled.Events.dll</HintPath>
6464
</Reference>
6565
<Reference Include="Exiled.Loader, Version=9.0.0.0, Culture=neutral, processorArchitecture=AMD64">
66-
<HintPath>packages\ExMod.Exiled.9.0.0-alpha.4\lib\net48\Exiled.Loader.dll</HintPath>
66+
<HintPath>packages\ExMod.Exiled.9.0.0-beta.1\lib\net48\Exiled.Loader.dll</HintPath>
6767
</Reference>
6868
<Reference Include="Exiled.Permissions, Version=9.0.0.0, Culture=neutral, processorArchitecture=AMD64">
69-
<HintPath>packages\ExMod.Exiled.9.0.0-alpha.4\lib\net48\Exiled.Permissions.dll</HintPath>
69+
<HintPath>packages\ExMod.Exiled.9.0.0-beta.1\lib\net48\Exiled.Permissions.dll</HintPath>
7070
</Reference>
7171
<Reference Include="Mirror">
7272
<HintPath>lib\net48\Mirror.dll</HintPath>
7373
</Reference>
7474
<Reference Include="NorthwoodLib, Version=1.3.1.0, Culture=neutral, processorArchitecture=MSIL">
75-
<HintPath>packages\ExMod.Exiled.9.0.0-alpha.4\lib\net48\NorthwoodLib.dll</HintPath>
75+
<HintPath>packages\ExMod.Exiled.9.0.0-beta.1\lib\net48\NorthwoodLib.dll</HintPath>
7676
</Reference>
77-
<Reference Include="PluginAPI, Version=13.1.4.0, Culture=neutral, processorArchitecture=AMD64">
78-
<HintPath>packages\ExMod.Exiled.9.0.0-alpha.4\lib\net48\PluginAPI.dll</HintPath>
77+
<Reference Include="PluginAPI, Version=13.1.5.0, Culture=neutral, processorArchitecture=AMD64">
78+
<HintPath>packages\ExMod.Exiled.9.0.0-beta.1\lib\net48\PluginAPI.dll</HintPath>
7979
</Reference>
8080
<Reference Include="SCPSLAudioApi, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
8181
<SpecificVersion>False</SpecificVersion>
@@ -96,7 +96,7 @@
9696
<HintPath>lib\net48\UnityEngine.PhysicsModule.dll</HintPath>
9797
</Reference>
9898
<Reference Include="YamlDotNet, Version=11.0.0.0, Culture=neutral, PublicKeyToken=ec19458f3c15af5e, processorArchitecture=MSIL">
99-
<HintPath>packages\ExMod.Exiled.9.0.0-alpha.4\lib\net48\YamlDotNet.dll</HintPath>
99+
<HintPath>packages\ExMod.Exiled.9.0.0-beta.1\lib\net48\YamlDotNet.dll</HintPath>
100100
</Reference>
101101
</ItemGroup>
102102
<ItemGroup>

YongAnTool.cs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,5 @@ public static FramePlayer ToFPlayer(this Player p)
3434
{
3535
return FramePlayer.Get(p);
3636
}
37-
38-
/// <summary>
39-
/// <seealso cref="SpawnableTeamType"/>转换为<seealso cref="RefreshTeamType"/>
40-
/// </summary>
41-
/// <param name="stp"></param>
42-
/// <returns></returns>
43-
public static RefreshTeamType ToRefreshTeamType(this SpawnableTeamType stp)
44-
{
45-
return stp switch
46-
{
47-
SpawnableTeamType.ChaosInsurgency => RefreshTeamType.CI,
48-
SpawnableTeamType.NineTailedFox => RefreshTeamType.MTF,
49-
_ => RefreshTeamType.Start,
50-
};
51-
}
5237
}
5338
}

packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="ExMod.Exiled" version="9.0.0-alpha.4" targetFramework="net48" />
3+
<package id="ExMod.Exiled" version="9.0.0-beta.1" targetFramework="net48" />
44
</packages>

0 commit comments

Comments
 (0)