mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2024-12-28 18:25:18 +00:00
18 lines
495 B
C#
18 lines
495 B
C#
using HarmonyLib;
|
|
|
|
namespace QSB.Patches;
|
|
|
|
public abstract class QSBPatch
|
|
{
|
|
public abstract QSBPatchTypes Type { get; }
|
|
|
|
public virtual GameVendor PatchVendor => GameVendor.Epic | GameVendor.Steam | GameVendor.Gamepass;
|
|
|
|
public void DoPatches(Harmony instance) => instance.PatchAll(GetType());
|
|
|
|
/// <summary>
|
|
/// this is true when a message is received remotely (OnReceiveRemote) or a remote player joins/leaves (OnAddPlayer/OnRemovePlayer)
|
|
/// </summary>
|
|
public static bool Remote;
|
|
}
|