Skip to content

Commit

Permalink
v10.9.3 update
Browse files Browse the repository at this point in the history
  • Loading branch information
argonlefou committed Feb 2, 2023
1 parent 556c18e commit 1402dcf
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DemulShooter/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
// en utilisant '*', comme indiqué ci-dessous :
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("10.9.1.0")]
[assembly: AssemblyVersion("10.9.3.0")]
2 changes: 1 addition & 1 deletion DemulShooterX64/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
// Vous pouvez spécifier toutes les valeurs ou indiquer les numéros de build et de révision par défaut
// en utilisant '*', comme indiqué ci-dessous :
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("10.9.1.0")]
[assembly: AssemblyVersion("10.9.3.0")]
1 change: 1 addition & 0 deletions UnityPlugin_BepInEx_TRA/UnityPlugin_BepInEx_TRA.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
<ItemGroup>
<Compile Include="DemulShooter_Plugin.cs" />
<Compile Include="mArcadeManager.cs" />
<Compile Include="mCheatsManager.cs" />
<Compile Include="mCrosshairWindow.cs" />
<Compile Include="mInputManager.cs" />
<Compile Include="mKaboomManager.cs" />
Expand Down
16 changes: 16 additions & 0 deletions UnityPlugin_BepInEx_TRA/mCheatsManager.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using HarmonyLib;

namespace UnityPlugin_BepInEx_TRA
{
class mCheatsManager
{
[HarmonyPatch(typeof(SBK.CheatsManager), "Update")]
class Update
{
static bool Prefix()
{
return false;
}
}
}
}
4 changes: 4 additions & 0 deletions UnityPlugin_BepInEx_TRA/mInputManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ static bool Prefix(bool ___m_AreCrosshairsEnabled, bool[] ___m_HoldTrigger, ID[]
{
Singleton<PlayerManager>.Instance.PlayerReload((ID)i);
}
if (!___m_HoldTrigger[i])
{
Singleton<PlayerManager>.Instance.StopHoldingFire(ID.One);
}
}
}

Expand Down

0 comments on commit 1402dcf

Please sign in to comment.