diff --git a/Plugins/Steamworks.NET/Steam.cs b/Plugins/Steamworks.NET/Steam.cs index 6757b417..4e85a8c4 100644 --- a/Plugins/Steamworks.NET/Steam.cs +++ b/Plugins/Steamworks.NET/Steam.cs @@ -15,14 +15,6 @@ using IntPtr = System.IntPtr; namespace Steamworks { - public static class Version { - public const string SteamworksNETVersion = "15.0.0"; - public const string SteamworksSDKVersion = "1.51"; - public const string SteamAPIDLLVersion = "06.28.18.86"; - public const int SteamAPIDLLSize = 239904; - public const int SteamAPI64DLLSize = 265504; - } - public static class SteamAPI { //----------------------------------------------------------------------------------------------------------------------------------------------------------// // Steam API setup & shutdown diff --git a/Plugins/Steamworks.NET/Version.cs b/Plugins/Steamworks.NET/Version.cs new file mode 100644 index 00000000..2dae9fee --- /dev/null +++ b/Plugins/Steamworks.NET/Version.cs @@ -0,0 +1,24 @@ +// This file is provided under The MIT License as part of Steamworks.NET. +// Copyright (c) 2013-2019 Riley Labrecque +// Please see the included LICENSE.txt for additional information. + +// This file is automatically generated. +// Changes to this file will be reverted when you update Steamworks.NET + +#if !(UNITY_STANDALONE_WIN || UNITY_STANDALONE_LINUX || UNITY_STANDALONE_OSX || STEAMWORKS_WIN || STEAMWORKS_LIN_OSX) +#define DISABLESTEAMWORKS +#endif + +#if !DISABLESTEAMWORKS + +namespace Steamworks { + public static class Version { + public const string SteamworksNETVersion = "15.0.0"; + public const string SteamworksSDKVersion = "1.51"; + public const string SteamAPIDLLVersion = "06.28.18.86"; + public const int SteamAPIDLLSize = 239904; + public const int SteamAPI64DLLSize = 265504; + } +} + +#endif // !DISABLESTEAMWORKS diff --git a/README.md b/README.md index 54005709..225c62b7 100644 --- a/README.md +++ b/README.md @@ -1,31 +1,29 @@ -Steamworks.NET -======= +# Steamworks.NET _Steamworks.NET_ is a C# Wrapper for Valve's Steamworks API, it can be used either with Unity or your C# based Application. _Steamworks.NET_ was designed to be as close as possible to the original C++ API, as such the documentation provided from Valve largely covers usage of _Steamworks.NET_. Niceties and C# Idioms can be easily implemented on top of _Steamworks.NET_. -_Steamworks.NET_ currently fully supports Windows, OSX, and Linux in both 32 and 64bit varieties. Currently building against Steamworks SDK 1.50. +_Steamworks.NET_ currently fully supports Windows, OSX, and Linux in both 32 and 64bit varieties. Currently building against Steamworks SDK 1.51. * Author: [Riley Labrecque](https://github.com/rlabrecque) * License: [MIT](http://www.opensource.org/licenses/mit-license.php) * [Documentation](https://steamworks.github.io/) * [Discussion Thread](http://steamcommunity.com/groups/steamworks/discussions/0/666827974770212954/) * [Reporting Issues](https://github.com/rlabrecque/Steamworks.NET/issues) -* 1-on-1 support is available by donating $100 USD or greater. - * Support can be obtained via [Email](mailto:support@rileylabrecque.com), [Skype](http://rileylabrecque.com/skype), or [Steam](http://steamcommunity.com/id/rlabrecque) - * I can only help with Steamworks.NET specific issues, general API questions should be asked on the [Steamworks discussion board](http://steamcommunity.com/groups/steamworks/discussions). + Note that only Steamworks.NET specific issues should be reported, general API questions/issues should be asked on the [Steamworks discussion board](http://steamcommunity.com/groups/steamworks/discussions). [![Support via Paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YFZZER8VNXKRC) +## Installation -[Installation Instructions](http://steamworks.github.io/installation/) ------ +You can find the installation instructions [here](http://steamworks.github.io/installation/). + +## Samples -Samples ------ Check out these sample projects to get started: + * [Steamworks.NET Example](https://github.com/rlabrecque/Steamworks.NET-Example) * [Steamworks.NET Test](https://github.com/rlabrecque/Steamworks.NET-Test) * [Steamworks.NET ChatClient](https://github.com/rlabrecque/Steamworks.NET-ChatClient) diff --git a/Standalone/Steamworks.NET.Standard.csproj b/Standalone/Steamworks.NET.Standard.csproj index 62244888..fd87f475 100644 --- a/Standalone/Steamworks.NET.Standard.csproj +++ b/Standalone/Steamworks.NET.Standard.csproj @@ -9,7 +9,7 @@ false git - + true Steamworks.NET.Standard.$(Configuration).$(platform) @@ -19,7 +19,7 @@ https://github.com/rlabrecque/Steamworks.NET https://github.com/rlabrecque/Steamworks.NET.git - + @@ -63,8 +63,8 @@ x86 prompt MinimumRecommendedRules.ruleset - - + + bin\x64\Windows\ TRACE;STEAMWORKS_WIN;STEAMWORKS_X64 @@ -132,6 +132,7 @@ + diff --git a/Standalone/Steamworks.NET.csproj b/Standalone/Steamworks.NET.csproj index 5b33aef3..e354809f 100644 --- a/Standalone/Steamworks.NET.csproj +++ b/Standalone/Steamworks.NET.csproj @@ -195,6 +195,9 @@ Steamworks.NET\Steam.cs + + Steamworks.NET\Version.cs + Steamworks.NET\types\MatchmakingTypes\gameserveritem_t.cs @@ -388,7 +391,7 @@ -