Update dustland delivery
This commit is contained in:
@@ -0,0 +1,28 @@
|
|||||||
|
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005C0Harmony_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CAssembly_002DCSharp_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CBepInEx_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CMainAssembly_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CUnityEngine_002ECoreModule_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CUnityEngine_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005C0Harmony_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005CAssembly_002DCSharp_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005CBepInEx_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005CConfigurationManager_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005CSirenix_002ESerialization_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005CUnityEngine_002ECoreModule_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005CUnityEngine_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005C0Harmony_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CAssembly_002DCSharp_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CBepInEx_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CConfigurationManager_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CMainAssembly_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CUnityEngine_002ECoreModule_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CUnityEngine_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CProjects_002DRider_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005C0Harmony_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CProjects_002DRider_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005CAssembly_002DCSharp_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CProjects_002DRider_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005CBepInEx_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CProjects_002DRider_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005CConfigurationManager_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CProjects_002DRider_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005CSirenix_002ESerialization_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CProjects_002DRider_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005CUnityEngine_002ECoreModule_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CProjects_002DRider_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005CUnityEngine_002Edll/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
|
16
Projects/DustlandDelivery/DustlandDelivery.sln
Normal file
16
Projects/DustlandDelivery/DustlandDelivery.sln
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DustlandDelivery", "DustlandDelivery\DustlandDelivery.csproj", "{DA9D274E-486F-4F82-84FF-CD9388CB0B09}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{DA9D274E-486F-4F82-84FF-CD9388CB0B09}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{DA9D274E-486F-4F82-84FF-CD9388CB0B09}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{DA9D274E-486F-4F82-84FF-CD9388CB0B09}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{DA9D274E-486F-4F82-84FF-CD9388CB0B09}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
@@ -0,0 +1,33 @@
|
|||||||
|
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005C0Harmony_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CAssembly_002DCSharp_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CBepInEx_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CMainAssembly_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CUnityEngine_002ECoreModule_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CUnityEngine_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005C0Harmony_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005CAssembly_002DCSharp_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005CBepInEx_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005CConfigurationManager_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005CSirenix_002ESerialization_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005CUnityEngine_002ECoreModule_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005CUnityEngine_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005C0Harmony_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CAssembly_002DCSharp_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CBepInEx_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CConfigurationManager_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CMainAssembly_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CUnityEngine_002ECoreModule_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CUnityEngine_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CProjects_002DRider_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005C0Harmony_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CProjects_002DRider_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005CAssembly_002DCSharp_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CProjects_002DRider_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005CBepInEx_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CProjects_002DRider_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005CConfigurationManager_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CProjects_002DRider_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005CSirenix_002ESerialization_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CProjects_002DRider_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005CUnityEngine_002ECoreModule_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CProjects_002DRider_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005CUnityEngine_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CProjects_002DRider_005CRiderProjects_005CBepinex_005CProjects_005CDustlandDelivery_005Clibs_005C0Harmony_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CProjects_002DRider_005CRiderProjects_005CBepinex_005CProjects_005CDustlandDelivery_005Clibs_005CAssembly_002DCSharp_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CProjects_002DRider_005CRiderProjects_005CBepinex_005CProjects_005CDustlandDelivery_005Clibs_005CBepInEx_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CProjects_002DRider_005CRiderProjects_005CBepinex_005CProjects_005CDustlandDelivery_005Clibs_005CUnityEngine_002ECoreModule_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CProjects_002DRider_005CRiderProjects_005CBepinex_005CProjects_005CDustlandDelivery_005Clibs_005CUnityEngine_002Edll/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
|
34
Projects/DustlandDelivery/DustlandDelivery/Class1.cs
Normal file
34
Projects/DustlandDelivery/DustlandDelivery/Class1.cs
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
using System.Linq;
|
||||||
|
using BepInEx;
|
||||||
|
using BepInEx.Configuration;
|
||||||
|
using HarmonyLib;
|
||||||
|
using HarmonyLib.Tools;
|
||||||
|
|
||||||
|
namespace DustlandDelivery {
|
||||||
|
[BepInPlugin(pluginGuid, pluginName, pluginVersion)]
|
||||||
|
public class Main : BaseUnityPlugin {
|
||||||
|
private const string pluginGuid = "CykaMod";
|
||||||
|
private const string pluginName = "CykaMod";
|
||||||
|
private const string pluginVersion = "1.0.0";
|
||||||
|
|
||||||
|
public static ConfigEntry<float> SellPriceMultiplier;
|
||||||
|
public static ConfigEntry<float> XPMultiplier;
|
||||||
|
public static ConfigEntry<float> BookCostMultiplier;
|
||||||
|
|
||||||
|
public void Awake() {
|
||||||
|
SellPriceMultiplier = Config.Bind("General", "SellMultiplier", 1F,
|
||||||
|
new ConfigDescription("SellMultiplier", new AcceptableValueRange<float>(1, 512)));
|
||||||
|
XPMultiplier = Config.Bind("General", "XPMultiplier", 1F,
|
||||||
|
new ConfigDescription("XPMultiplier", new AcceptableValueRange<float>(1, 512)));
|
||||||
|
BookCostMultiplier = Config.Bind("General", "BookCostMultiplier", 1F,
|
||||||
|
new ConfigDescription("BookCostMultiplier", new AcceptableValueRange<float>(0.01F, 512)));
|
||||||
|
|
||||||
|
Logger.LogInfo("Cyka mod loaded");
|
||||||
|
HarmonyFileLog.Enabled = true;
|
||||||
|
Harmony harmony = new Harmony(pluginGuid);
|
||||||
|
harmony.PatchAll();
|
||||||
|
var originalMethods = harmony.GetPatchedMethods();
|
||||||
|
Logger.LogInfo("Patched " + originalMethods.Count() + " methods");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@@ -31,36 +31,6 @@
|
|||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
|
||||||
<Reference Include="0Harmony">
|
|
||||||
<HintPath>libs\0Harmony.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="Assembly-CSharp">
|
|
||||||
<HintPath>libs\Assembly-CSharp.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="BepInEx">
|
|
||||||
<HintPath>libs\BepInEx.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="ConfigurationManager">
|
|
||||||
<HintPath>libs\ConfigurationManager.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="MainAssembly">
|
|
||||||
<HintPath>libs\MainAssembly.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="Sirenix.Serialization">
|
|
||||||
<HintPath>libs\Sirenix.Serialization.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="System" />
|
|
||||||
<Reference Include="System.Core" />
|
|
||||||
<Reference Include="System.Data" />
|
|
||||||
<Reference Include="System.Xml" />
|
|
||||||
<Reference Include="UnityEngine">
|
|
||||||
<HintPath>libs\UnityEngine.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="UnityEngine.CoreModule">
|
|
||||||
<HintPath>libs\UnityEngine.CoreModule.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Class1.cs" />
|
<Compile Include="Class1.cs" />
|
||||||
<Compile Include="Patches.cs" />
|
<Compile Include="Patches.cs" />
|
||||||
@@ -68,7 +38,21 @@
|
|||||||
<Compile Include="Transpiler.cs" />
|
<Compile Include="Transpiler.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="deploy.sh" />
|
<Reference Include="0Harmony">
|
||||||
|
<HintPath>..\libs\0Harmony.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Assembly-CSharp">
|
||||||
|
<HintPath>..\libs\Assembly-CSharp.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="BepInEx">
|
||||||
|
<HintPath>..\libs\BepInEx.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine">
|
||||||
|
<HintPath>..\libs\UnityEngine.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.CoreModule">
|
||||||
|
<HintPath>..\libs\UnityEngine.CoreModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
|
113
Projects/DustlandDelivery/DustlandDelivery/Patches.cs
Normal file
113
Projects/DustlandDelivery/DustlandDelivery/Patches.cs
Normal file
@@ -0,0 +1,113 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Reflection.Emit;
|
||||||
|
using HarmonyLib;
|
||||||
|
|
||||||
|
namespace DustlandDelivery {
|
||||||
|
[HarmonyPatch]
|
||||||
|
public class Patches {
|
||||||
|
[HarmonyPrefix]
|
||||||
|
[HarmonyPatch(typeof(MarketManager), "Pay")]
|
||||||
|
static void SellMultiplier(ref int city, ref int goodId, ref int amount, ref float price, ref bool IsBuy,
|
||||||
|
ref float BarginRate) {
|
||||||
|
if (!IsBuy) {
|
||||||
|
price *= Main.SellPriceMultiplier.Value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[HarmonyPrefix]
|
||||||
|
[HarmonyPatch(typeof(PeopleUpgradeManager), "GetExp")]
|
||||||
|
static void XPMultiplier1(ref Personal p, ref int value, ref bool NeedDialog, ref string Text) {
|
||||||
|
value = (int)(value * Main.XPMultiplier.Value);
|
||||||
|
}
|
||||||
|
|
||||||
|
[HarmonyPrefix]
|
||||||
|
[HarmonyPatch(typeof(PeopleUpgradeManager), "GetExpAll")]
|
||||||
|
static void XPMultiplier2(ref int value) {
|
||||||
|
value = (int)(value * Main.XPMultiplier.Value);
|
||||||
|
}
|
||||||
|
|
||||||
|
[HarmonyPostfix]
|
||||||
|
[HarmonyPatch(typeof(PeopleUpgradeManager), "GetUpgradeBookUse")]
|
||||||
|
static void BookCostMultiplier(ref int __result) {
|
||||||
|
__result = (int)(__result * Main.BookCostMultiplier.Value);
|
||||||
|
}
|
||||||
|
|
||||||
|
[HarmonyPatch(typeof(PeopleUpgradeManager), "CheckLevelUp")]
|
||||||
|
public static class ManyPointPatch {
|
||||||
|
static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstruction> instructions) {
|
||||||
|
var codes = new List<CodeInstruction>(instructions);
|
||||||
|
|
||||||
|
for (var i = 0; i < 50; i++) {
|
||||||
|
if (codes[i].opcode == OpCodes.Ldfld) {
|
||||||
|
if (codes[i].operand.ToString().Contains("SpecialPoint")) {
|
||||||
|
Console.WriteLine("Found SpecialPoint");
|
||||||
|
codes[i+1].opcode = OpCodes.Ldc_I4_8;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return codes.AsEnumerable();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[HarmonyPatch(typeof(PeopleUpgradeManager), "UseBuffToGetPoint")]
|
||||||
|
public static class ManyTraitPatch {
|
||||||
|
static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstruction> instructions) {
|
||||||
|
var codes = new List<CodeInstruction>(instructions);
|
||||||
|
|
||||||
|
for (var i = 0; i < 100; i++) {
|
||||||
|
if (codes[i].opcode == OpCodes.Ldc_I4_8) {
|
||||||
|
Console.WriteLine("Found Ldc_I4_8");
|
||||||
|
codes[i].opcode = OpCodes.Ldc_I4;
|
||||||
|
codes[i].operand = 32;
|
||||||
|
Console.WriteLine("Changed to Ldc_I4 32");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return codes.AsEnumerable();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[HarmonyPatch(typeof(PeopleUpgradeManager), "UsePointToGetBuff")]
|
||||||
|
public static class ManyTraitPatch2 {
|
||||||
|
static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstruction> instructions) {
|
||||||
|
var codes = new List<CodeInstruction>(instructions);
|
||||||
|
|
||||||
|
for (var i = 0; i < 100; i++) {
|
||||||
|
if (codes[i].opcode == OpCodes.Ldc_I4_8) {
|
||||||
|
Console.WriteLine("Found Ldc_I4_8");
|
||||||
|
codes[i].opcode = OpCodes.Ldc_I4;
|
||||||
|
codes[i].operand = 32;
|
||||||
|
Console.WriteLine("Changed to Ldc_I4 32");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return codes.AsEnumerable();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[HarmonyPatch(typeof(HardCode), "Get_People_Fatigue_Max")]
|
||||||
|
public static class MoreFatigue {
|
||||||
|
static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstruction> instructions) {
|
||||||
|
var codes = new List<CodeInstruction>(instructions);
|
||||||
|
|
||||||
|
for (var i = 0; i < 10; i++) {
|
||||||
|
if (codes[i].opcode == OpCodes.Ldc_I4_S) {
|
||||||
|
Console.WriteLine("Found Ldc_I4_S");
|
||||||
|
codes[i].opcode = OpCodes.Ldc_I4;
|
||||||
|
codes[i].operand = 300;
|
||||||
|
Console.WriteLine("Changed to Ldc_I4 300");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return codes.AsEnumerable();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@@ -0,0 +1,35 @@
|
|||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
// General Information about an assembly is controlled through the following
|
||||||
|
// set of attributes. Change these attribute values to modify the information
|
||||||
|
// associated with an assembly.
|
||||||
|
[assembly: AssemblyTitle("Regiments")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("")]
|
||||||
|
[assembly: AssemblyProduct("Regiments")]
|
||||||
|
[assembly: AssemblyCopyright("Copyright © 2023")]
|
||||||
|
[assembly: AssemblyTrademark("")]
|
||||||
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
|
// Setting ComVisible to false makes the types in this assembly not visible
|
||||||
|
// to COM components. If you need to access a type in this assembly from
|
||||||
|
// COM, set the ComVisible attribute to true on that type.
|
||||||
|
[assembly: ComVisible(false)]
|
||||||
|
|
||||||
|
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||||
|
[assembly: Guid("DA9D274E-486F-4F82-84FF-CD9388CB0B09")]
|
||||||
|
|
||||||
|
// Version information for an assembly consists of the following four values:
|
||||||
|
//
|
||||||
|
// Major Version
|
||||||
|
// Minor Version
|
||||||
|
// Build Number
|
||||||
|
// Revision
|
||||||
|
//
|
||||||
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
|
// by using the '*' as shown below:
|
||||||
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
|
[assembly: AssemblyVersion("1.0.0.0")]
|
||||||
|
[assembly: AssemblyFileVersion("1.0.0.0")]
|
274
Projects/DustlandDelivery/DustlandDelivery/Transpiler.cs
Normal file
274
Projects/DustlandDelivery/DustlandDelivery/Transpiler.cs
Normal file
@@ -0,0 +1,274 @@
|
|||||||
|
// using System;
|
||||||
|
// using System.Collections.Generic;
|
||||||
|
// using System.Linq;
|
||||||
|
// using System.Reflection.Emit;
|
||||||
|
// using BepInEx;
|
||||||
|
// using BepInEx.Configuration;
|
||||||
|
// using HarmonyLib;
|
||||||
|
// using HarmonyLib.Tools;
|
||||||
|
//
|
||||||
|
// namespace Regiments {
|
||||||
|
// [BepInPlugin(pluginGuid, pluginName, pluginVersion)]
|
||||||
|
// public class Main : BaseUnityPlugin {
|
||||||
|
// private const string pluginGuid = "CykaMod";
|
||||||
|
// private const string pluginName = "CykaMod";
|
||||||
|
// private const string pluginVersion = "1.0.0";
|
||||||
|
//
|
||||||
|
// public static ConfigEntry<float> skillCap;
|
||||||
|
// public static ConfigEntry<float> workSpeed;
|
||||||
|
// public static ConfigEntry<float> workResult;
|
||||||
|
// public static ConfigEntry<bool> alwaysCritical;
|
||||||
|
// public static ConfigEntry<float> gameSpeed;
|
||||||
|
// public static ConfigEntry<int> fans;
|
||||||
|
// public static ConfigEntry<long> money;
|
||||||
|
//
|
||||||
|
// //
|
||||||
|
// // private void Awake()
|
||||||
|
// // {
|
||||||
|
// // configGreeting = Config.Bind("General", // The section under which the option is shown
|
||||||
|
// // "GreetingText", // The key of the configuration option in the configuration file
|
||||||
|
// // "Hello, world!", // The default value
|
||||||
|
// // "A greeting text to show when the game is launched"); // Description of the option to show in the config file
|
||||||
|
// //
|
||||||
|
//
|
||||||
|
// public void Awake() {
|
||||||
|
// skillCap = Config.Bind("General", "Skill Cap", 100f);
|
||||||
|
// workSpeed = Config.Bind("General", "Work Speed Multiplier", 4f);
|
||||||
|
// workResult = Config.Bind("General", "Work Result Multiplier", 4f);
|
||||||
|
// alwaysCritical = Config.Bind("General", "Work Always Critical", false);
|
||||||
|
// gameSpeed = Config.Bind("General", "Game Speed Multiplier", 3f);
|
||||||
|
// fans = Config.Bind("General", "Fans Multiplier", 2);
|
||||||
|
// money = Config.Bind("General", "Money Multiplier", 2L);
|
||||||
|
//
|
||||||
|
// Logger.LogInfo("Cyka mod loaded");
|
||||||
|
// HarmonyFileLog.Enabled = true;
|
||||||
|
// Harmony harmony = new Harmony(pluginGuid);
|
||||||
|
// harmony.PatchAll();
|
||||||
|
// var originalMethods = harmony.GetPatchedMethods();
|
||||||
|
// Logger.LogInfo("Patched " + originalMethods.Count() + " methods");
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// public static bool IsMatch(List<CodeInstruction> codes, int index, List<CodeInstruction> matcher) {
|
||||||
|
// for (var i = 0; i < matcher.Count; i++) {
|
||||||
|
// if (codes[index + i].opcode != matcher[i].opcode) {
|
||||||
|
// return false;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// return true;
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// public static void InsertAt(List<CodeInstruction> codes, int index, List<CodeInstruction> toInsert) {
|
||||||
|
// for (var i = 0; i < toInsert.Count; i++) {
|
||||||
|
// codes.Insert(index + i, toInsert[i]);
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// [HarmonyPatch(typeof(characterScript), "GetSkillCap")]
|
||||||
|
// public class SkillCapPatch {
|
||||||
|
// static void Postfix(ref float __result) {
|
||||||
|
// // Console.WriteLine("GetSkillCap Postfix! Result is " + __result);
|
||||||
|
// __result = Main.skillCap.Value;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// [HarmonyPatch(typeof(characterScript), "GetSkillCap_Skill")]
|
||||||
|
// public class SkillCapSkillPatch {
|
||||||
|
// static void Postfix(ref float __result) {
|
||||||
|
// // Console.WriteLine("GetSkillCap_Skill Postfix! Result is " + __result);
|
||||||
|
// __result = Main.skillCap.Value;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// [HarmonyPatch(typeof(characterScript), "GetWorkSpeed")]
|
||||||
|
// public class GetWorkSpeedPatch {
|
||||||
|
// static void Postfix(ref float __result) {
|
||||||
|
// // Console.WriteLine("GetWorkSpeed Postfix! Result is " + __result);
|
||||||
|
// __result *= Main.workSpeed.Value;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// [HarmonyPatch(typeof(characterScript), "GetWorkResult")]
|
||||||
|
// public class GetWorkResultPatch {
|
||||||
|
// static void Prefix(ref float f) {
|
||||||
|
// // Console.WriteLine("GetWorkResult Postfix! f is " + f);
|
||||||
|
// f *= Main.workResult.Value;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// [HarmonyPatch(typeof(characterScript), "GetCritic")]
|
||||||
|
// public class GetCriticPatch {
|
||||||
|
// static void Postfix(ref bool __result) {
|
||||||
|
// // Console.WriteLine("GetWorkResult Postfix! f is " + f);
|
||||||
|
// if (Main.alwaysCritical.Value) {
|
||||||
|
// __result = true;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// [HarmonyPatch(typeof(mainScript), "SetGameSpeed")]
|
||||||
|
// public class GameSpeedPatch {
|
||||||
|
// static void Prefix(ref float f) {
|
||||||
|
// // Console.WriteLine("SetGameSpeed Prefix! Argument is " + f);
|
||||||
|
// if (f > 1) {
|
||||||
|
// f *= Main.gameSpeed.Value;
|
||||||
|
// // Console.WriteLine("Argument modified to " + f);
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// [HarmonyPatch(typeof(characterScript), "Learn")]
|
||||||
|
// public static class LearnManyPatch {
|
||||||
|
// static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstruction> instructions) {
|
||||||
|
// var codes = new List<CodeInstruction>(instructions);
|
||||||
|
//
|
||||||
|
// for (var i = 0; i < 5; i++) {
|
||||||
|
// if (codes[i].opcode == OpCodes.Ldc_R4) {
|
||||||
|
// Console.WriteLine("Changing " + codes[i]);
|
||||||
|
// codes[i].operand = (float)codes[i].operand * 64;
|
||||||
|
// Console.WriteLine("Changed " + codes[i]);
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// return codes.AsEnumerable();
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// [HarmonyPatch(typeof(arbeitsmarkt), "ArbeitsmarktUpdaten")]
|
||||||
|
// public static class ManyEmployeesPatch {
|
||||||
|
// static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstruction> instructions) {
|
||||||
|
// var codes = new List<CodeInstruction>(instructions);
|
||||||
|
//
|
||||||
|
// for (var i = codes.Count - 1; i > 0; i--) {
|
||||||
|
// if (codes[i].opcode == OpCodes.Ldc_I4_3) {
|
||||||
|
// Console.WriteLine("Changing " + codes[i]);
|
||||||
|
// codes[i] = new CodeInstruction(OpCodes.Ldc_I4, 64);
|
||||||
|
// Console.WriteLine("Changed " + codes[i]);
|
||||||
|
// break;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// return codes.AsEnumerable();
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// // [HarmonyPatch(typeof(AILerp), "MovementUpdate")]
|
||||||
|
// public class MovementSpeedPatch {
|
||||||
|
// static void Prefix(ref float deltaTime) {
|
||||||
|
// Console.WriteLine("MovementUpdate Prefix! deltaTime is " + deltaTime);
|
||||||
|
// deltaTime *= 16f;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// // [HarmonyPatch(typeof(movementScript), "Move")]
|
||||||
|
// public static class EmployeeMovementSpeedPatch {
|
||||||
|
// static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstruction> instructions) {
|
||||||
|
// var codes = new List<CodeInstruction>(instructions);
|
||||||
|
//
|
||||||
|
// List<CodeInstruction> matcher = new List<CodeInstruction>();
|
||||||
|
// matcher.Add(new CodeInstruction(OpCodes.Ldarg_0, null));
|
||||||
|
// matcher.Add(new CodeInstruction(OpCodes.Ldfld, null));
|
||||||
|
// matcher.Add(new CodeInstruction(OpCodes.Ldarg_0, null));
|
||||||
|
// matcher.Add(new CodeInstruction(OpCodes.Ldfld, null));
|
||||||
|
// matcher.Add(new CodeInstruction(OpCodes.Mul, null));
|
||||||
|
//
|
||||||
|
// List<CodeInstruction> patch = new List<CodeInstruction>();
|
||||||
|
// patch.Add(new CodeInstruction(OpCodes.Ldc_R4, 8));
|
||||||
|
// patch.Add(new CodeInstruction(OpCodes.Mul, null));
|
||||||
|
//
|
||||||
|
// for (var i = codes.Count - 1; i > 0; i--) {
|
||||||
|
// if (Main.IsMatch(codes, i, matcher)) {
|
||||||
|
// Main.InsertAt(codes, i + 5, patch);
|
||||||
|
// Console.WriteLine("Movement speed patched");
|
||||||
|
// for (var j = 0; j < 15; j++) {
|
||||||
|
// Console.WriteLine(codes[i + j]);
|
||||||
|
// }
|
||||||
|
// break;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// Console.WriteLine("Return");
|
||||||
|
// return codes.AsEnumerable();
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// [HarmonyPatch(typeof(mainScript), "WochenUpdates")]
|
||||||
|
// public static class ContractWorkAmount {
|
||||||
|
// static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstruction> instructions) {
|
||||||
|
// var codes = new List<CodeInstruction>(instructions);
|
||||||
|
// int methodIndex = -1;
|
||||||
|
// List<CodeInstruction> pattern = new List<CodeInstruction>();
|
||||||
|
//
|
||||||
|
// List<CodeInstruction> matcher = new List<CodeInstruction>();
|
||||||
|
// matcher.Add(new CodeInstruction(OpCodes.Ldarg_0, null));
|
||||||
|
// matcher.Add(new CodeInstruction(OpCodes.Ldfld, null));
|
||||||
|
// matcher.Add(new CodeInstruction(OpCodes.Ldc_I4_0, null));
|
||||||
|
// matcher.Add(new CodeInstruction(OpCodes.Callvirt, null));
|
||||||
|
//
|
||||||
|
// for (var i = 0; i < codes.Count; i++) {
|
||||||
|
// if (codes[i].operand != null) {
|
||||||
|
// if (codes[i].operand.ToString().Contains("UpdateContractWork")) {
|
||||||
|
// methodIndex = i;
|
||||||
|
// pattern.Add(codes[i - 3]);
|
||||||
|
// pattern.Add(codes[i - 2]);
|
||||||
|
// pattern.Add(codes[i - 1]);
|
||||||
|
// pattern.Add(codes[i]);
|
||||||
|
// break;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// pattern[2].opcode = OpCodes.Ldc_I4_1;
|
||||||
|
//
|
||||||
|
// for (int i = 0; i < 16; i++) {
|
||||||
|
// for (int j = 0; j < pattern.Count; j++) {
|
||||||
|
// codes.Insert(methodIndex + i + j, pattern[j]);
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// return codes.AsEnumerable();
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// [HarmonyPatch(typeof(platformScript), "SellPlayer")]
|
||||||
|
// public static class ConsoleProductionReductionPatch {
|
||||||
|
// static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstruction> instructions) {
|
||||||
|
// var codes = new List<CodeInstruction>(instructions);
|
||||||
|
//
|
||||||
|
// List<CodeInstruction> matcher = new List<CodeInstruction>();
|
||||||
|
// matcher.Add(new CodeInstruction(OpCodes.Ldarg_0, null));
|
||||||
|
// matcher.Add(new CodeInstruction(OpCodes.Ldarg_0, null));
|
||||||
|
// matcher.Add(new CodeInstruction(OpCodes.Ldfld, null));
|
||||||
|
// matcher.Add(new CodeInstruction(OpCodes.Ldc_R4, null));
|
||||||
|
// matcher.Add(new CodeInstruction(OpCodes.Ldc_R4, null));
|
||||||
|
// matcher.Add(new CodeInstruction(OpCodes.Call, null));
|
||||||
|
// matcher.Add(new CodeInstruction(OpCodes.Add, null));
|
||||||
|
// matcher.Add(new CodeInstruction(OpCodes.Stfld, null));
|
||||||
|
//
|
||||||
|
// for (var i = 0; i < codes.Count; i++) {
|
||||||
|
// if (Main.IsMatch(codes, i, matcher)) {
|
||||||
|
// codes[i + 3].operand = (float)codes[i + 3].operand * 8f;
|
||||||
|
// codes[i + 4].operand = (float)codes[i + 4].operand * 8f;
|
||||||
|
// Console.WriteLine("ConsoleProductionReductionPatch patched");
|
||||||
|
// break;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// return codes.AsEnumerable();
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// [HarmonyPatch(typeof(mainScript), "AddFans")]
|
||||||
|
// public static class AddFansPatch {
|
||||||
|
// static void Prefix(ref int i) {
|
||||||
|
// // Console.WriteLine("GetWorkResult Postfix! f is " + f);
|
||||||
|
// i *= Main.fans.Value;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
//
|
||||||
|
// [HarmonyPatch(typeof(mainScript), "Earn")]
|
||||||
|
// public static class AddMoneyPatch {
|
||||||
|
// static void Prefix(ref long amount) {
|
||||||
|
// // Console.WriteLine("GetWorkResult Postfix! f is " + f);
|
||||||
|
// amount *= Main.money.Value;
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// }
|
BIN
Projects/DustlandDelivery/DustlandDelivery/libs/0Harmony.dll
Normal file
BIN
Projects/DustlandDelivery/DustlandDelivery/libs/0Harmony.dll
Normal file
Binary file not shown.
Binary file not shown.
BIN
Projects/DustlandDelivery/DustlandDelivery/libs/BepInEx.dll
Normal file
BIN
Projects/DustlandDelivery/DustlandDelivery/libs/BepInEx.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Projects/DustlandDelivery/DustlandDelivery/libs/UnityEngine.dll
Normal file
BIN
Projects/DustlandDelivery/DustlandDelivery/libs/UnityEngine.dll
Normal file
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
for lib in $(cat libs.txt); do find $1 -name "$lib" | sed 's|\\|/|g' | xargs -I% -- cp '%' .; done
|
6
Projects/DustlandDelivery/DustlandDelivery/libs/libs.txt
Normal file
6
Projects/DustlandDelivery/DustlandDelivery/libs/libs.txt
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
0Harmony.dll
|
||||||
|
Assembly-CSharp.dll
|
||||||
|
BepInEx.dll
|
||||||
|
ConfigurationManager.dll
|
||||||
|
UnityEngine.CoreModule.dll
|
||||||
|
UnityEngine.dll
|
21
Projects/DustlandDelivery/Regiments.sln.DotSettings.user
Normal file
21
Projects/DustlandDelivery/Regiments.sln.DotSettings.user
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005C0Harmony_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CAssembly_002DCSharp_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CBepInEx_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CMainAssembly_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CUnityEngine_002ECoreModule_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CUnityEngine_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005C0Harmony_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005CAssembly_002DCSharp_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005CBepInEx_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005CConfigurationManager_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005CSirenix_002ESerialization_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005CUnityEngine_002ECoreModule_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CAgainstTheStorm_005CAgainstTheStorm_005Clibs_005CUnityEngine_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005C0Harmony_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CAssembly_002DCSharp_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CBepInEx_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CConfigurationManager_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CMainAssembly_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CUnityEngine_002ECoreModule_002Edll/@EntryIndexedValue">True</s:Boolean>
|
||||||
|
<s:Boolean x:Key="/Default/AddReferences/RecentPaths/=C_003A_005CUsers_005CAdministrator_005CSeafile_005CJetbrains_005CRiderProjects_005CBepinex_005CProjects_005CRegiments_005CRegiments_005Clibs_005CUnityEngine_002Edll/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
|
1
Projects/DustlandDelivery/deploy.sh
Normal file
1
Projects/DustlandDelivery/deploy.sh
Normal file
@@ -0,0 +1 @@
|
|||||||
|
cp 'C:/Users/Administrator/RiderProjects/Bepinex/Projects/Regiments/Regiments/obj/Release/Regiments.dll' 'C:/Program Files (x86)/Steam/steamapps/common/Regiments/BepInEx/plugins'
|
BIN
Projects/DustlandDelivery/libs/0Harmony.dll
Normal file
BIN
Projects/DustlandDelivery/libs/0Harmony.dll
Normal file
Binary file not shown.
BIN
Projects/DustlandDelivery/libs/Assembly-CSharp.dll
Normal file
BIN
Projects/DustlandDelivery/libs/Assembly-CSharp.dll
Normal file
Binary file not shown.
BIN
Projects/DustlandDelivery/libs/BepInEx.dll
Normal file
BIN
Projects/DustlandDelivery/libs/BepInEx.dll
Normal file
Binary file not shown.
BIN
Projects/DustlandDelivery/libs/UnityEngine.CoreModule.dll
Normal file
BIN
Projects/DustlandDelivery/libs/UnityEngine.CoreModule.dll
Normal file
Binary file not shown.
BIN
Projects/DustlandDelivery/libs/UnityEngine.dll
Normal file
BIN
Projects/DustlandDelivery/libs/UnityEngine.dll
Normal file
Binary file not shown.
1
Projects/DustlandDelivery/libs/copyLibs.sh
Normal file
1
Projects/DustlandDelivery/libs/copyLibs.sh
Normal file
@@ -0,0 +1 @@
|
|||||||
|
for lib in $(cat libs.txt); do find 'C:\Games\Dustland.Delivery.Early.Access' -name "$lib" | sed 's|\\|/|g' | xargs -I% -- cp '%' .; done
|
11
Projects/DustlandDelivery/libs/libs.txt
Normal file
11
Projects/DustlandDelivery/libs/libs.txt
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
0Harmony.dll
|
||||||
|
Assembly-CSharp.dll
|
||||||
|
BepInEx.dll
|
||||||
|
ConfigurationManager.dll
|
||||||
|
UnityEngine.CoreModule.dll
|
||||||
|
UnityEngine.dll
|
||||||
|
Mafi.Base.dll
|
||||||
|
Mafi.Core.dll
|
||||||
|
Mafi.dll
|
||||||
|
Mafi.Unity.dll
|
||||||
|
Mafi.Security.dll
|
0
Projects/DustlandDelivery/test123
Normal file
0
Projects/DustlandDelivery/test123
Normal file
Reference in New Issue
Block a user