2021-10-16 13:12:28 +00:00
|
|
|
|
using HarmonyLib;
|
2021-06-18 20:54:32 +00:00
|
|
|
|
|
2022-03-03 03:46:33 +00:00
|
|
|
|
namespace QSB.Patches;
|
|
|
|
|
|
|
|
|
|
public abstract class QSBPatch
|
2020-11-03 21:11:10 +00:00
|
|
|
|
{
|
2022-03-03 03:46:33 +00:00
|
|
|
|
public abstract QSBPatchTypes Type { get; }
|
2021-06-18 20:54:32 +00:00
|
|
|
|
|
2022-08-07 19:02:45 +00:00
|
|
|
|
public virtual GameVendor PatchVendor => GameVendor.Epic | GameVendor.Steam | GameVendor.Gamepass;
|
2022-07-22 09:50:59 +00:00
|
|
|
|
|
2022-03-03 03:46:33 +00:00
|
|
|
|
public void DoPatches(Harmony instance) => instance.PatchAll(GetType());
|
2022-03-22 17:56:41 +00:00
|
|
|
|
|
2022-08-29 05:14:19 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// this is true when a message is received remotely (OnReceiveRemote) or a player leaves (OnRemovePlayer)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public static bool Remote;
|
2022-03-22 17:56:41 +00:00
|
|
|
|
}
|