• Hello
Search Results for

    Show / Hide Table of Contents

    Class DesktopPackageSourceMonitor

    Monitors the installation source (app store) of the running build on desktop and notifies observers with a DesktopSourceStatus.

    Inheritance
    System.Object
    AMonitor<IDesktopStatus>
    DesktopPackageSourceMonitor
    Implements
    IMonitor<IDesktopStatus>
    Inherited Members
    AMonitor<IDesktopStatus>.IsActive
    AMonitor<IDesktopStatus>.IsStarted
    AMonitor<IDesktopStatus>.IsPaused
    AMonitor<IDesktopStatus>.Start()
    AMonitor<IDesktopStatus>.Pause()
    AMonitor<IDesktopStatus>.OnPause()
    AMonitor<IDesktopStatus>.Resume()
    AMonitor<IDesktopStatus>.OnResume()
    AMonitor<IDesktopStatus>.Stop()
    AMonitor<IDesktopStatus>.OnStop()
    AMonitor<IDesktopStatus>.OnUpdate()
    AMonitor<IDesktopStatus>.OnDestroy()
    AMonitor<IDesktopStatus>.Dispose()
    AMonitor<IDesktopStatus>.ForceReadTimeoutSeconds
    AMonitor<IDesktopStatus>.WaitForForceRead()
    AMonitor<IDesktopStatus>.ForceReadAsync()
    AMonitor<IDesktopStatus>.CompletedRead(IWatchedSubject)
    AMonitor<IDesktopStatus>.Subscribe(IObserver<IDesktopStatus>)
    AMonitor<IDesktopStatus>.Notify(IDesktopStatus)
    Namespace: GUPS.AntiCheat.Monitor.Desktop
    Assembly: cs.temp.dll.dll
    Syntax
    public class DesktopPackageSourceMonitor : AMonitor<IDesktopStatus>
    Remarks

    The lookup is performed once on OnStart() and is only available on Windows, macOS, and Linux players. Steam, the Epic Games Store (official launcher, plus Legendary and the Heroic Games Launcher), and GOG are recognized on all three. The Microsoft Store, including Xbox Game Pass for PC, is recognized on Windows only. The Unity editor never classifies: walking up from the project folder can hit an unrelated library.

    The result is a weak local signal. Unknown is used when no marker matches, more than one store matches, or a check cannot be completed. This monitor does not decide that the install is unauthorized. PackageSourceDetector does that.

    Properties

    Name

    Gets the display name of the monitor.

    Declaration
    public override String Name { get; }
    Property Value
    Type Description
    String
    Overrides
    GUPS.AntiCheat.Monitor.AMonitor<GUPS.AntiCheat.Monitor.Desktop.IDesktopStatus>.Name

    Methods

    ForceRead()

    Classifies the installation source again and returns it. Does not notify observers.

    Declaration
    public override IWatchedSubject ForceRead()
    Returns
    Type Description
    IWatchedSubject

    The installation source.

    Overrides
    GUPS.AntiCheat.Monitor.AMonitor<GUPS.AntiCheat.Monitor.Desktop.IDesktopStatus>.ForceRead()

    OnStart()

    Reads the installation source on start and notifies observers with a DesktopSourceStatus.

    Declaration
    protected override void OnStart()
    Overrides
    GUPS.AntiCheat.Monitor.AMonitor<GUPS.AntiCheat.Monitor.Desktop.IDesktopStatus>.OnStart()

    Implements

    IMonitor<>

    See Also

    PackageSourceDetector
    In This Article
    Back to top GuardingPearSoftware documentation