Пример #1
0
 internal void GetVideoURL(AppId unVideoAppID)
 {
     _GetVideoURL(Self, unVideoAppID);
 }
Пример #2
0
 public static extern int _GetAppBuildId(IntPtr self, AppId nAppID);
Пример #3
0
 /// <summary>
 /// <para> returns the details of the game server</para>
 /// <para> iGame is of range [0,GetFavoriteGameCount())</para>
 /// <para> *pnIP, *pnConnPort are filled in the with IP:port of the game server</para>
 /// <para> *punFlags specify whether the game server was stored as an explicit favorite or in the history of connections</para>
 /// <para> *pRTime32LastPlayedOnServer is filled in the with the Unix time the favorite was added</para>
 /// </summary>
 public static bool GetFavoriteGame(int iGame, out AppId pappId, out uint pnIP, out ushort pnConnPort, out ushort pnQueryPort, out uint punFlags, out uint pRTime32LastPlayedOnServer)
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamMatchmaking_GetFavoriteGame(iGame, out pappId, out pnIP, out pnConnPort, out pnQueryPort, out punFlags, out pRTime32LastPlayedOnServer));
 }
 /// <summary>
 /// Activates the Steam Overlay to the Steam store page for the provided app.
 /// </summary>
 public static void OpenStoreOverlay(AppId id) => Internal.ActivateGameOverlayToStore(id.Value, OverlayToStoreFlag.None);
Пример #5
0
 public static extern int _GetAppName(IntPtr self, AppId nAppID, IntPtr pchName, int cchNameMax);
 private static extern HServerListRequest _RequestLANServerList(IntPtr self, AppId iApp, IntPtr pRequestServersResponse);
 private static extern HServerListRequest _RequestFavoritesServerList(IntPtr self, AppId iApp, [In, Out] ref MatchMakingKeyValuePair[]  ppchFilters, uint nFilters, IntPtr pRequestServersResponse);
 internal void InstallDLC(AppId nAppID)
 {
     _InstallDLC(Self, nAppID);
 }
 internal void UninstallDLC(AppId nAppID)
 {
     _UninstallDLC(Self, nAppID);
 }
Пример #10
0
        internal bool BIsSubscribedApp(AppId appID)
        {
            var returnValue = _BIsSubscribedApp(Self, appID);

            return(returnValue);
        }
Пример #11
0
        internal uint GetEarliestPurchaseUnixTime(AppId nAppID)
        {
            var returnValue = _GetEarliestPurchaseUnixTime(Self, nAppID);

            return(returnValue);
        }
Пример #12
0
 private static extern bool _GetOPFStringForApp(IntPtr self, AppId unVideoAppID, IntPtr pchBuffer, ref int pnBufferSize);
Пример #13
0
 internal void GetOPFSettings(AppId unVideoAppID)
 {
     _GetOPFSettings(Self, unVideoAppID);
 }
Пример #14
0
 private static extern void _GetOPFSettings(IntPtr self, AppId unVideoAppID);
Пример #15
0
        internal UserHasLicenseForAppResult UserHasLicenseForApp(SteamId steamID, AppId appID)
        {
            var returnValue = _UserHasLicenseForApp(Self, steamID, appID);

            return(returnValue);
        }
Пример #16
0
 internal void RequestAppProofOfPurchaseKey(AppId nAppID)
 {
     _RequestAppProofOfPurchaseKey(Self, nAppID);
 }
 private static extern HServerListRequest _RequestInternetServerList(IntPtr self, AppId iApp, IntPtr ppchFilters, uint nFilters, IntPtr pRequestServersResponse);
Пример #18
0
        internal uint GetInstalledDepots(AppId appID, [In, Out] DepotId_t[]  pvecDepots, uint cMaxDepots)
        {
            var returnValue = _GetInstalledDepots(Self, appID, pvecDepots, cMaxDepots);

            return(returnValue);
        }
        internal HServerListRequest RequestLANServerList(AppId iApp, IntPtr pRequestServersResponse)
        {
            var returnValue = _RequestLANServerList(Self, iApp, pRequestServersResponse);

            return(returnValue);
        }
Пример #20
0
        internal bool BIsAppInstalled(AppId appID)
        {
            var returnValue = _BIsAppInstalled(Self, appID);

            return(returnValue);
        }
        internal HServerListRequest RequestFavoritesServerList(AppId iApp, [In, Out] ref MatchMakingKeyValuePair[]  ppchFilters, uint nFilters, IntPtr pRequestServersResponse)
        {
            var returnValue = _RequestFavoritesServerList(Self, iApp, ref ppchFilters, nFilters, pRequestServersResponse);

            return(returnValue);
        }
Пример #22
0
        internal bool GetDlcDownloadProgress(AppId nAppID, ref ulong punBytesDownloaded, ref ulong punBytesTotal)
        {
            var returnValue = _GetDlcDownloadProgress(Self, nAppID, ref punBytesDownloaded, ref punBytesTotal);

            return(returnValue);
        }
Пример #23
0
 internal UserHasLicenseForAppResult UserHasLicenseForApp(SteamId steamID, AppId appID)
 {
     return(_UserHasLicenseForApp(Self, steamID, appID));
 }
 /// <summary>
 ///
 /// </summary>
 public static bool IsAppBlocked(AppId app) => Internal.BIsAppBlocked(app.Value);
Пример #25
0
 public static extern int _GetAppInstallDir(IntPtr self, AppId nAppID, IntPtr pchDirectory, int cchNameMax);
 /// <summary>
 ///
 /// </summary>
 public static bool BIsAppInBlockList(AppId app) => Internal.BIsAppInBlockList(app.Value);
Пример #27
0
        public int GetAppBuildId(AppId nAppID)
        {
            var returnValue = _GetAppBuildId(Self, nAppID);

            return(returnValue);
        }
Пример #28
0
 internal bool InitGameServer(uint unIP, ushort usGamePort, ushort usQueryPort, uint unFlags, AppId nGameAppId, string pchVersionString)
 {
     return(_InitGameServer(Self, unIP, usGamePort, usQueryPort, unFlags, nGameAppId, pchVersionString));
 }
Пример #29
0
 /// <summary>
 /// <para> adds the game server to the local list; updates the time played of the server if it already exists in the list</para>
 /// </summary>
 public static int AddFavoriteGame(AppId appId, uint nIP, ushort nConnPort, ushort nQueryPort, uint unFlags, uint rTime32LastPlayedOnServer)
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamMatchmaking_AddFavoriteGame(appId, nIP, nConnPort, nQueryPort, unFlags, rTime32LastPlayedOnServer));
 }
Пример #30
0
 private static extern void _GetVideoURL(IntPtr self, AppId unVideoAppID);