immcrab/Lasting-Utilla
Ownership not verified 1
Viewing main at commit a6a25ac430“Add files via upload”· 11 months ago
53 lines · 1.5 KBRaw on GitHub
// Decompiled with JetBrains decompiler
// Type: Utilla.Events
// 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 System;
#nullable disable
namespace Utilla;
public class Events
{
public static Events Instance = new Events();
public static event EventHandler<Events.RoomJoinedArgs> RoomJoined;
public static event EventHandler<Events.RoomJoinedArgs> RoomLeft;
public static event EventHandler GameInitialized;
public virtual void TriggerRoomJoin(Events.RoomJoinedArgs e)
{
EventHandler<Events.RoomJoinedArgs> roomJoined = Events.RoomJoined;
if (roomJoined == null)
return;
roomJoined.SafeInvoke<Events.RoomJoinedArgs>((object) this, e);
}
public virtual void TriggerRoomLeft(Events.RoomJoinedArgs e)
{
EventHandler<Events.RoomJoinedArgs> roomLeft = Events.RoomLeft;
if (roomLeft == null)
return;
roomLeft.SafeInvoke<Events.RoomJoinedArgs>((object) this, e);
}
public virtual void TriggerGameInitialized()
{
EventHandler gameInitialized = Events.GameInitialized;
if (gameInitialized == null)
return;
gameInitialized.SafeInvoke((object) this, EventArgs.Empty);
}
public class RoomJoinedArgs : EventArgs
{
public bool isPrivate { get; set; }
public string Gamemode { get; set; }
}
}
Code is shown from GitHub as-is. Linking a repository doesn’t prove that a release file on Canopy was built from it.