Skip to content

Commit

Permalink
升级依赖 (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
YongAn404 authored Dec 17, 2024
1 parent 870ca90 commit 921b54d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 29 deletions.
1 change: 1 addition & 0 deletions Roles/MusicManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ private ReferenceHub CreateMusicNpc(string name)
ReferenceHub hubNpc = newNpc.GetComponent<ReferenceHub>();
NetworkServer.AddPlayerForConnection(new FakeConnection(0), newNpc);
hubNpc.nicknameSync.Network_myNickSync = name;
hubNpc.authManager.NetworkSyncedUserId = null;
MusicNpc.Add($"{num++}:{name}", hubNpc);
return hubNpc;
}
Expand Down
26 changes: 13 additions & 13 deletions YongAnFrame.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,42 +40,42 @@
<HintPath>lib\net48\Assembly-CSharp-firstpass.dll</HintPath>
</Reference>
<Reference Include="Assembly-CSharp-Publicized, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\ExMod.Exiled.9.0.0-alpha.4\lib\net48\Assembly-CSharp-Publicized.dll</HintPath>
<HintPath>packages\ExMod.Exiled.9.0.0-beta.1\lib\net48\Assembly-CSharp-Publicized.dll</HintPath>
<SpecificVersion>False</SpecificVersion>
<Private>False</Private>
</Reference>
<Reference Include="CommandSystem.Core, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\ExMod.Exiled.9.0.0-alpha.4\lib\net48\CommandSystem.Core.dll</HintPath>
<HintPath>packages\ExMod.Exiled.9.0.0-beta.1\lib\net48\CommandSystem.Core.dll</HintPath>
</Reference>
<Reference Include="Exiled.API, Version=9.0.0.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>packages\ExMod.Exiled.9.0.0-alpha.4\lib\net48\Exiled.API.dll</HintPath>
<HintPath>packages\ExMod.Exiled.9.0.0-beta.1\lib\net48\Exiled.API.dll</HintPath>
</Reference>
<Reference Include="Exiled.CreditTags, Version=9.0.0.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>packages\ExMod.Exiled.9.0.0-alpha.4\lib\net48\Exiled.CreditTags.dll</HintPath>
<HintPath>packages\ExMod.Exiled.9.0.0-beta.1\lib\net48\Exiled.CreditTags.dll</HintPath>
</Reference>
<Reference Include="Exiled.CustomItems, Version=9.0.0.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>packages\ExMod.Exiled.9.0.0-alpha.4\lib\net48\Exiled.CustomItems.dll</HintPath>
<HintPath>packages\ExMod.Exiled.9.0.0-beta.1\lib\net48\Exiled.CustomItems.dll</HintPath>
</Reference>
<Reference Include="Exiled.CustomRoles, Version=9.0.0.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>packages\ExMod.Exiled.9.0.0-alpha.4\lib\net48\Exiled.CustomRoles.dll</HintPath>
<HintPath>packages\ExMod.Exiled.9.0.0-beta.1\lib\net48\Exiled.CustomRoles.dll</HintPath>
</Reference>
<Reference Include="Exiled.Events, Version=9.0.0.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>packages\ExMod.Exiled.9.0.0-alpha.4\lib\net48\Exiled.Events.dll</HintPath>
<HintPath>packages\ExMod.Exiled.9.0.0-beta.1\lib\net48\Exiled.Events.dll</HintPath>
</Reference>
<Reference Include="Exiled.Loader, Version=9.0.0.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>packages\ExMod.Exiled.9.0.0-alpha.4\lib\net48\Exiled.Loader.dll</HintPath>
<HintPath>packages\ExMod.Exiled.9.0.0-beta.1\lib\net48\Exiled.Loader.dll</HintPath>
</Reference>
<Reference Include="Exiled.Permissions, Version=9.0.0.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>packages\ExMod.Exiled.9.0.0-alpha.4\lib\net48\Exiled.Permissions.dll</HintPath>
<HintPath>packages\ExMod.Exiled.9.0.0-beta.1\lib\net48\Exiled.Permissions.dll</HintPath>
</Reference>
<Reference Include="Mirror">
<HintPath>lib\net48\Mirror.dll</HintPath>
</Reference>
<Reference Include="NorthwoodLib, Version=1.3.1.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>packages\ExMod.Exiled.9.0.0-alpha.4\lib\net48\NorthwoodLib.dll</HintPath>
<HintPath>packages\ExMod.Exiled.9.0.0-beta.1\lib\net48\NorthwoodLib.dll</HintPath>
</Reference>
<Reference Include="PluginAPI, Version=13.1.4.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>packages\ExMod.Exiled.9.0.0-alpha.4\lib\net48\PluginAPI.dll</HintPath>
<Reference Include="PluginAPI, Version=13.1.5.0, Culture=neutral, processorArchitecture=AMD64">
<HintPath>packages\ExMod.Exiled.9.0.0-beta.1\lib\net48\PluginAPI.dll</HintPath>
</Reference>
<Reference Include="SCPSLAudioApi, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
Expand All @@ -96,7 +96,7 @@
<HintPath>lib\net48\UnityEngine.PhysicsModule.dll</HintPath>
</Reference>
<Reference Include="YamlDotNet, Version=11.0.0.0, Culture=neutral, PublicKeyToken=ec19458f3c15af5e, processorArchitecture=MSIL">
<HintPath>packages\ExMod.Exiled.9.0.0-alpha.4\lib\net48\YamlDotNet.dll</HintPath>
<HintPath>packages\ExMod.Exiled.9.0.0-beta.1\lib\net48\YamlDotNet.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
Expand Down
15 changes: 0 additions & 15 deletions YongAnTool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,5 @@ public static FramePlayer ToFPlayer(this Player p)
{
return FramePlayer.Get(p);
}

/// <summary>
/// <seealso cref="SpawnableTeamType"/>转换为<seealso cref="RefreshTeamType"/>
/// </summary>
/// <param name="stp"></param>
/// <returns></returns>
public static RefreshTeamType ToRefreshTeamType(this SpawnableTeamType stp)
{
return stp switch
{
SpawnableTeamType.ChaosInsurgency => RefreshTeamType.CI,
SpawnableTeamType.NineTailedFox => RefreshTeamType.MTF,
_ => RefreshTeamType.Start,
};
}
}
}
2 changes: 1 addition & 1 deletion packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="ExMod.Exiled" version="9.0.0-alpha.4" targetFramework="net48" />
<package id="ExMod.Exiled" version="9.0.0-beta.1" targetFramework="net48" />
</packages>

0 comments on commit 921b54d

Please sign in to comment.