Skip to content

immcrab/Lasting-Utilla

Ownership not verified 1
Open on GitHub

Viewing main at commit a6a25ac430“Add files via upload”· 11 months ago

40 lines · 1.1 KBRaw on GitHub
// Decompiled with JetBrains decompiler
// Type: Utilla.Plugin
// Assembly: Utilla, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: FDD08D98-E155-49FA-85BC-1930928C3BAA
// Assembly location: C:\Program Files (x86)\Steam\steamapps\common\Gorilla Tag\BepInEx\plugins\Utilla\Utilla.dll

using BepInEx;
using BepInEx.Logging;
using HarmonyLib;
using System;
using UnityEngine;
using Utilla.Behaviours;

#nullable disable
namespace Utilla;

[BepInPlugin("org.legoandmars.gorillatag.utilla", "Utilla", "1.6.22")]
internal class Plugin : BaseUnityPlugin
{
  public static ManualLogSource Logger;

  public Plugin()
  {
    Plugin.Logger = this.Logger;
    Harmony.CreateAndPatchAll(typeof (Plugin).Assembly, "org.legoandmars.gorillatag.utilla");
    Object.DontDestroyOnLoad((Object) this);
  }

  public static void PostInitialized()
  {
    Utilla.Tools.Logging.Message((object) nameof (PostInitialized));
    Object.DontDestroyOnLoad((Object) new GameObject("Utilla 1.6.22", new Type[3]
    {
      typeof (UtillaNetworkController),
      typeof (GamemodeManager),
      typeof (ConductBoardManager)
    }));
  }
}

Code is shown from GitHub as-is. Linking a repository doesn’t prove that a release file on Canopy was built from it.