struct IPatchCheck : public INetworkInterface { };
INetworkService.h
virtual bool CheckForUpdate() = 0;
virtual bool GetInstallOnExit() const = 0;
virtual const char* GetPatchFileName() const = 0;
virtual const char* GetPatchName() const = 0;
get display name of new version
virtual const char* GetPatchURL() const = 0;
get the URL of the patch file
virtual bool IsUpdateAvailable() const = 0;
is there an update?
virtual bool IsUpdateCheckPending() const = 0;
is the query still pending?
virtual bool IsUpdateMandatory() const = 0;
is it a required update?
virtual void SetInstallOnExit(bool install) = 0;
trigger install of patch on exit game
virtual void SetPatchFileName(const char* filename) = 0;
store and retrieve the place the patch was downloaded to
virtual void TrackUsage() = 0;