Work on SteamWorks integration of sorts

SteamWorksNet
Brian Lima 6 years ago
parent 59af0a1434
commit 07fcd40a9f

@ -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)

@ -41,5 +41,6 @@
<ProgressBar Visibility="Collapsed" x:Name="progressBar" Margin="10,215,10,174" Grid.Row="1" IsIndeterminate="True" />
<Label Content="Filter AUMIDS:" HorizontalAlignment="Left" Margin="5,16,0,0" Grid.Row="2" VerticalAlignment="Top"/>
<TextBox x:Name="textBox" HorizontalAlignment="Left" Height="25" Margin="104,17,0,0" Grid.Row="2" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="217" TextChanged="textBox_TextChanged"/>
<Button Content="Button" HorizontalAlignment="Left" Margin="403,16.4,0,0" Grid.Row="2" VerticalAlignment="Top" Width="75" Click="Button_Click"/>
</Grid>
</Window>

@ -298,6 +298,11 @@ namespace UWPHook
return (appEntry.Aumid.ToLower().Contains(textBox.Text.ToLower()));
}
private void Button_Click(object sender, RoutedEventArgs e)
{
var a = AppEntry.getAppId();
}
private void HelpButton_Click(object sender, RoutedEventArgs e)
{
SettingsWindow window = new SettingsWindow();

Binary file not shown.

@ -67,6 +67,10 @@
<Reference Include="SharpSteam">
<HintPath>..\..\SharpSteam\SharpSteam\bin\Release\SharpSteam.dll</HintPath>
</Reference>
<Reference Include="Steamworks.NET, Version=11.0.0.0, Culture=neutral, processorArchitecture=AMD64">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\..\Downloads\Steamworks.NET-Standalone_11.0.0\Windows-x86\Steamworks.NET.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
@ -193,6 +197,11 @@
<ItemGroup>
<Resource Include="Resources\square.png" />
</ItemGroup>
<ItemGroup>
<Content Include="Resources\Steamworks.NET.dll" />
<Content Include="Resources\steam_api64.dll" />
<Resource Include="Resources\steam_appid.txt" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.

Loading…
Cancel
Save