mirror of
https://github.com/MoltenMods/Unify.git
synced 2026-10-19 17:56:57 +00:00
Merge pull request #17 from MoltenMods/2021-pre
Merge features from pre-release branch
This commit is contained in:
5 files changed
+397
-56
No files matched your search
@@ -1,4 +1,15 @@
|
|||||||
# Unify
|
> **⚠ WARNING**
|
||||||
|
>
|
||||||
|
> Impostor currently doesn't support the 2021.3.31.3s release of the
|
||||||
|
> game, so custom servers will give an outdated error when you try to
|
||||||
|
> connect. The 3.0.0-pre.1 release of Unify doesn't use Reactor, since
|
||||||
|
> Reactor is currently outdated and Unify will not actually work until
|
||||||
|
> Impostor has been updated to support the 2021.3.31.3s release of the
|
||||||
|
> game. A new stable version of Unify will be released once Reactor is
|
||||||
|
> up-to-date, but it should be functional with or without Reactor once
|
||||||
|
> Impostor is up-to-date.
|
||||||
|
|
||||||
|
# Unify
|
||||||
|
|
||||||
An Among Us mod to add extra regions to the regions menu.
|
An Among Us mod to add extra regions to the regions menu.
|
||||||
|
|
||||||
|
|||||||
+118
-14
@@ -1,10 +1,10 @@
|
|||||||
using System.Collections.Generic;
|
using System;
|
||||||
using System.Linq;
|
using System.Collections.Generic;
|
||||||
using BepInEx.Configuration;
|
using BepInEx.Configuration;
|
||||||
using HarmonyLib;
|
using HarmonyLib;
|
||||||
using Hazel.Udp;
|
using UnityEngine;
|
||||||
using Reactor;
|
using UnityEngine.UI;
|
||||||
using Array = System.Array;
|
using Object = UnityEngine.Object;
|
||||||
using String = System.String;
|
using String = System.String;
|
||||||
|
|
||||||
namespace Unify.Patches
|
namespace Unify.Patches
|
||||||
@@ -12,27 +12,35 @@ namespace Unify.Patches
|
|||||||
public static class RegionsPatch
|
public static class RegionsPatch
|
||||||
{
|
{
|
||||||
private static IRegionInfo[] _oldRegions = ServerManager.DefaultRegions;
|
private static IRegionInfo[] _oldRegions = ServerManager.DefaultRegions;
|
||||||
|
|
||||||
private static IRegionInfo[] _newRegions = new IRegionInfo[]
|
private static IRegionInfo[] _newRegions = new IRegionInfo[]
|
||||||
{
|
{
|
||||||
new DnsRegionInfo("192.241.154.115", "skeld.net", StringNames.NoTranslation, "192.241.154.115")
|
new DnsRegionInfo("192.241.154.115", "skeld.net", StringNames.NoTranslation, "192.241.154.115", 22023)
|
||||||
.Cast<IRegionInfo>(),
|
.Cast<IRegionInfo>(),
|
||||||
new DnsRegionInfo("localhost", "localhost", StringNames.NoTranslation, "127.0.0.1")
|
new DnsRegionInfo("localhost", "localhost", StringNames.NoTranslation, "127.0.0.1", 22023)
|
||||||
.Cast<IRegionInfo>(),
|
.Cast<IRegionInfo>(),
|
||||||
new DnsRegionInfo("152.228.160.91", "matux.fr", StringNames.NoTranslation, "152.228.160.91")
|
new DnsRegionInfo("152.228.160.91", "matux.fr", StringNames.NoTranslation, "152.228.160.91", 22023)
|
||||||
.Cast<IRegionInfo>()
|
.Cast<IRegionInfo>()
|
||||||
};
|
};
|
||||||
|
|
||||||
public static List<IRegionInfo> ModRegions = new List<IRegionInfo>();
|
public static List<IRegionInfo> ModRegions = new List<IRegionInfo>();
|
||||||
|
|
||||||
|
public static IRegionInfo DirectRegion;
|
||||||
|
|
||||||
|
private static TextBox directConnect;
|
||||||
|
|
||||||
public static void Patch()
|
public static void Patch()
|
||||||
{
|
{
|
||||||
|
ServerManager serverManager = DestroyableSingleton<ServerManager>.CMJOLNCMAPD;
|
||||||
|
|
||||||
IRegionInfo[] customRegions = UnifyPlugin.MergeRegions(_newRegions, ModRegions.ToArray());
|
IRegionInfo[] customRegions = UnifyPlugin.MergeRegions(_newRegions, ModRegions.ToArray());
|
||||||
customRegions = UnifyPlugin.MergeRegions(customRegions, LoadCustomUserRegions());
|
customRegions = UnifyPlugin.MergeRegions(customRegions, LoadCustomUserRegions());
|
||||||
|
if (DirectRegion != null) customRegions = customRegions.AddToArray(DirectRegion);
|
||||||
IRegionInfo[] patchedRegions = UnifyPlugin.MergeRegions(_oldRegions, customRegions);
|
IRegionInfo[] patchedRegions = UnifyPlugin.MergeRegions(_oldRegions, customRegions);
|
||||||
|
|
||||||
ServerManager.DefaultRegions = patchedRegions;
|
ServerManager.DefaultRegions = patchedRegions;
|
||||||
ServerManager.Instance.AvailableRegions = patchedRegions;
|
serverManager.GDOLGIJJLBL = patchedRegions;
|
||||||
ServerManager.Instance.SaveServers();
|
serverManager.SaveServers();
|
||||||
}
|
}
|
||||||
|
|
||||||
private static IRegionInfo[] LoadCustomUserRegions()
|
private static IRegionInfo[] LoadCustomUserRegions()
|
||||||
@@ -49,7 +57,7 @@ namespace Unify.Patches
|
|||||||
if (String.IsNullOrWhiteSpace(regionIp.Value)) continue;
|
if (String.IsNullOrWhiteSpace(regionIp.Value)) continue;
|
||||||
|
|
||||||
IRegionInfo regionInfo = new DnsRegionInfo(
|
IRegionInfo regionInfo = new DnsRegionInfo(
|
||||||
regionIp.Value, regionName.Value, StringNames.NoTranslation, regionIp.Value)
|
regionIp.Value, regionName.Value, StringNames.NoTranslation, regionIp.Value, 22023)
|
||||||
.Cast<IRegionInfo>();
|
.Cast<IRegionInfo>();
|
||||||
|
|
||||||
customRegions.Add(regionInfo);
|
customRegions.Add(regionInfo);
|
||||||
@@ -57,9 +65,98 @@ namespace Unify.Patches
|
|||||||
|
|
||||||
return customRegions.ToArray();
|
return customRegions.ToArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private static void UpdateRegion()
|
||||||
|
{
|
||||||
|
RegionMenu regionMenu = GameObject.Find("RegionMenu").GetComponent<RegionMenu>();
|
||||||
|
|
||||||
|
bool success = UnifyPlugin.SetDirectRegion(directConnect.text, out IRegionInfo newRegion);
|
||||||
|
|
||||||
|
if (!success)
|
||||||
|
{
|
||||||
|
directConnect.StartCoroutine(HLPCBNMDEHF.FIJHCJMBGFP(directConnect.transform, 0.75f, 0.25f));
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
regionMenu.ChooseOption(newRegion);
|
||||||
|
regionMenu.Close();
|
||||||
|
}
|
||||||
|
|
||||||
|
[HarmonyPatch(typeof(RegionMenu), nameof(RegionMenu.Open))]
|
||||||
|
public static class DirectConnectButtonPatch
|
||||||
|
{
|
||||||
|
public static void Postfix()
|
||||||
|
{
|
||||||
|
JoinGameButton joinGameButton = DestroyableSingleton<JoinGameButton>.CMJOLNCMAPD;
|
||||||
|
RegionMenu regionMenu = DestroyableSingleton<RegionMenu>.CMJOLNCMAPD;
|
||||||
|
|
||||||
|
directConnect = Object.Instantiate(joinGameButton.GameIdText, regionMenu.transform);
|
||||||
|
directConnect.gameObject.SetActive(false);
|
||||||
|
directConnect.IpMode = true;
|
||||||
|
directConnect.characterLimit = 15;
|
||||||
|
directConnect.ClearOnFocus = false;
|
||||||
|
|
||||||
|
directConnect.OnEnter = new Button.ButtonClickedEvent();
|
||||||
|
directConnect.OnEnter.AddListener((Action) UpdateRegion);
|
||||||
|
|
||||||
|
int offset = ((ServerManager.DefaultRegions.Length + 1) / 2) + 1;
|
||||||
|
directConnect.transform.localPosition = new Vector3(0, 2f - (offset / 2f), -100f);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[HarmonyPatch(typeof(RegionMenu), nameof(RegionMenu.Open))]
|
||||||
|
public static class RegionMenuLayoutPatch
|
||||||
|
{
|
||||||
|
public static void Postfix(RegionMenu __instance)
|
||||||
|
{
|
||||||
|
directConnect.gameObject.SetActive(true);
|
||||||
|
|
||||||
|
var regionButtons = __instance.ButtonPool.activeChildren.ToArray();
|
||||||
|
int half = regionButtons.Length / 2;
|
||||||
|
|
||||||
|
for (int x = 0; x < regionButtons.Length; x++)
|
||||||
|
{
|
||||||
|
ServerListButton regionButton = regionButtons[x].Cast<ServerListButton>();
|
||||||
|
|
||||||
|
regionButton.transform.localPosition = new Vector3(1.25f * ((x < half)? -1: 1), 2f - 0.5f * (x - ((x < half)? 0 : half)), 0f);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[HarmonyPatch(typeof(JoinGameButton), nameof(JoinGameButton.OnClick))]
|
||||||
|
public static class DirectConnectEnterButtonPatch
|
||||||
|
{
|
||||||
|
public static bool Prefix(JoinGameButton __instance)
|
||||||
|
{
|
||||||
|
GameObject regionMenuGameObject = GameObject.Find("RegionMenu");
|
||||||
|
if (!regionMenuGameObject) return true;
|
||||||
|
|
||||||
|
UpdateRegion();
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[HarmonyPatch(typeof(RegionMenu), nameof(RegionMenu.Close))]
|
||||||
|
public static class HideDirectConnectPatch
|
||||||
|
{
|
||||||
|
public static void Postfix()
|
||||||
|
{
|
||||||
|
directConnect.gameObject.SetActive(false);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
[HarmonyPatch(typeof(RegionMenu), nameof(RegionMenu.ChooseOption))]
|
||||||
|
public static class HideDirectConnectOnSelectPatch
|
||||||
|
{
|
||||||
|
public static void Postfix()
|
||||||
|
{
|
||||||
|
directConnect.gameObject.SetActive(false);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[HarmonyPatch(typeof(UdpConnection), nameof(UdpConnection.HandleSend))]
|
/*[HarmonyPatch(typeof(UdpConnection), nameof(UdpConnection.HandleSend))]
|
||||||
public static class DisableModdedHandshakePatch
|
public static class DisableModdedHandshakePatch
|
||||||
{
|
{
|
||||||
[HarmonyBefore(new string[] { "gg.reactor.api" })]
|
[HarmonyBefore(new string[] { "gg.reactor.api" })]
|
||||||
@@ -77,5 +174,12 @@ namespace Unify.Patches
|
|||||||
|
|
||||||
PluginSingleton<ReactorPlugin>.Instance.ModdedHandshake.Value = true;
|
PluginSingleton<ReactorPlugin>.Instance.ModdedHandshake.Value = true;
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
|
||||||
|
Change fields to properties
|
||||||
|
Change how custom region is detected
|
||||||
|
|
||||||
|
*/
|
||||||
+49
-14
@@ -1,41 +1,52 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
using BepInEx;
|
using BepInEx;
|
||||||
using BepInEx.Configuration;
|
using BepInEx.Configuration;
|
||||||
using BepInEx.IL2CPP;
|
using BepInEx.IL2CPP;
|
||||||
using HarmonyLib;
|
using HarmonyLib;
|
||||||
using Reactor;
|
|
||||||
using Unify.Patches;
|
using Unify.Patches;
|
||||||
|
|
||||||
namespace Unify
|
namespace Unify
|
||||||
{
|
{
|
||||||
[BepInPlugin(Id, Name, Version)]
|
[BepInPlugin(Id, Name, Version)]
|
||||||
[BepInProcess("Among Us.exe")]
|
[BepInProcess("Among Us.exe")]
|
||||||
[BepInDependency(ReactorPlugin.Id)]
|
|
||||||
[ReactorPluginSide(PluginSide.ClientOnly)]
|
|
||||||
public class UnifyPlugin : BasePlugin
|
public class UnifyPlugin : BasePlugin
|
||||||
{
|
{
|
||||||
public const string Id = "daemon.unify.reactor";
|
public const string Id = "daemon.unify";
|
||||||
private const string Name = "Unify";
|
private const string Name = "Unify";
|
||||||
private const string Version = "2.1.0";
|
private const string Version = "3.0.0-pre.1";
|
||||||
|
|
||||||
public static readonly ConfigFile ConfigFile =
|
|
||||||
new ConfigFile(Path.Combine(Paths.ConfigPath, $"{UnifyPlugin.Id}.cfg"), true);
|
|
||||||
|
|
||||||
public static readonly bool HandshakeDisabled = !PluginSingleton<ReactorPlugin>.Instance.ModdedHandshake.Value;
|
public static ConfigFile ConfigFile;
|
||||||
|
|
||||||
|
// public static readonly bool HandshakeDisabled = !PluginSingleton<ReactorPlugin>.Instance.ModdedHandshake.Value;
|
||||||
|
|
||||||
public static readonly string[] NormalHandshake =
|
/*public static readonly string[] NormalHandshake =
|
||||||
new string[] {"North America", "Europe", "Asia", "skeld.net"};
|
new string[] {"North America", "Europe", "Asia", "skeld.net"};*/
|
||||||
|
|
||||||
public Harmony Harmony { get; } = new Harmony(Id);
|
public Harmony Harmony { get; } = new Harmony(Id);
|
||||||
|
|
||||||
public override void Load()
|
public override void Load()
|
||||||
{
|
{
|
||||||
|
// ===== For compatibility reasons =====
|
||||||
|
string oldConfigPath = Path.Combine(Paths.ConfigPath, "daemon.unify.reactor.cfg");
|
||||||
|
string newConfigPath = Path.Combine(Paths.ConfigPath, $"{UnifyPlugin.Id}.cfg");
|
||||||
|
bool oldConfigExists = File.Exists(oldConfigPath);
|
||||||
|
if (oldConfigExists)
|
||||||
|
{
|
||||||
|
File.Copy(oldConfigPath, newConfigPath, true);
|
||||||
|
File.Delete(oldConfigPath);
|
||||||
|
}
|
||||||
|
|
||||||
|
ConfigFile = new ConfigFile(Path.Combine(Paths.ConfigPath, $"{UnifyPlugin.Id}.cfg"), true);
|
||||||
|
// =====================================
|
||||||
|
|
||||||
RegionsPatch.Patch();
|
RegionsPatch.Patch();
|
||||||
|
|
||||||
Harmony.PatchAll();
|
Harmony.PatchAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static IRegionInfo[] MergeRegions(IRegionInfo[] oldRegions, IRegionInfo[] newRegions)
|
public static IRegionInfo[] MergeRegions(IRegionInfo[] oldRegions, IRegionInfo[] newRegions)
|
||||||
{
|
{
|
||||||
IRegionInfo[] patchedRegions = new IRegionInfo[oldRegions.Length + newRegions.Length];
|
IRegionInfo[] patchedRegions = new IRegionInfo[oldRegions.Length + newRegions.Length];
|
||||||
@@ -45,13 +56,37 @@ namespace Unify
|
|||||||
return patchedRegions;
|
return patchedRegions;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void AddRegion(string name, string ip)
|
public static IRegionInfo AddRegion(string name, string ip)
|
||||||
{
|
{
|
||||||
IRegionInfo newRegion = new DnsRegionInfo(ip, name, StringNames.NoTranslation, ip)
|
if (Uri.CheckHostName(ip) != UriHostNameType.IPv4)
|
||||||
|
return DestroyableSingleton<ServerManager>.CMJOLNCMAPD.KIDDJMGEOKK;
|
||||||
|
|
||||||
|
IRegionInfo existingRegion =
|
||||||
|
ServerManager.DefaultRegions.ToArray().FirstOrDefault(region => region.PingServer == ip);
|
||||||
|
if (existingRegion != null) return existingRegion;
|
||||||
|
|
||||||
|
IRegionInfo newRegion = new DnsRegionInfo(ip, name, StringNames.NoTranslation, ip, 22023)
|
||||||
.Cast<IRegionInfo>();
|
.Cast<IRegionInfo>();
|
||||||
|
|
||||||
RegionsPatch.ModRegions.Add(newRegion);
|
RegionsPatch.ModRegions.Add(newRegion);
|
||||||
RegionsPatch.Patch();
|
RegionsPatch.Patch();
|
||||||
|
|
||||||
|
return newRegion;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static bool SetDirectRegion(string ip, out IRegionInfo newRegion)
|
||||||
|
{
|
||||||
|
newRegion = null;
|
||||||
|
|
||||||
|
if (!Regex.IsMatch(ip, @"^(\d{1,3}\.){3}\d{1,3}$")) return false;
|
||||||
|
|
||||||
|
newRegion = new DnsRegionInfo(ip, ip, StringNames.NoTranslation, ip, 22023)
|
||||||
|
.Cast<IRegionInfo>();
|
||||||
|
|
||||||
|
RegionsPatch.DirectRegion = newRegion;
|
||||||
|
RegionsPatch.Patch();
|
||||||
|
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+218
-27
@@ -1,36 +1,227 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netstandard2.1</TargetFramework>
|
<TargetFramework>netstandard2.1</TargetFramework>
|
||||||
<Version>2.1.0</Version>
|
<Version>3.0.0-pre.1</Version>
|
||||||
<Mappings>NuclearPowered/Mappings:0.2.0</Mappings>
|
|
||||||
|
|
||||||
<Description>Region mod for Reactor</Description>
|
<Description>Region mod</Description>
|
||||||
<Authors>Daemon</Authors>
|
<Authors>Daemon</Authors>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(GamePlatform)' == 'Steam'">
|
|
||||||
<GameVersion>2021.3.5s</GameVersion>
|
|
||||||
<DefineConstants>$(DefineConstants);STEAM</DefineConstants>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(GamePlatform)' == 'Itch'">
|
|
||||||
<GameVersion>2021.11.17i</GameVersion>
|
|
||||||
<DefineConstants>$(DefineConstants);ITCH</DefineConstants>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Deobfuscate Include="$(AmongUs)\BepInEx\plugins\Reactor-$(GameVersion).dll" />
|
<Reference Include="0Harmony, Version=2.4.0.0, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\core\0Harmony.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Apple, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\Apple.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="AppleCore, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\AppleCore.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="AppleMacos, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\AppleMacos.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Assembly-CSharp, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\Assembly-CSharp.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Assembly-CSharp-firstpass, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\Assembly-CSharp-firstpass.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="BepInEx.Core, Version=6.0.0.353, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\core\BepInEx.Core.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="BepInEx.IL2CPP, Version=6.0.0.353, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\core\BepInEx.IL2CPP.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="FacebookStore, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\FacebookStore.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Hazel, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\Hazel.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Il2CppMono.Security, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\Il2CppMono.Security.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Il2Cppmscorlib, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\Il2Cppmscorlib.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Il2CppSystem, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\Il2CppSystem.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Il2CppSystem.Configuration, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\Il2CppSystem.Configuration.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Il2CppSystem.Core, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\Il2CppSystem.Core.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Il2CppSystem.Data, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\Il2CppSystem.Data.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Il2CppSystem.Net.Http, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\Il2CppSystem.Net.Http.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Il2CppSystem.Numerics, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\Il2CppSystem.Numerics.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Il2CppSystem.Runtime.Serialization, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\Il2CppSystem.Runtime.Serialization.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Il2CppSystem.Xml, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\Il2CppSystem.Xml.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Il2CppSystem.Xml.Linq, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\Il2CppSystem.Xml.Linq.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Newtonsoft.Json, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\Newtonsoft.Json.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Purchasing.Common, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\Purchasing.Common.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="QRCoder, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\QRCoder.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Rewired_Core, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\Rewired_Core.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Rewired_Windows, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\Rewired_Windows.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Security, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\Security.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Stores, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\Stores.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnhollowerBaseLib, Version=0.4.13.0, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\core\UnhollowerBaseLib.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Unity.Addressables, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\Unity.Addressables.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Unity.Analytics.DataPrivacy, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\Unity.Analytics.DataPrivacy.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Unity.ResourceManager, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\Unity.ResourceManager.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Unity.TextMeshPro, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\Unity.TextMeshPro.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.AIModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.AIModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.AndroidJNIModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.AndroidJNIModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.AnimationModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.AnimationModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.AssetBundleModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.AssetBundleModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.AudioModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.AudioModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.CoreModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.CoreModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.DirectorModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.DirectorModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.GridModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.GridModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.ImageConversionModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.ImageConversionModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.IMGUIModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.IMGUIModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.InputLegacyModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.InputLegacyModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.InputModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.InputModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.JSONSerializeModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.JSONSerializeModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.ParticleSystemModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.ParticleSystemModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.Physics2DModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.Physics2DModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.PhysicsModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.PhysicsModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.Purchasing, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.Purchasing.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.ScreenCaptureModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.ScreenCaptureModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.SharedInternalsModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.SharedInternalsModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.SpriteMaskModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.SpriteMaskModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.SpriteShapeModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.SpriteShapeModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.SubsystemsModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.SubsystemsModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.TerrainModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.TerrainModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.TextCoreModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.TextCoreModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.TextRenderingModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.TextRenderingModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.TilemapModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.TilemapModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.UI, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.UI.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.UIElementsNativeModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.UIElementsNativeModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.UIModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.UIModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.UnityAnalyticsModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.UnityAnalyticsModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.UnityWebRequestAssetBundleModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.UnityWebRequestAssetBundleModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.UnityWebRequestModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.UnityWebRequestModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.UnityWebRequestWWWModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.UnityWebRequestWWWModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.VFXModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.VFXModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.VideoModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.VideoModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.VRModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.VRModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="UnityEngine.XRModule, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\UnityEngine.XRModule.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="winrt, Version=3.7.1.6, Culture=neutral, PublicKeyToken=null">
|
||||||
|
<HintPath>..\..\..\Program Files\SteamLibrary\steamapps\common\Among Us\BepInEx\unhollowed\winrt.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<PackageReference Include="Reactor.OxygenFilter.MSBuild" Version="0.2.9">
|
|
||||||
<PrivateAssets>all</PrivateAssets>
|
|
||||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
||||||
</PackageReference>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<Target Name="Copy" AfterTargets="Reobfuscate">
|
|
||||||
<Copy SourceFiles="$(OutputPath)reobfuscated/$(AssemblyName)-$(GameVersion).dll" DestinationFolder="$(AmongUs)/BepInEx/plugins/" />
|
|
||||||
<Copy SourceFiles="$(OutputPath)reobfuscated/$(AssemblyName)-$(GameVersion).dll" DestinationFolder="../build/" />
|
|
||||||
</Target>
|
|
||||||
</Project>
|
</Project>
|
||||||
Binary file not shown.
Reference in new issue
Block a user