quantum-space-buddies/QSB/Patches/QSBPatch.cs
2023-08-02 14:02:00 -07:00

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;
}