From 07fcd40a9fe4924ad2781c3fbd2d12affdd67fe6 Mon Sep 17 00:00:00 2001 From: Brian Lima Date: Tue, 12 Jun 2018 17:53:16 -0300 Subject: [PATCH] Work on SteamWorks integration of sorts --- UWPHook/AppEntry.cs | 6 ++++++ UWPHook/GamesWindow.xaml | 1 + UWPHook/GamesWindow.xaml.cs | 5 +++++ UWPHook/Resources/Steamworks.NET.dll | Bin 0 -> 277504 bytes UWPHook/Resources/steam_api64.dll | Bin 0 -> 249120 bytes UWPHook/Resources/steam_appid.txt | 1 + UWPHook/UWPHook.csproj | 9 +++++++++ 7 files changed, 22 insertions(+) create mode 100644 UWPHook/Resources/Steamworks.NET.dll create mode 100644 UWPHook/Resources/steam_api64.dll create mode 100644 UWPHook/Resources/steam_appid.txt diff --git a/UWPHook/AppEntry.cs b/UWPHook/AppEntry.cs index 8f643f3..d3b85a7 100644 --- a/UWPHook/AppEntry.cs +++ b/UWPHook/AppEntry.cs @@ -3,6 +3,7 @@ using System.ComponentModel; using System.Drawing; using System.IO; using System.Runtime.CompilerServices; +using Steamworks; namespace UWPHook { @@ -119,6 +120,11 @@ namespace UWPHook return "Name not found, double click here to edit"; } + public static string getAppId() + { + return SteamUtils.GetAppID().ToString(); + } + public event PropertyChangedEventHandler PropertyChanged; protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null) diff --git a/UWPHook/GamesWindow.xaml b/UWPHook/GamesWindow.xaml index a4d4b83..e015627 100644 --- a/UWPHook/GamesWindow.xaml +++ b/UWPHook/GamesWindow.xaml @@ -41,5 +41,6 @@