1
0
forked from akanyan/mu3-mods

chore: major cleanup

This commit is contained in:
2024-07-04 21:39:11 +09:00
parent 74ecdf111a
commit 76884216dd
52 changed files with 126 additions and 377 deletions

View File

@ -1,23 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net35</TargetFramework>
<AssemblyName>Assembly-CSharp.LockSelectionTime.mm</AssemblyName>
<Company>7EVENDAYS⇔HOLIDAYS</Company>
<Description>Lock selection time in mu3</Description>
<Version>1.5.0</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
<Platforms>x64</Platforms>
</PropertyGroup>
<ItemGroup>
<Reference Include="mscorlib"><HintPath>..\Common\mscorlib.dll</HintPath></Reference>
<Reference Include="UnityEngine"><HintPath>..\Common\UnityEngine.dll</HintPath></Reference>
<Reference Include="UnityEngine.UI"><HintPath>..\Common\UnityEngine.UI.dll</HintPath></Reference>
<ProjectReference Include="..\Common\Assembly-CSharp_unpacked\Assembly-CSharp_unpacked.csproj" />
</ItemGroup>
<Target Name="CopyDLLs" AfterTargets="Build">
<Copy SourceFiles="$(TargetDir)$(AssemblyName).dll" DestinationFolder="..\Common\mu3\BepInEx\monomod" />
</Target>
</Project>

View File

@ -0,0 +1,7 @@
<Project>
<PropertyGroup>
<AssemblyName>Assembly-CSharp.LockSelectionTime.mm</AssemblyName>
<Description>Disable all timers</Description>
</PropertyGroup>
<Import Project="..\Mu3Mods.csproj" />
</Project>

View File

@ -1,9 +1,7 @@
#pragma warning disable CS0626
namespace MU3;
public class patch_SystemUI: SystemUI {
public class patch_Timer: SystemUI.Timer {
class patch_SystemUI: SystemUI {
class patch_Timer: Timer {
public patch_Timer(UITimer timer) : base(timer) { /* nop */ }
public new void execute() { /* nop */ }
public extern bool orig_get_show();

View File

@ -1,10 +1,8 @@
#pragma warning disable CS0626
using UnityEngine;
namespace MU3;
public class patch_UITimer: UITimer {
class patch_UITimer: UITimer {
public new void update() { /* nop */ }
public new void update(float externalCounter) { /* nop */ }
public extern void orig_initialize(float counter);