Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Commit

Permalink
Updated for AU v2020.11.17 (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
andruzzzhka committed Nov 25, 2020
1 parent 1d311c2 commit 5b047a2
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 13 deletions.
1 change: 1 addition & 0 deletions CustomServersClient/CustomServersClient.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
</Reference>
<Reference Include="Assembly-CSharp">
<HintPath>..\..\..\..\..\..\Program Files (x86)\Steam\steamapps\common\Among Us\BepInEx\unhollowed\Assembly-CSharp.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="BepInEx.Core">
<HintPath>D:\andru\Desktop\Among Us\BepInEx\core\BepInEx.Core.dll</HintPath>
Expand Down
18 changes: 9 additions & 9 deletions CustomServersClient/CustomServersPatches.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
using UnhollowerBaseLib;
using CustomServersClient.UI;

using RegionMenu = MBLPKNNOCML;
using RegionMenuButtonCallback = MBLPKNNOCML.BLFMBBEHPJN;
using RegionInfo = GCFFHMOOGLH;
using ServerInfo = PDMHFECFBEP;
using ServerManager = CDDEBEELDGO;
using ObjectPoolBehavior = MCBLFCIMCDB;
using PassiveButton = ONEEHOKANFC;
using RegionMenu = LEIOFKPCJOO;
using RegionMenuButtonCallback = LEIOFKPCJOO.EOFFDAEHJLL;
using RegionInfo = PGDIOIAMHOH;
using ServerInfo = LGEBLNDHJJM;
using ServerManager = CIEEOAHHGFP;
using ObjectPoolBehavior = JDBECDOFKPJ;
using PassiveButton = ICDBJJCHIHJ;

namespace CustomServersClient
{
Expand Down Expand Up @@ -105,13 +105,13 @@ public static class RegionMenuChooseOptionPatch
{
public static bool Prefix(ref RegionMenuButtonCallback __instance)
{
if (__instance.region.CMADHJOPGHF == "MANAGE_SERVERS")
if (__instance.region.OPGGEMCHMEM == "MANAGE_SERVERS")
{

if(_managementForm == null || _managementForm.IsDisposed)
_managementForm = new ServersManagementForm();

_managementForm.regionMenu = __instance.field_Public_MBLPKNNOCML_0;
_managementForm.regionMenu = __instance.field_Public_LEIOFKPCJOO_0;

if (_managementForm.Visible)
_managementForm.Focus();
Expand Down
2 changes: 1 addition & 1 deletion CustomServersClient/CustomServersPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace CustomServersClient
{
[BepInPlugin("com.andruzzzhka.customserversclient", "Custom Servers Client", "1.2.0.0")]
[BepInPlugin("com.andruzzzhka.customserversclient", "Custom Servers Client", "1.2.1.0")]
public class CustomServersPlugin : BasePlugin
{
public const string userDataPath = "UserData";
Expand Down
4 changes: 2 additions & 2 deletions CustomServersClient/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// 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.2.0.0")]
[assembly: AssemblyFileVersion("1.2.0.0")]
[assembly: AssemblyVersion("1.2.1.0")]
[assembly: AssemblyFileVersion("1.2.1.0")]
2 changes: 1 addition & 1 deletion CustomServersClient/UI/ServersManagementForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.IO;
using System.Windows.Forms;

using RegionMenu = MBLPKNNOCML;
using RegionMenu = LEIOFKPCJOO;

namespace CustomServersClient.UI
{
Expand Down

0 comments on commit 5b047a2

Please sign in to comment.