├── .gitignore ├── Assets ├── Editor.meta ├── Editor │ ├── Steamworks.NET.meta │ └── Steamworks.NET │ │ ├── RedistCopy.cs │ │ ├── RedistCopy.cs.meta │ │ ├── RedistInstall.cs │ │ └── RedistInstall.cs.meta ├── Plugins.meta ├── Plugins │ ├── CSteamworks.bundle.meta │ ├── CSteamworks.bundle │ │ ├── Contents.meta │ │ └── Contents │ │ │ ├── Info.plist │ │ │ ├── Info.plist.meta │ │ │ ├── MacOS.meta │ │ │ └── MacOS │ │ │ ├── CSteamworks │ │ │ ├── CSteamworks.meta │ │ │ ├── libsteam_api.dylib │ │ │ └── libsteam_api.dylib.meta │ ├── Steamworks.NET.meta │ ├── Steamworks.NET │ │ ├── CallbackDispatcher.cs │ │ ├── CallbackDispatcher.cs.meta │ │ ├── CallbackIdentity.cs │ │ ├── CallbackIdentity.cs.meta │ │ ├── ISteamMatchmakingResponses.cs │ │ ├── ISteamMatchmakingResponses.cs.meta │ │ ├── InteropHelp.cs │ │ ├── InteropHelp.cs.meta │ │ ├── Packsize.cs │ │ ├── Packsize.cs.meta │ │ ├── Steam.cs │ │ ├── Steam.cs.meta │ │ ├── autogen.meta │ │ ├── autogen │ │ │ ├── NativeMethods.cs │ │ │ ├── NativeMethods.cs.meta │ │ │ ├── SteamCallbacks.cs │ │ │ ├── SteamCallbacks.cs.meta │ │ │ ├── SteamConstants.cs │ │ │ ├── SteamConstants.cs.meta │ │ │ ├── SteamEnums.cs │ │ │ ├── SteamEnums.cs.meta │ │ │ ├── SteamStructs.cs │ │ │ ├── SteamStructs.cs.meta │ │ │ ├── isteamapplist.cs │ │ │ ├── isteamapplist.cs.meta │ │ │ ├── isteamapps.cs │ │ │ ├── isteamapps.cs.meta │ │ │ ├── isteamclient.cs │ │ │ ├── isteamclient.cs.meta │ │ │ ├── isteamcontroller.cs │ │ │ ├── isteamcontroller.cs.meta │ │ │ ├── isteamfriends.cs │ │ │ ├── isteamfriends.cs.meta │ │ │ ├── isteamgameserver.cs │ │ │ ├── isteamgameserver.cs.meta │ │ │ ├── isteamgameserverhttp.cs │ │ │ ├── isteamgameserverhttp.cs.meta │ │ │ ├── isteamgameserverinventory.cs │ │ │ ├── isteamgameserverinventory.cs.meta │ │ │ ├── isteamgameservernetworking.cs │ │ │ ├── isteamgameservernetworking.cs.meta │ │ │ ├── isteamgameserverstats.cs │ │ │ ├── isteamgameserverstats.cs.meta │ │ │ ├── isteamgameserverugc.cs │ │ │ ├── isteamgameserverugc.cs.meta │ │ │ ├── isteamgameserverutils.cs │ │ │ ├── isteamgameserverutils.cs.meta │ │ │ ├── isteamhtmlsurface.cs │ │ │ ├── isteamhtmlsurface.cs.meta │ │ │ ├── isteamhttp.cs │ │ │ ├── isteamhttp.cs.meta │ │ │ ├── isteaminventory.cs │ │ │ ├── isteaminventory.cs.meta │ │ │ ├── isteammatchmaking.cs │ │ │ ├── isteammatchmaking.cs.meta │ │ │ ├── isteammusic.cs │ │ │ ├── isteammusic.cs.meta │ │ │ ├── isteammusicremote.cs │ │ │ ├── isteammusicremote.cs.meta │ │ │ ├── isteamnetworking.cs │ │ │ ├── isteamnetworking.cs.meta │ │ │ ├── isteamremotestorage.cs │ │ │ ├── isteamremotestorage.cs.meta │ │ │ ├── isteamscreenshots.cs │ │ │ ├── isteamscreenshots.cs.meta │ │ │ ├── isteamugc.cs │ │ │ ├── isteamugc.cs.meta │ │ │ ├── isteamunifiedmessages.cs │ │ │ ├── isteamunifiedmessages.cs.meta │ │ │ ├── isteamuser.cs │ │ │ ├── isteamuser.cs.meta │ │ │ ├── isteamuserstats.cs │ │ │ ├── isteamuserstats.cs.meta │ │ │ ├── isteamutils.cs │ │ │ ├── isteamutils.cs.meta │ │ │ ├── isteamvideo.cs │ │ │ └── isteamvideo.cs.meta │ │ ├── redist.meta │ │ ├── redist │ │ │ ├── steam_appid.txt │ │ │ └── steam_appid.txt.meta │ │ ├── types.meta │ │ └── types │ │ │ ├── MatchmakingTypes.meta │ │ │ ├── MatchmakingTypes │ │ │ ├── gameserveritem_t.cs │ │ │ ├── gameserveritem_t.cs.meta │ │ │ ├── servernetadr_t.cs │ │ │ └── servernetadr_t.cs.meta │ │ │ ├── SteamClient.meta │ │ │ ├── SteamClient │ │ │ ├── HSteamPipe.cs │ │ │ ├── HSteamPipe.cs.meta │ │ │ ├── HSteamUser.cs │ │ │ ├── HSteamUser.cs.meta │ │ │ ├── SteamAPIWarningMessageHook_t.cs │ │ │ ├── SteamAPIWarningMessageHook_t.cs.meta │ │ │ ├── SteamAPI_CheckCallbackRegistered_t.cs │ │ │ └── SteamAPI_CheckCallbackRegistered_t.cs.meta │ │ │ ├── SteamClientPublic.meta │ │ │ ├── SteamClientPublic │ │ │ ├── CGameID.cs │ │ │ ├── CGameID.cs.meta │ │ │ ├── CSteamID.cs │ │ │ ├── CSteamID.cs.meta │ │ │ ├── HAuthTicket.cs │ │ │ └── HAuthTicket.cs.meta │ │ │ ├── SteamController.meta │ │ │ ├── SteamController │ │ │ ├── ControllerActionSetHandle_t.cs │ │ │ ├── ControllerActionSetHandle_t.cs.meta │ │ │ ├── ControllerAnalogActionHandle_t.cs │ │ │ ├── ControllerAnalogActionHandle_t.cs.meta │ │ │ ├── ControllerDigitalActionHandle_t.cs │ │ │ ├── ControllerDigitalActionHandle_t.cs.meta │ │ │ ├── ControllerHandle_t.cs │ │ │ └── ControllerHandle_t.cs.meta │ │ │ ├── SteamFriends.meta │ │ │ ├── SteamFriends │ │ │ ├── FriendsGroupID_t.cs │ │ │ └── FriendsGroupID_t.cs.meta │ │ │ ├── SteamHTMLSurface.meta │ │ │ ├── SteamHTMLSurface │ │ │ ├── HHTMLBrowser.cs │ │ │ └── HHTMLBrowser.cs.meta │ │ │ ├── SteamHTTP.meta │ │ │ ├── SteamHTTP │ │ │ ├── HTTPCookieContainerHandle.cs │ │ │ ├── HTTPCookieContainerHandle.cs.meta │ │ │ ├── HTTPRequestHandle.cs │ │ │ └── HTTPRequestHandle.cs.meta │ │ │ ├── SteamInventory.meta │ │ │ ├── SteamInventory │ │ │ ├── SteamInventoryResult_t.cs │ │ │ ├── SteamInventoryResult_t.cs.meta │ │ │ ├── SteamItemDef_t.cs │ │ │ ├── SteamItemDef_t.cs.meta │ │ │ ├── SteamItemInstanceID_t.cs │ │ │ └── SteamItemInstanceID_t.cs.meta │ │ │ ├── SteamMatchmaking.meta │ │ │ ├── SteamMatchmaking │ │ │ ├── HServerListRequest.cs │ │ │ ├── HServerListRequest.cs.meta │ │ │ ├── HServerQuery.cs │ │ │ └── HServerQuery.cs.meta │ │ │ ├── SteamNetworking.meta │ │ │ ├── SteamNetworking │ │ │ ├── SNetListenSocket_t.cs │ │ │ ├── SNetListenSocket_t.cs.meta │ │ │ ├── SNetSocket_t.cs │ │ │ └── SNetSocket_t.cs.meta │ │ │ ├── SteamRemoteStorage.meta │ │ │ ├── SteamRemoteStorage │ │ │ ├── PublishedFileId_t.cs │ │ │ ├── PublishedFileId_t.cs.meta │ │ │ ├── PublishedFileUpdateHandle_t.cs │ │ │ ├── PublishedFileUpdateHandle_t.cs.meta │ │ │ ├── UGCFileWriteStreamHandle_t.cs │ │ │ ├── UGCFileWriteStreamHandle_t.cs.meta │ │ │ ├── UGCHandle_t.cs │ │ │ └── UGCHandle_t.cs.meta │ │ │ ├── SteamScreenshots.meta │ │ │ ├── SteamScreenshots │ │ │ ├── ScreenshotHandle.cs │ │ │ └── ScreenshotHandle.cs.meta │ │ │ ├── SteamTypes.meta │ │ │ ├── SteamTypes │ │ │ ├── AccountID_t.cs │ │ │ ├── AccountID_t.cs.meta │ │ │ ├── AppId_t.cs │ │ │ ├── AppId_t.cs.meta │ │ │ ├── DepotId_t.cs │ │ │ ├── DepotId_t.cs.meta │ │ │ ├── ManifestId_t.cs │ │ │ ├── ManifestId_t.cs.meta │ │ │ ├── SteamAPICall_t.cs │ │ │ └── SteamAPICall_t.cs.meta │ │ │ ├── SteamUGC.meta │ │ │ ├── SteamUGC │ │ │ ├── UGCQueryHandle_t.cs │ │ │ ├── UGCQueryHandle_t.cs.meta │ │ │ ├── UGCUpdateHandle_t.cs │ │ │ └── UGCUpdateHandle_t.cs.meta │ │ │ ├── SteamUnifiedMessages.meta │ │ │ ├── SteamUnifiedMessages │ │ │ ├── ClientUnifiedMessageHandle.cs │ │ │ └── ClientUnifiedMessageHandle.cs.meta │ │ │ ├── SteamUserStats.meta │ │ │ └── SteamUserStats │ │ │ ├── SteamLeaderboardEntries_t.cs │ │ │ ├── SteamLeaderboardEntries_t.cs.meta │ │ │ ├── SteamLeaderboard_t.cs │ │ │ └── SteamLeaderboard_t.cs.meta │ ├── x86.meta │ ├── x86 │ │ ├── CSteamworks.dll │ │ ├── CSteamworks.dll.meta │ │ ├── libCSteamworks.so │ │ ├── libCSteamworks.so.meta │ │ ├── libsteam_api.so │ │ ├── libsteam_api.so.meta │ │ ├── steam_api.dll │ │ └── steam_api.dll.meta │ ├── x86_64.meta │ └── x86_64 │ │ ├── CSteamworks.dll │ │ ├── CSteamworks.dll.meta │ │ ├── libCSteamworks.so │ │ ├── libCSteamworks.so.meta │ │ ├── libsteam_api.so │ │ ├── libsteam_api.so.meta │ │ ├── steam_api64.dll │ │ └── steam_api64.dll.meta ├── Scenes.meta ├── Scenes │ ├── scene.unity │ └── scene.unity.meta ├── Scripts.meta └── Scripts │ ├── GameServerTest.cs │ ├── GameServerTest.cs.meta │ ├── Logger.cs │ ├── Logger.cs.meta │ ├── SceneSwitcher.cs │ └── SceneSwitcher.cs.meta ├── LICENSE.txt ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── NavMeshLayers.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset ├── UnityAdsSettings.asset ├── UnityAnalyticsManager.asset └── UnityConnectSettings.asset └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | # Folders 2 | .DS_Store/ 3 | .vs/ 4 | Library/ 5 | obj/ 6 | Temp/ 7 | 8 | # Files 9 | *.csproj 10 | *.sln 11 | *.VC.db 12 | 13 | /steam_appid.txt 14 | -------------------------------------------------------------------------------- /Assets/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 918a343c10d0d0f4a9adc132206c5cf5 3 | folderAsset: yes 4 | timeCreated: 1442799863 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Editor/Steamworks.NET.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3142a253b0a0e94499a874759cc7849a 3 | folderAsset: yes 4 | timeCreated: 1442799863 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Editor/Steamworks.NET/RedistCopy.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Add 'DISABLEREDISTCOPY' to your custom platform defines to disable automatic copying! 6 | #if UNITY_5_3_OR_NEWER 7 | #define DISABLEREDISTCOPY 8 | #endif 9 | 10 | using UnityEngine; 11 | using UnityEditor; 12 | using UnityEditor.Callbacks; 13 | using System.IO; 14 | 15 | public class RedistCopy { 16 | [PostProcessBuild] 17 | public static void OnPostprocessBuild(BuildTarget target, string pathToBuiltProject) { 18 | #if !DISABLEREDISTCOPY 19 | if (target != BuildTarget.StandaloneWindows && target != BuildTarget.StandaloneWindows64 && 20 | target != BuildTarget.StandaloneOSXIntel && target != BuildTarget.StandaloneOSXIntel64 && target != BuildTarget.StandaloneOSXUniversal && 21 | target != BuildTarget.StandaloneLinux && target != BuildTarget.StandaloneLinux64 && target != BuildTarget.StandaloneLinuxUniversal) { 22 | return; 23 | } 24 | 25 | string strProjectName = Path.GetFileNameWithoutExtension(pathToBuiltProject); 26 | 27 | if (target == BuildTarget.StandaloneWindows64) { 28 | CopyFile("steam_api64.dll", "steam_api64.dll", "Assets/Plugins/x86_64", pathToBuiltProject); 29 | } 30 | else if (target == BuildTarget.StandaloneWindows) { 31 | CopyFile("steam_api.dll", "steam_api.dll", "Assets/Plugins/x86", pathToBuiltProject); 32 | } 33 | 34 | string controllerCfg = Path.Combine(Application.dataPath, "controller.vdf"); 35 | if (File.Exists(controllerCfg)) { 36 | string dir = "_Data"; 37 | if (target == BuildTarget.StandaloneOSXIntel || target == BuildTarget.StandaloneOSXIntel64 || target == BuildTarget.StandaloneOSXUniversal) { 38 | dir = ".app/Contents"; 39 | } 40 | 41 | string strFileDest = Path.Combine(Path.Combine(Path.GetDirectoryName(pathToBuiltProject), strProjectName + dir), "controller.vdf"); 42 | 43 | File.Copy(controllerCfg, strFileDest); 44 | File.SetAttributes(strFileDest, File.GetAttributes(strFileDest) & ~FileAttributes.ReadOnly); 45 | 46 | if (!File.Exists(strFileDest)) { 47 | Debug.LogWarning("[Steamworks.NET] Could not copy controller.vdf into the built project. File.Copy() Failed. Place controller.vdf from the Steamworks SDK in the output dir manually."); 48 | } 49 | } 50 | #endif 51 | } 52 | 53 | static void CopyFile(string filename, string outputfilename, string pathToFile, string pathToBuiltProject) { 54 | string strCWD = Directory.GetCurrentDirectory(); 55 | string strSource = Path.Combine(Path.Combine(strCWD, pathToFile), filename); 56 | string strFileDest = Path.Combine(Path.GetDirectoryName(pathToBuiltProject), outputfilename); 57 | 58 | if (!File.Exists(strSource)) { 59 | Debug.LogWarning(string.Format("[Steamworks.NET] Could not copy {0} into the project root. {0} could not be found in '{1}'. Place {0} from the redist into the project root manually.", filename, pathToFile)); 60 | return; 61 | } 62 | 63 | if (File.Exists(strFileDest)) { 64 | if (File.GetLastWriteTime(strSource) == File.GetLastWriteTime(strFileDest)) { 65 | FileInfo fInfo = new FileInfo(strSource); 66 | FileInfo fInfo2 = new FileInfo(strFileDest); 67 | if (fInfo.Length == fInfo2.Length) { 68 | return; 69 | } 70 | } 71 | } 72 | 73 | File.Copy(strSource, strFileDest, true); 74 | File.SetAttributes(strFileDest, File.GetAttributes(strFileDest) & ~FileAttributes.ReadOnly); 75 | 76 | if (!File.Exists(strFileDest)) { 77 | Debug.LogWarning(string.Format("[Steamworks.NET] Could not copy {0} into the built project. File.Copy() Failed. Place {0} from the redist folder into the output dir manually.", filename)); 78 | } 79 | } 80 | } 81 | -------------------------------------------------------------------------------- /Assets/Editor/Steamworks.NET/RedistCopy.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 90a999286556c1e468b3ed8e6e9599e2 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Editor/Steamworks.NET/RedistInstall.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 37ec8dec9ce9ef646b1065857ec4e379 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fa5d39759f3f9ee489ef8cb7f1fb92c7 3 | folderAsset: yes 4 | timeCreated: 1442799863 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/CSteamworks.bundle.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: da726a7ee93556a448c6b23605a4bbce 3 | folderAsset: yes 4 | timeCreated: 1487815866 5 | licenseType: Pro 6 | PluginImporter: 7 | serializedVersion: 1 8 | iconMap: {} 9 | executionOrder: {} 10 | isPreloaded: 0 11 | isOverridable: 0 12 | platformData: 13 | Any: 14 | enabled: 0 15 | settings: {} 16 | Editor: 17 | enabled: 1 18 | settings: 19 | CPU: AnyCPU 20 | DefaultValueInitialized: true 21 | OS: OSX 22 | OSXIntel: 23 | enabled: 1 24 | settings: {} 25 | OSXIntel64: 26 | enabled: 1 27 | settings: {} 28 | OSXUniversal: 29 | enabled: 1 30 | settings: {} 31 | userData: 32 | assetBundleName: 33 | assetBundleVariant: 34 | -------------------------------------------------------------------------------- /Assets/Plugins/CSteamworks.bundle/Contents.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ffa5430a9e438c843861c4cb69ae16f9 3 | folderAsset: yes 4 | timeCreated: 1442799863 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/CSteamworks.bundle/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 11G63 7 | CFBundleDevelopmentRegion 8 | English 9 | CFBundleExecutable 10 | CSteamworks 11 | CFBundleIdentifier 12 | com.rileylabrecque.CSteamworks 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1.30 21 | CSResourcesFileMapped 22 | yes 23 | DTCompiler 24 | 25 | DTPlatformBuild 26 | 4H1503 27 | DTPlatformVersion 28 | GM 29 | DTSDKBuild 30 | 11E52 31 | DTSDKName 32 | macosx10.7 33 | DTXcode 34 | 0463 35 | DTXcodeBuild 36 | 4H1503 37 | 38 | 39 | -------------------------------------------------------------------------------- /Assets/Plugins/CSteamworks.bundle/Contents/Info.plist.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48b80dba36541364aab298b7c93305dd 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/CSteamworks.bundle/Contents/MacOS.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dc3077c0549a8dd44a8c048214aeacbf 3 | folderAsset: yes 4 | timeCreated: 1442799863 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/CSteamworks.bundle/Contents/MacOS/CSteamworks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlabrecque/Steamworks.NET-GameServerTest/f541309f1a2428ad3f759a2b5888a9f42ba17159/Assets/Plugins/CSteamworks.bundle/Contents/MacOS/CSteamworks -------------------------------------------------------------------------------- /Assets/Plugins/CSteamworks.bundle/Contents/MacOS/CSteamworks.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a46ad0f09ff11e84e899d877540f76eb 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/CSteamworks.bundle/Contents/MacOS/libsteam_api.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlabrecque/Steamworks.NET-GameServerTest/f541309f1a2428ad3f759a2b5888a9f42ba17159/Assets/Plugins/CSteamworks.bundle/Contents/MacOS/libsteam_api.dylib -------------------------------------------------------------------------------- /Assets/Plugins/CSteamworks.bundle/Contents/MacOS/libsteam_api.dylib.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 94a23ae3ebe9d4e4893882979bc42ba7 3 | DefaultImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bfa0536eba6a7b74e8522d8c8307af78 3 | folderAsset: yes 4 | timeCreated: 1442799863 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/CallbackDispatcher.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 04a14f6b19a5ebf4680129c861315b10 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/CallbackIdentity.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | using System; 10 | 11 | namespace Steamworks { 12 | class CallbackIdentities { 13 | public static int GetCallbackIdentity(Type callbackStruct) { 14 | #if UNITY_EDITOR || UNITY_STANDALONE || STEAMWORKS_WIN || STEAMWORKS_LIN_OSX 15 | foreach (CallbackIdentityAttribute attribute in callbackStruct.GetCustomAttributes(typeof(CallbackIdentityAttribute), false)) { 16 | return attribute.Identity; 17 | } 18 | #endif 19 | throw new Exception("Callback number not found for struct " + callbackStruct); 20 | } 21 | } 22 | 23 | [AttributeUsage(AttributeTargets.Struct, AllowMultiple = false)] 24 | internal class CallbackIdentityAttribute : System.Attribute { 25 | public int Identity { get; set; } 26 | public CallbackIdentityAttribute(int callbackNum) { 27 | Identity = callbackNum; 28 | } 29 | } 30 | } 31 | 32 | #endif // !DISABLESTEAMWORKS 33 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/CallbackIdentity.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 083986a54ab9e4e498e84a810a760a49 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/ISteamMatchmakingResponses.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f25e8267432f24747a9b199201572644 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/InteropHelp.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | using System; 10 | using System.Runtime.InteropServices; 11 | using System.Text; 12 | 13 | namespace Steamworks { 14 | public class InteropHelp { 15 | public static void TestIfPlatformSupported() { 16 | #if !UNITY_EDITOR && !UNITY_STANDALONE && !STEAMWORKS_WIN && !STEAMWORKS_LIN_OSX 17 | throw new System.InvalidOperationException("Steamworks functions can only be called on platforms that Steam is available on."); 18 | #endif 19 | } 20 | 21 | public static void TestIfAvailableClient() { 22 | TestIfPlatformSupported(); 23 | if (NativeMethods.SteamClient() == System.IntPtr.Zero) { 24 | throw new System.InvalidOperationException("Steamworks is not initialized."); 25 | } 26 | } 27 | 28 | public static void TestIfAvailableGameServer() { 29 | TestIfPlatformSupported(); 30 | if (NativeMethods.SteamGameServerClient() == System.IntPtr.Zero) { 31 | throw new System.InvalidOperationException("Steamworks is not initialized."); 32 | } 33 | } 34 | 35 | // This continues to exist for both 'out string' and strings returned by Steamworks functions. 36 | public static string PtrToStringUTF8(IntPtr nativeUtf8) { 37 | if (nativeUtf8 == IntPtr.Zero) { 38 | return null; 39 | } 40 | 41 | int len = 0; 42 | 43 | while (Marshal.ReadByte(nativeUtf8, len) != 0) { 44 | ++len; 45 | } 46 | 47 | if (len == 0) { 48 | return string.Empty; 49 | } 50 | 51 | byte[] buffer = new byte[len]; 52 | Marshal.Copy(nativeUtf8, buffer, 0, buffer.Length); 53 | return Encoding.UTF8.GetString(buffer); 54 | } 55 | 56 | // This is for 'const char *' arguments which we need to ensure do not get GC'd while Steam is using them. 57 | // We can't use an ICustomMarshaler because Unity crashes when a string between 96 and 127 characters long is defined/initialized at the top of class scope... 58 | #if UNITY_EDITOR || UNITY_STANDALONE || STEAMWORKS_WIN || STEAMWORKS_LIN_OSX 59 | public class UTF8StringHandle : Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid { 60 | public UTF8StringHandle(string str) 61 | : base(true) { 62 | if (str == null) { 63 | SetHandle(IntPtr.Zero); 64 | return; 65 | } 66 | 67 | // +1 for '\0' 68 | byte[] strbuf = new byte[Encoding.UTF8.GetByteCount(str) + 1]; 69 | Encoding.UTF8.GetBytes(str, 0, str.Length, strbuf, 0); 70 | IntPtr buffer = Marshal.AllocHGlobal(strbuf.Length); 71 | Marshal.Copy(strbuf, 0, buffer, strbuf.Length); 72 | 73 | SetHandle(buffer); 74 | } 75 | 76 | protected override bool ReleaseHandle() { 77 | if (!IsInvalid) { 78 | Marshal.FreeHGlobal(handle); 79 | } 80 | return true; 81 | } 82 | } 83 | #else 84 | public class UTF8StringHandle : IDisposable { 85 | public UTF8StringHandle(string str) { } 86 | public void Dispose() {} 87 | } 88 | #endif 89 | 90 | // TODO - Should be IDisposable 91 | // We can't use an ICustomMarshaler because Unity dies when MarshalManagedToNative() gets called with a generic type. 92 | public class SteamParamStringArray { 93 | // The pointer to each AllocHGlobal() string 94 | IntPtr[] m_Strings; 95 | // The pointer to the condensed version of m_Strings 96 | IntPtr m_ptrStrings; 97 | // The pointer to the StructureToPtr version of SteamParamStringArray_t that will get marshaled 98 | IntPtr m_pSteamParamStringArray; 99 | 100 | public SteamParamStringArray(System.Collections.Generic.IList strings) { 101 | if (strings == null) { 102 | m_pSteamParamStringArray = IntPtr.Zero; 103 | return; 104 | } 105 | 106 | m_Strings = new IntPtr[strings.Count]; 107 | for (int i = 0; i < strings.Count; ++i) { 108 | byte[] strbuf = new byte[Encoding.UTF8.GetByteCount(strings[i]) + 1]; 109 | Encoding.UTF8.GetBytes(strings[i], 0, strings[i].Length, strbuf, 0); 110 | m_Strings[i] = Marshal.AllocHGlobal(strbuf.Length); 111 | Marshal.Copy(strbuf, 0, m_Strings[i], strbuf.Length); 112 | } 113 | 114 | m_ptrStrings = Marshal.AllocHGlobal(Marshal.SizeOf(typeof(IntPtr)) * m_Strings.Length); 115 | SteamParamStringArray_t stringArray = new SteamParamStringArray_t() { 116 | m_ppStrings = m_ptrStrings, 117 | m_nNumStrings = m_Strings.Length 118 | }; 119 | Marshal.Copy(m_Strings, 0, stringArray.m_ppStrings, m_Strings.Length); 120 | 121 | m_pSteamParamStringArray = Marshal.AllocHGlobal(Marshal.SizeOf(typeof(SteamParamStringArray_t))); 122 | Marshal.StructureToPtr(stringArray, m_pSteamParamStringArray, false); 123 | } 124 | 125 | ~SteamParamStringArray() { 126 | foreach (IntPtr ptr in m_Strings) { 127 | Marshal.FreeHGlobal(ptr); 128 | } 129 | 130 | if (m_ptrStrings != IntPtr.Zero) { 131 | Marshal.FreeHGlobal(m_ptrStrings); 132 | } 133 | 134 | if (m_pSteamParamStringArray != IntPtr.Zero) { 135 | Marshal.FreeHGlobal(m_pSteamParamStringArray); 136 | } 137 | } 138 | 139 | public static implicit operator IntPtr(SteamParamStringArray that) { 140 | return that.m_pSteamParamStringArray; 141 | } 142 | } 143 | } 144 | 145 | // TODO - Should be IDisposable 146 | // MatchMaking Key-Value Pair Marshaller 147 | public class MMKVPMarshaller { 148 | private IntPtr m_pNativeArray; 149 | private IntPtr m_pArrayEntries; 150 | 151 | public MMKVPMarshaller(MatchMakingKeyValuePair_t[] filters) { 152 | if (filters == null) { 153 | return; 154 | } 155 | 156 | int sizeOfMMKVP = Marshal.SizeOf(typeof(MatchMakingKeyValuePair_t)); 157 | 158 | m_pNativeArray = Marshal.AllocHGlobal(Marshal.SizeOf(typeof(IntPtr)) * filters.Length); 159 | m_pArrayEntries = Marshal.AllocHGlobal(sizeOfMMKVP * filters.Length); 160 | for (int i = 0; i < filters.Length; ++i) { 161 | Marshal.StructureToPtr(filters[i], new IntPtr(m_pArrayEntries.ToInt64() + (i * sizeOfMMKVP)), false); 162 | } 163 | 164 | Marshal.WriteIntPtr(m_pNativeArray, m_pArrayEntries); 165 | } 166 | 167 | ~MMKVPMarshaller() { 168 | if (m_pArrayEntries != IntPtr.Zero) { 169 | Marshal.FreeHGlobal(m_pArrayEntries); 170 | } 171 | if (m_pNativeArray != IntPtr.Zero) { 172 | Marshal.FreeHGlobal(m_pNativeArray); 173 | } 174 | } 175 | 176 | public static implicit operator IntPtr(MMKVPMarshaller that) { 177 | return that.m_pNativeArray; 178 | } 179 | } 180 | 181 | public class DllCheck { 182 | #if DISABLED 183 | [DllImport("kernel32.dll")] 184 | public static extern IntPtr GetModuleHandle(string lpModuleName); 185 | 186 | [DllImport("kernel32.dll", CharSet = CharSet.Auto)] 187 | extern static int GetModuleFileName(IntPtr hModule, StringBuilder strFullPath, int nSize); 188 | #endif 189 | 190 | /// 191 | /// This is an optional runtime check to ensure that the dlls are the correct version. Returns false only if the steam_api.dll is found and it's the wrong size or version number. 192 | /// 193 | public static bool Test() { 194 | #if DISABLED 195 | bool ret = CheckSteamAPIDLL(); 196 | #endif 197 | return true; 198 | } 199 | 200 | #if DISABLED 201 | private static bool CheckSteamAPIDLL() { 202 | string fileName; 203 | int fileBytes; 204 | if (IntPtr.Size == 4) { 205 | fileName = "steam_api.dll"; 206 | fileBytes = Version.SteamAPIDLLSize; 207 | } 208 | else { 209 | fileName = "steam_api64.dll"; 210 | fileBytes = Version.SteamAPI64DLLSize; 211 | } 212 | 213 | IntPtr handle = GetModuleHandle(fileName); 214 | if (handle == IntPtr.Zero) { 215 | return true; 216 | } 217 | 218 | StringBuilder filePath = new StringBuilder(256); 219 | GetModuleFileName(handle, filePath, filePath.Capacity); 220 | string file = filePath.ToString(); 221 | 222 | // If we can not find the file we'll just skip it and let the DllNotFoundException take care of it. 223 | if (System.IO.File.Exists(file)) { 224 | System.IO.FileInfo fInfo = new System.IO.FileInfo(file); 225 | if (fInfo.Length != fileBytes) { 226 | return false; 227 | } 228 | 229 | if (System.Diagnostics.FileVersionInfo.GetVersionInfo(file).FileVersion != Version.SteamAPIDLLVersion) { 230 | return false; 231 | } 232 | } 233 | return true; 234 | } 235 | #endif 236 | } 237 | } 238 | 239 | #endif // !DISABLESTEAMWORKS 240 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/InteropHelp.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 35ab6455cc3f7164f95914ee5cebbe58 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/Packsize.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | // If we're running in the Unity Editor we need the editors platform. 10 | #if UNITY_EDITOR_WIN 11 | #define VALVE_CALLBACK_PACK_LARGE 12 | #elif UNITY_EDITOR_OSX 13 | #define VALVE_CALLBACK_PACK_SMALL 14 | 15 | // Otherwise we want the target platform. 16 | #elif UNITY_STANDALONE_WIN || STEAMWORKS_WIN 17 | #define VALVE_CALLBACK_PACK_LARGE 18 | #elif UNITY_STANDALONE_LINUX || UNITY_STANDALONE_OSX || STEAMWORKS_LIN_OSX 19 | #define VALVE_CALLBACK_PACK_SMALL 20 | 21 | // We do not want to throw a warning when we're building in Unity but for an unsupported platform. So we'll silently let this slip by. 22 | // It would be nice if Unity itself would define 'UNITY' or something like that... 23 | #elif UNITY_3_5 || UNITY_4_0 || UNITY_4_1 || UNITY_4_2 || UNITY_4_3 || UNITY_4_5 || UNITY_4_6 || UNITY_4_7 || UNITY_5 || UNITY_2017 24 | #define VALVE_CALLBACK_PACK_SMALL 25 | 26 | // But we do want to be explicit on the Standalone build for XNA/Monogame. 27 | #else 28 | #define VALVE_CALLBACK_PACK_LARGE 29 | #warning You need to define STEAMWORKS_WIN, or STEAMWORKS_LIN_OSX. Refer to the readme for more details. 30 | #endif 31 | 32 | using System; 33 | using System.Runtime.InteropServices; 34 | 35 | namespace Steamworks { 36 | public static class Packsize { 37 | #if VALVE_CALLBACK_PACK_LARGE 38 | public const int value = 8; 39 | #elif VALVE_CALLBACK_PACK_SMALL 40 | public const int value = 4; 41 | #endif 42 | 43 | public static bool Test() { 44 | int sentinelSize = Marshal.SizeOf(typeof(ValvePackingSentinel_t)); 45 | int subscribedFilesSize = Marshal.SizeOf(typeof(RemoteStorageEnumerateUserSubscribedFilesResult_t)); 46 | #if VALVE_CALLBACK_PACK_LARGE 47 | if (sentinelSize != 32 || subscribedFilesSize != (1 + 1 + 1 + 50 + 100) * 4 + 4) 48 | return false; 49 | #elif VALVE_CALLBACK_PACK_SMALL 50 | if (sentinelSize != 24 || subscribedFilesSize != (1 + 1 + 1 + 50 + 100) * 4) 51 | return false; 52 | #endif 53 | return true; 54 | } 55 | 56 | [StructLayout(LayoutKind.Sequential, Pack = Packsize.value)] 57 | struct ValvePackingSentinel_t { 58 | uint m_u32; 59 | ulong m_u64; 60 | ushort m_u16; 61 | double m_d; 62 | }; 63 | } 64 | } 65 | 66 | #endif // !DISABLESTEAMWORKS 67 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/Packsize.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 24b26fde0e73adb448711d77d2d24814 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/Steam.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9ad8b51ab32b56347874e1c180123916 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: af3513bb4ec31ee46a75603ffb8030ed 3 | folderAsset: yes 4 | timeCreated: 1442799863 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/NativeMethods.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1ecfbea26a0109e49aaba81f9f8150c6 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/SteamCallbacks.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bb0c129f6c80a984f9e57c4e3ba5c0f2 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/SteamConstants.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1af651dd81aa1ed449181e6ac6e14a71 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/SteamEnums.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d358cb24c7839d24eb92f19e5ebe83da 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/SteamStructs.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // This file is automatically generated. 6 | // Changes to this file will be reverted when you update Steamworks.NET 7 | 8 | #if !DISABLESTEAMWORKS 9 | 10 | using System; 11 | using System.Runtime.InteropServices; 12 | 13 | namespace Steamworks { 14 | [StructLayout(LayoutKind.Sequential, Pack = 1)] 15 | public struct ControllerAnalogActionData_t { 16 | // Type of data coming from this action, this will match what got specified in the action set 17 | public EControllerSourceMode eMode; 18 | 19 | // The current state of this action; will be delta updates for mouse actions 20 | public float x, y; 21 | 22 | // Whether or not this action is currently available to be bound in the active action set 23 | public byte bActive; 24 | } 25 | 26 | [StructLayout(LayoutKind.Sequential, Pack = 1)] 27 | public struct ControllerDigitalActionData_t { 28 | // The current state of this action; will be true if currently pressed 29 | public byte bState; 30 | 31 | // Whether or not this action is currently available to be bound in the active action set 32 | public byte bActive; 33 | } 34 | 35 | [StructLayout(LayoutKind.Sequential, Pack = Packsize.value)] 36 | public struct ControllerMotionData_t { 37 | // Sensor-fused absolute rotation; will drift in heading 38 | public float rotQuatX; 39 | public float rotQuatY; 40 | public float rotQuatZ; 41 | public float rotQuatW; 42 | 43 | // Positional acceleration 44 | public float posAccelX; 45 | public float posAccelY; 46 | public float posAccelZ; 47 | 48 | // Angular velocity 49 | public float rotVelX; 50 | public float rotVelY; 51 | public float rotVelZ; 52 | } 53 | 54 | // friend game played information 55 | [StructLayout(LayoutKind.Sequential, Pack = Packsize.value)] 56 | public struct FriendGameInfo_t { 57 | public CGameID m_gameID; 58 | public uint m_unGameIP; 59 | public ushort m_usGamePort; 60 | public ushort m_usQueryPort; 61 | public CSteamID m_steamIDLobby; 62 | } 63 | 64 | //----------------------------------------------------------------------------- 65 | // Purpose: information about user sessions 66 | //----------------------------------------------------------------------------- 67 | public struct FriendSessionStateInfo_t { 68 | public uint m_uiOnlineSessionInstances; 69 | public byte m_uiPublishedToFriendsSessionInstance; 70 | } 71 | 72 | [StructLayout(LayoutKind.Sequential, Pack = Packsize.value)] 73 | public struct SteamItemDetails_t { 74 | public SteamItemInstanceID_t m_itemId; 75 | public SteamItemDef_t m_iDefinition; 76 | public ushort m_unQuantity; 77 | public ushort m_unFlags; // see ESteamItemFlags 78 | } 79 | 80 | // connection state to a specified user, returned by GetP2PSessionState() 81 | // this is under-the-hood info about what's going on with a SendP2PPacket(), shouldn't be needed except for debuggin 82 | [StructLayout(LayoutKind.Sequential, Pack = Packsize.value)] 83 | public struct P2PSessionState_t { 84 | public byte m_bConnectionActive; // true if we've got an active open connection 85 | public byte m_bConnecting; // true if we're currently trying to establish a connection 86 | public byte m_eP2PSessionError; // last error recorded (see enum above) 87 | public byte m_bUsingRelay; // true if it's going through a relay server (TURN) 88 | public int m_nBytesQueuedForSend; 89 | public int m_nPacketsQueuedForSend; 90 | public uint m_nRemoteIP; // potential IP:Port of remote host. Could be TURN server. 91 | public ushort m_nRemotePort; // Only exists for compatibility with older authentication api's 92 | } 93 | 94 | //----------------------------------------------------------------------------- 95 | // Purpose: Structure that contains an array of const char * strings and the number of those strings 96 | //----------------------------------------------------------------------------- 97 | [StructLayout(LayoutKind.Sequential, Pack = Packsize.value)] 98 | public struct SteamParamStringArray_t { 99 | public IntPtr m_ppStrings; 100 | public int m_nNumStrings; 101 | } 102 | 103 | // Details for a single published file/UGC 104 | [StructLayout(LayoutKind.Sequential, Pack = Packsize.value)] 105 | public struct SteamUGCDetails_t { 106 | public PublishedFileId_t m_nPublishedFileId; 107 | public EResult m_eResult; // The result of the operation. 108 | public EWorkshopFileType m_eFileType; // Type of the file 109 | public AppId_t m_nCreatorAppID; // ID of the app that created this file. 110 | public AppId_t m_nConsumerAppID; // ID of the app that will consume this file. 111 | [MarshalAs(UnmanagedType.ByValTStr, SizeConst = Constants.k_cchPublishedDocumentTitleMax)] 112 | public string m_rgchTitle; // title of document 113 | [MarshalAs(UnmanagedType.ByValTStr, SizeConst = Constants.k_cchPublishedDocumentDescriptionMax)] 114 | public string m_rgchDescription; // description of document 115 | public ulong m_ulSteamIDOwner; // Steam ID of the user who created this content. 116 | public uint m_rtimeCreated; // time when the published file was created 117 | public uint m_rtimeUpdated; // time when the published file was last updated 118 | public uint m_rtimeAddedToUserList; // time when the user added the published file to their list (not always applicable) 119 | public ERemoteStoragePublishedFileVisibility m_eVisibility; // visibility 120 | [MarshalAs(UnmanagedType.I1)] 121 | public bool m_bBanned; // whether the file was banned 122 | [MarshalAs(UnmanagedType.I1)] 123 | public bool m_bAcceptedForUse; // developer has specifically flagged this item as accepted in the Workshop 124 | [MarshalAs(UnmanagedType.I1)] 125 | public bool m_bTagsTruncated; // whether the list of tags was too long to be returned in the provided buffer 126 | [MarshalAs(UnmanagedType.ByValTStr, SizeConst = Constants.k_cchTagListMax)] 127 | public string m_rgchTags; // comma separated list of all tags associated with this file 128 | // file/url information 129 | public UGCHandle_t m_hFile; // The handle of the primary file 130 | public UGCHandle_t m_hPreviewFile; // The handle of the preview file 131 | [MarshalAs(UnmanagedType.ByValTStr, SizeConst = Constants.k_cchFilenameMax)] 132 | public string m_pchFileName; // The cloud filename of the primary file 133 | public int m_nFileSize; // Size of the primary file 134 | public int m_nPreviewFileSize; // Size of the preview file 135 | [MarshalAs(UnmanagedType.ByValTStr, SizeConst = Constants.k_cchPublishedFileURLMax)] 136 | public string m_rgchURL; // URL (for a video or a website) 137 | // voting information 138 | public uint m_unVotesUp; // number of votes up 139 | public uint m_unVotesDown; // number of votes down 140 | public float m_flScore; // calculated score 141 | // collection details 142 | public uint m_unNumChildren; 143 | } 144 | 145 | // structure that contains client callback data 146 | // see callbacks documentation for more details 147 | [StructLayout(LayoutKind.Sequential, Pack = Packsize.value)] 148 | public struct CallbackMsg_t { 149 | public int m_hSteamUser; 150 | public int m_iCallback; 151 | public IntPtr m_pubParam; 152 | public int m_cubParam; 153 | } 154 | 155 | // a single entry in a leaderboard, as returned by GetDownloadedLeaderboardEntry() 156 | [StructLayout(LayoutKind.Sequential, Pack = Packsize.value)] 157 | public struct LeaderboardEntry_t { 158 | public CSteamID m_steamIDUser; // user with the entry - use SteamFriends()->GetFriendPersonaName() & SteamFriends()->GetFriendAvatar() to get more info 159 | public int m_nGlobalRank; // [1..N], where N is the number of users with an entry in the leaderboard 160 | public int m_nScore; // score as set in the leaderboard 161 | public int m_cDetails; // number of int32 details available for this entry 162 | public UGCHandle_t m_hUGC; // handle for UGC attached to the entry 163 | } 164 | 165 | /// Store key/value pair used in matchmaking queries. 166 | /// 167 | /// Actually, the name Key/Value is a bit misleading. The "key" is better 168 | /// understood as "filter operation code" and the "value" is the operand to this 169 | /// filter operation. The meaning of the operand depends upon the filter. 170 | [StructLayout(LayoutKind.Sequential)] 171 | public struct MatchMakingKeyValuePair_t { 172 | MatchMakingKeyValuePair_t(string strKey, string strValue) { 173 | m_szKey = strKey; 174 | m_szValue = strValue; 175 | } 176 | [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 256)] 177 | public string m_szKey; 178 | [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 256)] 179 | public string m_szValue; 180 | } 181 | 182 | } 183 | 184 | #endif // !DISABLESTEAMWORKS 185 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/SteamStructs.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 444219f60dc8b8e49ad10abe3c7f0f4e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteamapplist.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // This file is automatically generated. 6 | // Changes to this file will be reverted when you update Steamworks.NET 7 | 8 | #if !DISABLESTEAMWORKS 9 | 10 | using System; 11 | using System.Runtime.InteropServices; 12 | 13 | namespace Steamworks { 14 | public static class SteamAppList { 15 | public static uint GetNumInstalledApps() { 16 | InteropHelp.TestIfAvailableClient(); 17 | return NativeMethods.ISteamAppList_GetNumInstalledApps(); 18 | } 19 | 20 | public static uint GetInstalledApps(AppId_t[] pvecAppID, uint unMaxAppIDs) { 21 | InteropHelp.TestIfAvailableClient(); 22 | return NativeMethods.ISteamAppList_GetInstalledApps(pvecAppID, unMaxAppIDs); 23 | } 24 | 25 | /// 26 | /// returns -1 if no name was found 27 | /// 28 | public static int GetAppName(AppId_t nAppID, out string pchName, int cchNameMax) { 29 | InteropHelp.TestIfAvailableClient(); 30 | IntPtr pchName2 = Marshal.AllocHGlobal(cchNameMax); 31 | int ret = NativeMethods.ISteamAppList_GetAppName(nAppID, pchName2, cchNameMax); 32 | pchName = ret != -1 ? InteropHelp.PtrToStringUTF8(pchName2) : null; 33 | Marshal.FreeHGlobal(pchName2); 34 | return ret; 35 | } 36 | 37 | /// 38 | /// returns -1 if no dir was found 39 | /// 40 | public static int GetAppInstallDir(AppId_t nAppID, out string pchDirectory, int cchNameMax) { 41 | InteropHelp.TestIfAvailableClient(); 42 | IntPtr pchDirectory2 = Marshal.AllocHGlobal(cchNameMax); 43 | int ret = NativeMethods.ISteamAppList_GetAppInstallDir(nAppID, pchDirectory2, cchNameMax); 44 | pchDirectory = ret != -1 ? InteropHelp.PtrToStringUTF8(pchDirectory2) : null; 45 | Marshal.FreeHGlobal(pchDirectory2); 46 | return ret; 47 | } 48 | 49 | /// 50 | /// return the buildid of this app, may change at any time based on backend updates to the game 51 | /// 52 | public static int GetAppBuildId(AppId_t nAppID) { 53 | InteropHelp.TestIfAvailableClient(); 54 | return NativeMethods.ISteamAppList_GetAppBuildId(nAppID); 55 | } 56 | } 57 | } 58 | 59 | #endif // !DISABLESTEAMWORKS 60 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteamapplist.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 58db1b59dabddf8428aecd47afa4b0e7 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteamapps.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // This file is automatically generated. 6 | // Changes to this file will be reverted when you update Steamworks.NET 7 | 8 | #if !DISABLESTEAMWORKS 9 | 10 | using System; 11 | using System.Runtime.InteropServices; 12 | 13 | namespace Steamworks { 14 | public static class SteamApps { 15 | public static bool BIsSubscribed() { 16 | InteropHelp.TestIfAvailableClient(); 17 | return NativeMethods.ISteamApps_BIsSubscribed(); 18 | } 19 | 20 | public static bool BIsLowViolence() { 21 | InteropHelp.TestIfAvailableClient(); 22 | return NativeMethods.ISteamApps_BIsLowViolence(); 23 | } 24 | 25 | public static bool BIsCybercafe() { 26 | InteropHelp.TestIfAvailableClient(); 27 | return NativeMethods.ISteamApps_BIsCybercafe(); 28 | } 29 | 30 | public static bool BIsVACBanned() { 31 | InteropHelp.TestIfAvailableClient(); 32 | return NativeMethods.ISteamApps_BIsVACBanned(); 33 | } 34 | 35 | public static string GetCurrentGameLanguage() { 36 | InteropHelp.TestIfAvailableClient(); 37 | return InteropHelp.PtrToStringUTF8(NativeMethods.ISteamApps_GetCurrentGameLanguage()); 38 | } 39 | 40 | public static string GetAvailableGameLanguages() { 41 | InteropHelp.TestIfAvailableClient(); 42 | return InteropHelp.PtrToStringUTF8(NativeMethods.ISteamApps_GetAvailableGameLanguages()); 43 | } 44 | 45 | /// 46 | /// only use this member if you need to check ownership of another game related to yours, a demo for example 47 | /// 48 | public static bool BIsSubscribedApp(AppId_t appID) { 49 | InteropHelp.TestIfAvailableClient(); 50 | return NativeMethods.ISteamApps_BIsSubscribedApp(appID); 51 | } 52 | 53 | /// 54 | /// Takes AppID of DLC and checks if the user owns the DLC & if the DLC is installed 55 | /// 56 | public static bool BIsDlcInstalled(AppId_t appID) { 57 | InteropHelp.TestIfAvailableClient(); 58 | return NativeMethods.ISteamApps_BIsDlcInstalled(appID); 59 | } 60 | 61 | /// 62 | /// returns the Unix time of the purchase of the app 63 | /// 64 | public static uint GetEarliestPurchaseUnixTime(AppId_t nAppID) { 65 | InteropHelp.TestIfAvailableClient(); 66 | return NativeMethods.ISteamApps_GetEarliestPurchaseUnixTime(nAppID); 67 | } 68 | 69 | /// 70 | /// Checks if the user is subscribed to the current app through a free weekend 71 | /// This function will return false for users who have a retail or other type of license 72 | /// Before using, please ask your Valve technical contact how to package and secure your free weekened 73 | /// 74 | public static bool BIsSubscribedFromFreeWeekend() { 75 | InteropHelp.TestIfAvailableClient(); 76 | return NativeMethods.ISteamApps_BIsSubscribedFromFreeWeekend(); 77 | } 78 | 79 | /// 80 | /// Returns the number of DLC pieces for the running app 81 | /// 82 | public static int GetDLCCount() { 83 | InteropHelp.TestIfAvailableClient(); 84 | return NativeMethods.ISteamApps_GetDLCCount(); 85 | } 86 | 87 | /// 88 | /// Returns metadata for DLC by index, of range [0, GetDLCCount()] 89 | /// 90 | public static bool BGetDLCDataByIndex(int iDLC, out AppId_t pAppID, out bool pbAvailable, out string pchName, int cchNameBufferSize) { 91 | InteropHelp.TestIfAvailableClient(); 92 | IntPtr pchName2 = Marshal.AllocHGlobal(cchNameBufferSize); 93 | bool ret = NativeMethods.ISteamApps_BGetDLCDataByIndex(iDLC, out pAppID, out pbAvailable, pchName2, cchNameBufferSize); 94 | pchName = ret ? InteropHelp.PtrToStringUTF8(pchName2) : null; 95 | Marshal.FreeHGlobal(pchName2); 96 | return ret; 97 | } 98 | 99 | /// 100 | /// Install/Uninstall control for optional DLC 101 | /// 102 | public static void InstallDLC(AppId_t nAppID) { 103 | InteropHelp.TestIfAvailableClient(); 104 | NativeMethods.ISteamApps_InstallDLC(nAppID); 105 | } 106 | 107 | public static void UninstallDLC(AppId_t nAppID) { 108 | InteropHelp.TestIfAvailableClient(); 109 | NativeMethods.ISteamApps_UninstallDLC(nAppID); 110 | } 111 | 112 | /// 113 | /// Request legacy cd-key for yourself or owned DLC. If you are interested in this 114 | /// data then make sure you provide us with a list of valid keys to be distributed 115 | /// to users when they purchase the game, before the game ships. 116 | /// You'll receive an AppProofOfPurchaseKeyResponse_t callback when 117 | /// the key is available (which may be immediately). 118 | /// 119 | public static void RequestAppProofOfPurchaseKey(AppId_t nAppID) { 120 | InteropHelp.TestIfAvailableClient(); 121 | NativeMethods.ISteamApps_RequestAppProofOfPurchaseKey(nAppID); 122 | } 123 | 124 | /// 125 | /// returns current beta branch name, 'public' is the default branch 126 | /// 127 | public static bool GetCurrentBetaName(out string pchName, int cchNameBufferSize) { 128 | InteropHelp.TestIfAvailableClient(); 129 | IntPtr pchName2 = Marshal.AllocHGlobal(cchNameBufferSize); 130 | bool ret = NativeMethods.ISteamApps_GetCurrentBetaName(pchName2, cchNameBufferSize); 131 | pchName = ret ? InteropHelp.PtrToStringUTF8(pchName2) : null; 132 | Marshal.FreeHGlobal(pchName2); 133 | return ret; 134 | } 135 | 136 | /// 137 | /// signal Steam that game files seems corrupt or missing 138 | /// 139 | public static bool MarkContentCorrupt(bool bMissingFilesOnly) { 140 | InteropHelp.TestIfAvailableClient(); 141 | return NativeMethods.ISteamApps_MarkContentCorrupt(bMissingFilesOnly); 142 | } 143 | 144 | /// 145 | /// return installed depots in mount order 146 | /// 147 | public static uint GetInstalledDepots(AppId_t appID, DepotId_t[] pvecDepots, uint cMaxDepots) { 148 | InteropHelp.TestIfAvailableClient(); 149 | return NativeMethods.ISteamApps_GetInstalledDepots(appID, pvecDepots, cMaxDepots); 150 | } 151 | 152 | /// 153 | /// returns current app install folder for AppID, returns folder name length 154 | /// 155 | public static uint GetAppInstallDir(AppId_t appID, out string pchFolder, uint cchFolderBufferSize) { 156 | InteropHelp.TestIfAvailableClient(); 157 | IntPtr pchFolder2 = Marshal.AllocHGlobal((int)cchFolderBufferSize); 158 | uint ret = NativeMethods.ISteamApps_GetAppInstallDir(appID, pchFolder2, cchFolderBufferSize); 159 | pchFolder = ret != 0 ? InteropHelp.PtrToStringUTF8(pchFolder2) : null; 160 | Marshal.FreeHGlobal(pchFolder2); 161 | return ret; 162 | } 163 | 164 | /// 165 | /// returns true if that app is installed (not necessarily owned) 166 | /// 167 | public static bool BIsAppInstalled(AppId_t appID) { 168 | InteropHelp.TestIfAvailableClient(); 169 | return NativeMethods.ISteamApps_BIsAppInstalled(appID); 170 | } 171 | 172 | /// 173 | /// returns the SteamID of the original owner. If different from current user, it's borrowed 174 | /// 175 | public static CSteamID GetAppOwner() { 176 | InteropHelp.TestIfAvailableClient(); 177 | return (CSteamID)NativeMethods.ISteamApps_GetAppOwner(); 178 | } 179 | 180 | /// 181 | /// Returns the associated launch param if the game is run via steam://run/<appid>//?param1=value1;param2=value2;param3=value3 etc. 182 | /// Parameter names starting with the character '@' are reserved for internal use and will always return and empty string. 183 | /// Parameter names starting with an underscore '_' are reserved for steam features -- they can be queried by the game, 184 | /// but it is advised that you not param names beginning with an underscore for your own features. 185 | /// 186 | public static string GetLaunchQueryParam(string pchKey) { 187 | InteropHelp.TestIfAvailableClient(); 188 | using (var pchKey2 = new InteropHelp.UTF8StringHandle(pchKey)) { 189 | return InteropHelp.PtrToStringUTF8(NativeMethods.ISteamApps_GetLaunchQueryParam(pchKey2)); 190 | } 191 | } 192 | 193 | /// 194 | /// get download progress for optional DLC 195 | /// 196 | public static bool GetDlcDownloadProgress(AppId_t nAppID, out ulong punBytesDownloaded, out ulong punBytesTotal) { 197 | InteropHelp.TestIfAvailableClient(); 198 | return NativeMethods.ISteamApps_GetDlcDownloadProgress(nAppID, out punBytesDownloaded, out punBytesTotal); 199 | } 200 | 201 | /// 202 | /// return the buildid of this app, may change at any time based on backend updates to the game 203 | /// 204 | public static int GetAppBuildId() { 205 | InteropHelp.TestIfAvailableClient(); 206 | return NativeMethods.ISteamApps_GetAppBuildId(); 207 | } 208 | 209 | /// 210 | /// Request all proof of purchase keys for the calling appid and asociated DLC. 211 | /// A series of AppProofOfPurchaseKeyResponse_t callbacks will be sent with 212 | /// appropriate appid values, ending with a final callback where the m_nAppId 213 | /// member is k_uAppIdInvalid (zero). 214 | /// 215 | public static void RequestAllProofOfPurchaseKeys() { 216 | InteropHelp.TestIfAvailableClient(); 217 | NativeMethods.ISteamApps_RequestAllProofOfPurchaseKeys(); 218 | } 219 | 220 | public static SteamAPICall_t GetFileDetails(string pszFileName) { 221 | InteropHelp.TestIfAvailableClient(); 222 | using (var pszFileName2 = new InteropHelp.UTF8StringHandle(pszFileName)) { 223 | return (SteamAPICall_t)NativeMethods.ISteamApps_GetFileDetails(pszFileName2); 224 | } 225 | } 226 | } 227 | } 228 | 229 | #endif // !DISABLESTEAMWORKS 230 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteamapps.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eaed8001c02299e44a461eb704bd8f38 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteamclient.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8ebddbe63eefa7f40ab9908dc5a5ace9 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteamcontroller.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d4b5a08be9ef89f409199e1e35d837c2 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteamfriends.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 349575987a7f3244e865e3955075aa0b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteamgameserver.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8527fac438eb30147a9271e9c8cc2bc1 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteamgameserverhttp.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e9bace0ba69272542b30dc78c35b4faf 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteamgameserverinventory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4c31662b8b2fbd94ab47dc00568f6d7a 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteamgameservernetworking.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bde3f17733684b24aa6d22c8310cf66c 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteamgameserverstats.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // This file is automatically generated. 6 | // Changes to this file will be reverted when you update Steamworks.NET 7 | 8 | #if !DISABLESTEAMWORKS 9 | 10 | using System; 11 | using System.Runtime.InteropServices; 12 | 13 | namespace Steamworks { 14 | public static class SteamGameServerStats { 15 | /// 16 | /// downloads stats for the user 17 | /// returns a GSStatsReceived_t callback when completed 18 | /// if the user has no stats, GSStatsReceived_t.m_eResult will be set to k_EResultFail 19 | /// these stats will only be auto-updated for clients playing on the server. For other 20 | /// users you'll need to call RequestUserStats() again to refresh any data 21 | /// 22 | public static SteamAPICall_t RequestUserStats(CSteamID steamIDUser) { 23 | InteropHelp.TestIfAvailableGameServer(); 24 | return (SteamAPICall_t)NativeMethods.ISteamGameServerStats_RequestUserStats(steamIDUser); 25 | } 26 | 27 | /// 28 | /// requests stat information for a user, usable after a successful call to RequestUserStats() 29 | /// 30 | public static bool GetUserStat(CSteamID steamIDUser, string pchName, out int pData) { 31 | InteropHelp.TestIfAvailableGameServer(); 32 | using (var pchName2 = new InteropHelp.UTF8StringHandle(pchName)) { 33 | return NativeMethods.ISteamGameServerStats_GetUserStat(steamIDUser, pchName2, out pData); 34 | } 35 | } 36 | 37 | public static bool GetUserStat(CSteamID steamIDUser, string pchName, out float pData) { 38 | InteropHelp.TestIfAvailableGameServer(); 39 | using (var pchName2 = new InteropHelp.UTF8StringHandle(pchName)) { 40 | return NativeMethods.ISteamGameServerStats_GetUserStat_(steamIDUser, pchName2, out pData); 41 | } 42 | } 43 | 44 | public static bool GetUserAchievement(CSteamID steamIDUser, string pchName, out bool pbAchieved) { 45 | InteropHelp.TestIfAvailableGameServer(); 46 | using (var pchName2 = new InteropHelp.UTF8StringHandle(pchName)) { 47 | return NativeMethods.ISteamGameServerStats_GetUserAchievement(steamIDUser, pchName2, out pbAchieved); 48 | } 49 | } 50 | 51 | /// 52 | /// Set / update stats and achievements. 53 | /// Note: These updates will work only on stats game servers are allowed to edit and only for 54 | /// game servers that have been declared as officially controlled by the game creators. 55 | /// Set the IP range of your official servers on the Steamworks page 56 | /// 57 | public static bool SetUserStat(CSteamID steamIDUser, string pchName, int nData) { 58 | InteropHelp.TestIfAvailableGameServer(); 59 | using (var pchName2 = new InteropHelp.UTF8StringHandle(pchName)) { 60 | return NativeMethods.ISteamGameServerStats_SetUserStat(steamIDUser, pchName2, nData); 61 | } 62 | } 63 | 64 | public static bool SetUserStat(CSteamID steamIDUser, string pchName, float fData) { 65 | InteropHelp.TestIfAvailableGameServer(); 66 | using (var pchName2 = new InteropHelp.UTF8StringHandle(pchName)) { 67 | return NativeMethods.ISteamGameServerStats_SetUserStat_(steamIDUser, pchName2, fData); 68 | } 69 | } 70 | 71 | public static bool UpdateUserAvgRateStat(CSteamID steamIDUser, string pchName, float flCountThisSession, double dSessionLength) { 72 | InteropHelp.TestIfAvailableGameServer(); 73 | using (var pchName2 = new InteropHelp.UTF8StringHandle(pchName)) { 74 | return NativeMethods.ISteamGameServerStats_UpdateUserAvgRateStat(steamIDUser, pchName2, flCountThisSession, dSessionLength); 75 | } 76 | } 77 | 78 | public static bool SetUserAchievement(CSteamID steamIDUser, string pchName) { 79 | InteropHelp.TestIfAvailableGameServer(); 80 | using (var pchName2 = new InteropHelp.UTF8StringHandle(pchName)) { 81 | return NativeMethods.ISteamGameServerStats_SetUserAchievement(steamIDUser, pchName2); 82 | } 83 | } 84 | 85 | public static bool ClearUserAchievement(CSteamID steamIDUser, string pchName) { 86 | InteropHelp.TestIfAvailableGameServer(); 87 | using (var pchName2 = new InteropHelp.UTF8StringHandle(pchName)) { 88 | return NativeMethods.ISteamGameServerStats_ClearUserAchievement(steamIDUser, pchName2); 89 | } 90 | } 91 | 92 | /// 93 | /// Store the current data on the server, will get a GSStatsStored_t callback when set. 94 | /// If the callback has a result of k_EResultInvalidParam, one or more stats 95 | /// uploaded has been rejected, either because they broke constraints 96 | /// or were out of date. In this case the server sends back updated values. 97 | /// The stats should be re-iterated to keep in sync. 98 | /// 99 | public static SteamAPICall_t StoreUserStats(CSteamID steamIDUser) { 100 | InteropHelp.TestIfAvailableGameServer(); 101 | return (SteamAPICall_t)NativeMethods.ISteamGameServerStats_StoreUserStats(steamIDUser); 102 | } 103 | } 104 | } 105 | 106 | #endif // !DISABLESTEAMWORKS 107 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteamgameserverstats.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b47300d53ac5ed349a085479c69e8a90 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteamgameserverugc.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 49327dbee45c3ba448f5f2dde0726ce6 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteamgameserverutils.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 63b481ca9b9c2d641b2d84ae29efaa7e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteamhtmlsurface.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ef270addbf3b47b4a8e5acd1faf47834 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteamhttp.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7b7467d26e754134e9310381e90945e2 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteaminventory.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 421743b9be54f704095ef958c1dc779a 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteammatchmaking.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b817d6e4453cca74db6d07b3c4b118e3 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteammusic.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // This file is automatically generated. 6 | // Changes to this file will be reverted when you update Steamworks.NET 7 | 8 | #if !DISABLESTEAMWORKS 9 | 10 | using System; 11 | using System.Runtime.InteropServices; 12 | 13 | namespace Steamworks { 14 | public static class SteamMusic { 15 | public static bool BIsEnabled() { 16 | InteropHelp.TestIfAvailableClient(); 17 | return NativeMethods.ISteamMusic_BIsEnabled(); 18 | } 19 | 20 | public static bool BIsPlaying() { 21 | InteropHelp.TestIfAvailableClient(); 22 | return NativeMethods.ISteamMusic_BIsPlaying(); 23 | } 24 | 25 | public static AudioPlayback_Status GetPlaybackStatus() { 26 | InteropHelp.TestIfAvailableClient(); 27 | return NativeMethods.ISteamMusic_GetPlaybackStatus(); 28 | } 29 | 30 | public static void Play() { 31 | InteropHelp.TestIfAvailableClient(); 32 | NativeMethods.ISteamMusic_Play(); 33 | } 34 | 35 | public static void Pause() { 36 | InteropHelp.TestIfAvailableClient(); 37 | NativeMethods.ISteamMusic_Pause(); 38 | } 39 | 40 | public static void PlayPrevious() { 41 | InteropHelp.TestIfAvailableClient(); 42 | NativeMethods.ISteamMusic_PlayPrevious(); 43 | } 44 | 45 | public static void PlayNext() { 46 | InteropHelp.TestIfAvailableClient(); 47 | NativeMethods.ISteamMusic_PlayNext(); 48 | } 49 | 50 | /// 51 | /// volume is between 0.0 and 1.0 52 | /// 53 | public static void SetVolume(float flVolume) { 54 | InteropHelp.TestIfAvailableClient(); 55 | NativeMethods.ISteamMusic_SetVolume(flVolume); 56 | } 57 | 58 | public static float GetVolume() { 59 | InteropHelp.TestIfAvailableClient(); 60 | return NativeMethods.ISteamMusic_GetVolume(); 61 | } 62 | } 63 | } 64 | 65 | #endif // !DISABLESTEAMWORKS 66 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteammusic.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ce3a6a597c82f1c4099d8b3aa4622b05 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteammusicremote.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // This file is automatically generated. 6 | // Changes to this file will be reverted when you update Steamworks.NET 7 | 8 | #if !DISABLESTEAMWORKS 9 | 10 | using System; 11 | using System.Runtime.InteropServices; 12 | 13 | namespace Steamworks { 14 | public static class SteamMusicRemote { 15 | /// 16 | /// Service Definition 17 | /// 18 | public static bool RegisterSteamMusicRemote(string pchName) { 19 | InteropHelp.TestIfAvailableClient(); 20 | using (var pchName2 = new InteropHelp.UTF8StringHandle(pchName)) { 21 | return NativeMethods.ISteamMusicRemote_RegisterSteamMusicRemote(pchName2); 22 | } 23 | } 24 | 25 | public static bool DeregisterSteamMusicRemote() { 26 | InteropHelp.TestIfAvailableClient(); 27 | return NativeMethods.ISteamMusicRemote_DeregisterSteamMusicRemote(); 28 | } 29 | 30 | public static bool BIsCurrentMusicRemote() { 31 | InteropHelp.TestIfAvailableClient(); 32 | return NativeMethods.ISteamMusicRemote_BIsCurrentMusicRemote(); 33 | } 34 | 35 | public static bool BActivationSuccess(bool bValue) { 36 | InteropHelp.TestIfAvailableClient(); 37 | return NativeMethods.ISteamMusicRemote_BActivationSuccess(bValue); 38 | } 39 | 40 | public static bool SetDisplayName(string pchDisplayName) { 41 | InteropHelp.TestIfAvailableClient(); 42 | using (var pchDisplayName2 = new InteropHelp.UTF8StringHandle(pchDisplayName)) { 43 | return NativeMethods.ISteamMusicRemote_SetDisplayName(pchDisplayName2); 44 | } 45 | } 46 | 47 | public static bool SetPNGIcon_64x64(byte[] pvBuffer, uint cbBufferLength) { 48 | InteropHelp.TestIfAvailableClient(); 49 | return NativeMethods.ISteamMusicRemote_SetPNGIcon_64x64(pvBuffer, cbBufferLength); 50 | } 51 | 52 | /// 53 | /// Abilities for the user interface 54 | /// 55 | public static bool EnablePlayPrevious(bool bValue) { 56 | InteropHelp.TestIfAvailableClient(); 57 | return NativeMethods.ISteamMusicRemote_EnablePlayPrevious(bValue); 58 | } 59 | 60 | public static bool EnablePlayNext(bool bValue) { 61 | InteropHelp.TestIfAvailableClient(); 62 | return NativeMethods.ISteamMusicRemote_EnablePlayNext(bValue); 63 | } 64 | 65 | public static bool EnableShuffled(bool bValue) { 66 | InteropHelp.TestIfAvailableClient(); 67 | return NativeMethods.ISteamMusicRemote_EnableShuffled(bValue); 68 | } 69 | 70 | public static bool EnableLooped(bool bValue) { 71 | InteropHelp.TestIfAvailableClient(); 72 | return NativeMethods.ISteamMusicRemote_EnableLooped(bValue); 73 | } 74 | 75 | public static bool EnableQueue(bool bValue) { 76 | InteropHelp.TestIfAvailableClient(); 77 | return NativeMethods.ISteamMusicRemote_EnableQueue(bValue); 78 | } 79 | 80 | public static bool EnablePlaylists(bool bValue) { 81 | InteropHelp.TestIfAvailableClient(); 82 | return NativeMethods.ISteamMusicRemote_EnablePlaylists(bValue); 83 | } 84 | 85 | /// 86 | /// Status 87 | /// 88 | public static bool UpdatePlaybackStatus(AudioPlayback_Status nStatus) { 89 | InteropHelp.TestIfAvailableClient(); 90 | return NativeMethods.ISteamMusicRemote_UpdatePlaybackStatus(nStatus); 91 | } 92 | 93 | public static bool UpdateShuffled(bool bValue) { 94 | InteropHelp.TestIfAvailableClient(); 95 | return NativeMethods.ISteamMusicRemote_UpdateShuffled(bValue); 96 | } 97 | 98 | public static bool UpdateLooped(bool bValue) { 99 | InteropHelp.TestIfAvailableClient(); 100 | return NativeMethods.ISteamMusicRemote_UpdateLooped(bValue); 101 | } 102 | 103 | /// 104 | /// volume is between 0.0 and 1.0 105 | /// 106 | public static bool UpdateVolume(float flValue) { 107 | InteropHelp.TestIfAvailableClient(); 108 | return NativeMethods.ISteamMusicRemote_UpdateVolume(flValue); 109 | } 110 | 111 | /// 112 | /// Current Entry 113 | /// 114 | public static bool CurrentEntryWillChange() { 115 | InteropHelp.TestIfAvailableClient(); 116 | return NativeMethods.ISteamMusicRemote_CurrentEntryWillChange(); 117 | } 118 | 119 | public static bool CurrentEntryIsAvailable(bool bAvailable) { 120 | InteropHelp.TestIfAvailableClient(); 121 | return NativeMethods.ISteamMusicRemote_CurrentEntryIsAvailable(bAvailable); 122 | } 123 | 124 | public static bool UpdateCurrentEntryText(string pchText) { 125 | InteropHelp.TestIfAvailableClient(); 126 | using (var pchText2 = new InteropHelp.UTF8StringHandle(pchText)) { 127 | return NativeMethods.ISteamMusicRemote_UpdateCurrentEntryText(pchText2); 128 | } 129 | } 130 | 131 | public static bool UpdateCurrentEntryElapsedSeconds(int nValue) { 132 | InteropHelp.TestIfAvailableClient(); 133 | return NativeMethods.ISteamMusicRemote_UpdateCurrentEntryElapsedSeconds(nValue); 134 | } 135 | 136 | public static bool UpdateCurrentEntryCoverArt(byte[] pvBuffer, uint cbBufferLength) { 137 | InteropHelp.TestIfAvailableClient(); 138 | return NativeMethods.ISteamMusicRemote_UpdateCurrentEntryCoverArt(pvBuffer, cbBufferLength); 139 | } 140 | 141 | public static bool CurrentEntryDidChange() { 142 | InteropHelp.TestIfAvailableClient(); 143 | return NativeMethods.ISteamMusicRemote_CurrentEntryDidChange(); 144 | } 145 | 146 | /// 147 | /// Queue 148 | /// 149 | public static bool QueueWillChange() { 150 | InteropHelp.TestIfAvailableClient(); 151 | return NativeMethods.ISteamMusicRemote_QueueWillChange(); 152 | } 153 | 154 | public static bool ResetQueueEntries() { 155 | InteropHelp.TestIfAvailableClient(); 156 | return NativeMethods.ISteamMusicRemote_ResetQueueEntries(); 157 | } 158 | 159 | public static bool SetQueueEntry(int nID, int nPosition, string pchEntryText) { 160 | InteropHelp.TestIfAvailableClient(); 161 | using (var pchEntryText2 = new InteropHelp.UTF8StringHandle(pchEntryText)) { 162 | return NativeMethods.ISteamMusicRemote_SetQueueEntry(nID, nPosition, pchEntryText2); 163 | } 164 | } 165 | 166 | public static bool SetCurrentQueueEntry(int nID) { 167 | InteropHelp.TestIfAvailableClient(); 168 | return NativeMethods.ISteamMusicRemote_SetCurrentQueueEntry(nID); 169 | } 170 | 171 | public static bool QueueDidChange() { 172 | InteropHelp.TestIfAvailableClient(); 173 | return NativeMethods.ISteamMusicRemote_QueueDidChange(); 174 | } 175 | 176 | /// 177 | /// Playlist 178 | /// 179 | public static bool PlaylistWillChange() { 180 | InteropHelp.TestIfAvailableClient(); 181 | return NativeMethods.ISteamMusicRemote_PlaylistWillChange(); 182 | } 183 | 184 | public static bool ResetPlaylistEntries() { 185 | InteropHelp.TestIfAvailableClient(); 186 | return NativeMethods.ISteamMusicRemote_ResetPlaylistEntries(); 187 | } 188 | 189 | public static bool SetPlaylistEntry(int nID, int nPosition, string pchEntryText) { 190 | InteropHelp.TestIfAvailableClient(); 191 | using (var pchEntryText2 = new InteropHelp.UTF8StringHandle(pchEntryText)) { 192 | return NativeMethods.ISteamMusicRemote_SetPlaylistEntry(nID, nPosition, pchEntryText2); 193 | } 194 | } 195 | 196 | public static bool SetCurrentPlaylistEntry(int nID) { 197 | InteropHelp.TestIfAvailableClient(); 198 | return NativeMethods.ISteamMusicRemote_SetCurrentPlaylistEntry(nID); 199 | } 200 | 201 | public static bool PlaylistDidChange() { 202 | InteropHelp.TestIfAvailableClient(); 203 | return NativeMethods.ISteamMusicRemote_PlaylistDidChange(); 204 | } 205 | } 206 | } 207 | 208 | #endif // !DISABLESTEAMWORKS 209 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteammusicremote.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a1d909ba5ab1f254cb602b4ec60d75e0 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteamnetworking.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8b88722ad0c891f4291b5ce2d74cc811 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteamremotestorage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3d44e849fdf45f546b4daf89fc81a172 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteamscreenshots.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // This file is automatically generated. 6 | // Changes to this file will be reverted when you update Steamworks.NET 7 | 8 | #if !DISABLESTEAMWORKS 9 | 10 | using System; 11 | using System.Runtime.InteropServices; 12 | 13 | namespace Steamworks { 14 | public static class SteamScreenshots { 15 | /// 16 | /// Writes a screenshot to the user's screenshot library given the raw image data, which must be in RGB format. 17 | /// The return value is a handle that is valid for the duration of the game process and can be used to apply tags. 18 | /// 19 | public static ScreenshotHandle WriteScreenshot(byte[] pubRGB, uint cubRGB, int nWidth, int nHeight) { 20 | InteropHelp.TestIfAvailableClient(); 21 | return (ScreenshotHandle)NativeMethods.ISteamScreenshots_WriteScreenshot(pubRGB, cubRGB, nWidth, nHeight); 22 | } 23 | 24 | /// 25 | /// Adds a screenshot to the user's screenshot library from disk. If a thumbnail is provided, it must be 200 pixels wide and the same aspect ratio 26 | /// as the screenshot, otherwise a thumbnail will be generated if the user uploads the screenshot. The screenshots must be in either JPEG or TGA format. 27 | /// The return value is a handle that is valid for the duration of the game process and can be used to apply tags. 28 | /// JPEG, TGA, and PNG formats are supported. 29 | /// 30 | public static ScreenshotHandle AddScreenshotToLibrary(string pchFilename, string pchThumbnailFilename, int nWidth, int nHeight) { 31 | InteropHelp.TestIfAvailableClient(); 32 | using (var pchFilename2 = new InteropHelp.UTF8StringHandle(pchFilename)) 33 | using (var pchThumbnailFilename2 = new InteropHelp.UTF8StringHandle(pchThumbnailFilename)) { 34 | return (ScreenshotHandle)NativeMethods.ISteamScreenshots_AddScreenshotToLibrary(pchFilename2, pchThumbnailFilename2, nWidth, nHeight); 35 | } 36 | } 37 | 38 | /// 39 | /// Causes the Steam overlay to take a screenshot. If screenshots are being hooked by the game then a ScreenshotRequested_t callback is sent back to the game instead. 40 | /// 41 | public static void TriggerScreenshot() { 42 | InteropHelp.TestIfAvailableClient(); 43 | NativeMethods.ISteamScreenshots_TriggerScreenshot(); 44 | } 45 | 46 | /// 47 | /// Toggles whether the overlay handles screenshots when the user presses the screenshot hotkey, or the game handles them. If the game is hooking screenshots, 48 | /// then the ScreenshotRequested_t callback will be sent if the user presses the hotkey, and the game is expected to call WriteScreenshot or AddScreenshotToLibrary 49 | /// in response. 50 | /// 51 | public static void HookScreenshots(bool bHook) { 52 | InteropHelp.TestIfAvailableClient(); 53 | NativeMethods.ISteamScreenshots_HookScreenshots(bHook); 54 | } 55 | 56 | /// 57 | /// Sets metadata about a screenshot's location (for example, the name of the map) 58 | /// 59 | public static bool SetLocation(ScreenshotHandle hScreenshot, string pchLocation) { 60 | InteropHelp.TestIfAvailableClient(); 61 | using (var pchLocation2 = new InteropHelp.UTF8StringHandle(pchLocation)) { 62 | return NativeMethods.ISteamScreenshots_SetLocation(hScreenshot, pchLocation2); 63 | } 64 | } 65 | 66 | /// 67 | /// Tags a user as being visible in the screenshot 68 | /// 69 | public static bool TagUser(ScreenshotHandle hScreenshot, CSteamID steamID) { 70 | InteropHelp.TestIfAvailableClient(); 71 | return NativeMethods.ISteamScreenshots_TagUser(hScreenshot, steamID); 72 | } 73 | 74 | /// 75 | /// Tags a published file as being visible in the screenshot 76 | /// 77 | public static bool TagPublishedFile(ScreenshotHandle hScreenshot, PublishedFileId_t unPublishedFileID) { 78 | InteropHelp.TestIfAvailableClient(); 79 | return NativeMethods.ISteamScreenshots_TagPublishedFile(hScreenshot, unPublishedFileID); 80 | } 81 | 82 | /// 83 | /// Returns true if the app has hooked the screenshot 84 | /// 85 | public static bool IsScreenshotsHooked() { 86 | InteropHelp.TestIfAvailableClient(); 87 | return NativeMethods.ISteamScreenshots_IsScreenshotsHooked(); 88 | } 89 | 90 | /// 91 | /// Adds a VR screenshot to the user's screenshot library from disk in the supported type. 92 | /// pchFilename should be the normal 2D image used in the library view 93 | /// pchVRFilename should contain the image that matches the correct type 94 | /// The return value is a handle that is valid for the duration of the game process and can be used to apply tags. 95 | /// JPEG, TGA, and PNG formats are supported. 96 | /// 97 | public static ScreenshotHandle AddVRScreenshotToLibrary(EVRScreenshotType eType, string pchFilename, string pchVRFilename) { 98 | InteropHelp.TestIfAvailableClient(); 99 | using (var pchFilename2 = new InteropHelp.UTF8StringHandle(pchFilename)) 100 | using (var pchVRFilename2 = new InteropHelp.UTF8StringHandle(pchVRFilename)) { 101 | return (ScreenshotHandle)NativeMethods.ISteamScreenshots_AddVRScreenshotToLibrary(eType, pchFilename2, pchVRFilename2); 102 | } 103 | } 104 | } 105 | } 106 | 107 | #endif // !DISABLESTEAMWORKS 108 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteamscreenshots.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2096b22b27414334cb11cb2d9057840b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteamugc.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 272f656ebe9675844abd06a8dd90f938 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteamunifiedmessages.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // This file is automatically generated. 6 | // Changes to this file will be reverted when you update Steamworks.NET 7 | 8 | #if !DISABLESTEAMWORKS 9 | 10 | using System; 11 | using System.Runtime.InteropServices; 12 | 13 | namespace Steamworks { 14 | public static class SteamUnifiedMessages { 15 | /// 16 | /// Sends a service method (in binary serialized form) using the Steam Client. 17 | /// Returns a unified message handle (k_InvalidUnifiedMessageHandle if could not send the message). 18 | /// 19 | public static ClientUnifiedMessageHandle SendMethod(string pchServiceMethod, byte[] pRequestBuffer, uint unRequestBufferSize, ulong unContext) { 20 | InteropHelp.TestIfAvailableClient(); 21 | using (var pchServiceMethod2 = new InteropHelp.UTF8StringHandle(pchServiceMethod)) { 22 | return (ClientUnifiedMessageHandle)NativeMethods.ISteamUnifiedMessages_SendMethod(pchServiceMethod2, pRequestBuffer, unRequestBufferSize, unContext); 23 | } 24 | } 25 | 26 | /// 27 | /// Gets the size of the response and the EResult. Returns false if the response is not ready yet. 28 | /// 29 | public static bool GetMethodResponseInfo(ClientUnifiedMessageHandle hHandle, out uint punResponseSize, out EResult peResult) { 30 | InteropHelp.TestIfAvailableClient(); 31 | return NativeMethods.ISteamUnifiedMessages_GetMethodResponseInfo(hHandle, out punResponseSize, out peResult); 32 | } 33 | 34 | /// 35 | /// Gets a response in binary serialized form (and optionally release the corresponding allocated memory). 36 | /// 37 | public static bool GetMethodResponseData(ClientUnifiedMessageHandle hHandle, byte[] pResponseBuffer, uint unResponseBufferSize, bool bAutoRelease) { 38 | InteropHelp.TestIfAvailableClient(); 39 | return NativeMethods.ISteamUnifiedMessages_GetMethodResponseData(hHandle, pResponseBuffer, unResponseBufferSize, bAutoRelease); 40 | } 41 | 42 | /// 43 | /// Releases the message and its corresponding allocated memory. 44 | /// 45 | public static bool ReleaseMethod(ClientUnifiedMessageHandle hHandle) { 46 | InteropHelp.TestIfAvailableClient(); 47 | return NativeMethods.ISteamUnifiedMessages_ReleaseMethod(hHandle); 48 | } 49 | 50 | /// 51 | /// Sends a service notification (in binary serialized form) using the Steam Client. 52 | /// Returns true if the notification was sent successfully. 53 | /// 54 | public static bool SendNotification(string pchServiceNotification, byte[] pNotificationBuffer, uint unNotificationBufferSize) { 55 | InteropHelp.TestIfAvailableClient(); 56 | using (var pchServiceNotification2 = new InteropHelp.UTF8StringHandle(pchServiceNotification)) { 57 | return NativeMethods.ISteamUnifiedMessages_SendNotification(pchServiceNotification2, pNotificationBuffer, unNotificationBufferSize); 58 | } 59 | } 60 | } 61 | } 62 | 63 | #endif // !DISABLESTEAMWORKS 64 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteamunifiedmessages.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2a23edbf92120a54db7e072a70d1ef60 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteamuser.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9ded3e4249f78914d8454f4b29f11af4 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteamuserstats.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 13e9787c38dee4842844ccfdf9a078d3 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteamutils.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 002e0b83e3eab1f4dbdfad840de78ab7 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteamvideo.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // This file is automatically generated. 6 | // Changes to this file will be reverted when you update Steamworks.NET 7 | 8 | #if !DISABLESTEAMWORKS 9 | 10 | using System; 11 | using System.Runtime.InteropServices; 12 | 13 | namespace Steamworks { 14 | public static class SteamVideo { 15 | /// 16 | /// Get a URL suitable for streaming the given Video app ID's video 17 | /// 18 | public static void GetVideoURL(AppId_t unVideoAppID) { 19 | InteropHelp.TestIfAvailableClient(); 20 | NativeMethods.ISteamVideo_GetVideoURL(unVideoAppID); 21 | } 22 | 23 | /// 24 | /// returns true if user is uploading a live broadcast 25 | /// 26 | public static bool IsBroadcasting(out int pnNumViewers) { 27 | InteropHelp.TestIfAvailableClient(); 28 | return NativeMethods.ISteamVideo_IsBroadcasting(out pnNumViewers); 29 | } 30 | 31 | /// 32 | /// Get the OPF Details for 360 Video Playback 33 | /// 34 | public static void GetOPFSettings(AppId_t unVideoAppID) { 35 | InteropHelp.TestIfAvailableClient(); 36 | NativeMethods.ISteamVideo_GetOPFSettings(unVideoAppID); 37 | } 38 | 39 | public static bool GetOPFStringForApp(AppId_t unVideoAppID, out string pchBuffer, ref int pnBufferSize) { 40 | InteropHelp.TestIfAvailableClient(); 41 | IntPtr pchBuffer2 = Marshal.AllocHGlobal((int)pnBufferSize); 42 | bool ret = NativeMethods.ISteamVideo_GetOPFStringForApp(unVideoAppID, pchBuffer2, ref pnBufferSize); 43 | pchBuffer = ret ? InteropHelp.PtrToStringUTF8(pchBuffer2) : null; 44 | Marshal.FreeHGlobal(pchBuffer2); 45 | return ret; 46 | } 47 | } 48 | } 49 | 50 | #endif // !DISABLESTEAMWORKS 51 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/autogen/isteamvideo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7d48e6f02e6055a48aa8cf58e0b75449 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/redist.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 75cc63220e801b74991c9ef6b92a9473 3 | folderAsset: yes 4 | timeCreated: 1442799863 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/redist/steam_appid.txt: -------------------------------------------------------------------------------- 1 | 480 -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/redist/steam_appid.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 49fd5f872055cef42bfc00efeae22015 3 | TextScriptImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 37d2ac509e375284da1d34ea8cce8faa 3 | folderAsset: yes 4 | timeCreated: 1442799863 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/MatchmakingTypes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 76c3eb8e8951a994d9e10b5bab3b5a57 3 | folderAsset: yes 4 | timeCreated: 1442799863 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/MatchmakingTypes/gameserveritem_t.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | using System.Runtime.InteropServices; 10 | using System.Text; 11 | 12 | namespace Steamworks { 13 | //----------------------------------------------------------------------------- 14 | // Purpose: Data describing a single server 15 | //----------------------------------------------------------------------------- 16 | [StructLayout(LayoutKind.Sequential, Size = 372, Pack = 4)] 17 | [System.Serializable] 18 | public class gameserveritem_t { 19 | public string GetGameDir() { 20 | return Encoding.UTF8.GetString(m_szGameDir, 0, System.Array.IndexOf(m_szGameDir, 0)); 21 | } 22 | 23 | public void SetGameDir(string dir) { 24 | m_szGameDir = Encoding.UTF8.GetBytes(dir + '\0'); 25 | } 26 | 27 | public string GetMap() { 28 | return Encoding.UTF8.GetString(m_szMap, 0, System.Array.IndexOf(m_szMap, 0)); 29 | } 30 | 31 | public void SetMap(string map) { 32 | m_szMap = Encoding.UTF8.GetBytes(map + '\0'); 33 | } 34 | 35 | public string GetGameDescription() { 36 | return Encoding.UTF8.GetString(m_szGameDescription, 0, System.Array.IndexOf(m_szGameDescription, 0)); 37 | } 38 | 39 | public void SetGameDescription(string desc) { 40 | m_szGameDescription = Encoding.UTF8.GetBytes(desc + '\0'); 41 | } 42 | 43 | public string GetServerName() { 44 | // Use the IP address as the name if nothing is set yet. 45 | if (m_szServerName[0] == 0) 46 | return m_NetAdr.GetConnectionAddressString(); 47 | else 48 | return Encoding.UTF8.GetString(m_szServerName, 0, System.Array.IndexOf(m_szServerName, 0)); 49 | } 50 | 51 | public void SetServerName(string name) { 52 | m_szServerName = Encoding.UTF8.GetBytes(name + '\0'); 53 | } 54 | 55 | public string GetGameTags() { 56 | return Encoding.UTF8.GetString(m_szGameTags, 0, System.Array.IndexOf(m_szGameTags, 0)); 57 | } 58 | 59 | public void SetGameTags(string tags) { 60 | m_szGameTags = Encoding.UTF8.GetBytes(tags + '\0'); 61 | } 62 | 63 | public servernetadr_t m_NetAdr; ///< IP/Query Port/Connection Port for this server 64 | public int m_nPing; ///< current ping time in milliseconds 65 | [MarshalAs(UnmanagedType.I1)] 66 | public bool m_bHadSuccessfulResponse; ///< server has responded successfully in the past 67 | [MarshalAs(UnmanagedType.I1)] 68 | public bool m_bDoNotRefresh; ///< server is marked as not responding and should no longer be refreshed 69 | [MarshalAs(UnmanagedType.ByValArray, SizeConst = Constants.k_cbMaxGameServerGameDir)] 70 | private byte[] m_szGameDir; ///< current game directory 71 | [MarshalAs(UnmanagedType.ByValArray, SizeConst = Constants.k_cbMaxGameServerMapName)] 72 | private byte[] m_szMap; ///< current map 73 | [MarshalAs(UnmanagedType.ByValArray, SizeConst = Constants.k_cbMaxGameServerGameDescription)] 74 | private byte[] m_szGameDescription; ///< game description 75 | public uint m_nAppID; ///< Steam App ID of this server 76 | public int m_nPlayers; ///< total number of players currently on the server. INCLUDES BOTS!! 77 | public int m_nMaxPlayers; ///< Maximum players that can join this server 78 | public int m_nBotPlayers; ///< Number of bots (i.e simulated players) on this server 79 | [MarshalAs(UnmanagedType.I1)] 80 | public bool m_bPassword; ///< true if this server needs a password to join 81 | [MarshalAs(UnmanagedType.I1)] 82 | public bool m_bSecure; ///< Is this server protected by VAC 83 | public uint m_ulTimeLastPlayed; ///< time (in unix time) when this server was last played on (for favorite/history servers) 84 | public int m_nServerVersion; ///< server version as reported to Steam 85 | 86 | // Game server name 87 | [MarshalAs(UnmanagedType.ByValArray, SizeConst = Constants.k_cbMaxGameServerName)] 88 | private byte[] m_szServerName; 89 | 90 | // the tags this server exposes 91 | [MarshalAs(UnmanagedType.ByValArray, SizeConst = Constants.k_cbMaxGameServerTags)] 92 | private byte[] m_szGameTags; 93 | 94 | // steamID of the game server - invalid if it's doesn't have one (old server, or not connected to Steam) 95 | public CSteamID m_steamID; 96 | } 97 | } 98 | 99 | #endif // !DISABLESTEAMWORKS 100 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/MatchmakingTypes/gameserveritem_t.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b30bb27544428ca4fb0eab8a9acf9cc8 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/MatchmakingTypes/servernetadr_t.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | // servernetadr_t is all the addressing info the serverbrowser needs to know about a game server, 11 | // namely: its IP, its connection port, and its query port. 12 | [System.Serializable] 13 | public struct servernetadr_t { 14 | private ushort m_usConnectionPort; // (in HOST byte order) 15 | private ushort m_usQueryPort; 16 | private uint m_unIP; 17 | 18 | public void Init(uint ip, ushort usQueryPort, ushort usConnectionPort) { 19 | m_unIP = ip; 20 | m_usQueryPort = usQueryPort; 21 | m_usConnectionPort = usConnectionPort; 22 | } 23 | 24 | #if NETADR_H 25 | public netadr_t GetIPAndQueryPort() { 26 | return netadr_t( m_unIP, m_usQueryPort ); 27 | } 28 | #endif 29 | 30 | // Access the query port. 31 | public ushort GetQueryPort() { 32 | return m_usQueryPort; 33 | } 34 | 35 | public void SetQueryPort(ushort usPort) { 36 | m_usQueryPort = usPort; 37 | } 38 | 39 | // Access the connection port. 40 | public ushort GetConnectionPort() { 41 | return m_usConnectionPort; 42 | } 43 | 44 | public void SetConnectionPort(ushort usPort) { 45 | m_usConnectionPort = usPort; 46 | } 47 | 48 | // Access the IP 49 | public uint GetIP() { 50 | return m_unIP; 51 | } 52 | 53 | public void SetIP(uint unIP) { 54 | m_unIP = unIP; 55 | } 56 | 57 | // This gets the 'a.b.c.d:port' string with the connection port (instead of the query port). 58 | public string GetConnectionAddressString() { 59 | return ToString(m_unIP, m_usConnectionPort); 60 | } 61 | 62 | public string GetQueryAddressString() { 63 | return ToString(m_unIP, m_usQueryPort); 64 | } 65 | 66 | public static string ToString(uint unIP, ushort usPort) { 67 | #if VALVE_BIG_ENDIAN 68 | return string.Format("{0}.{1}.{2}.{3}:{4}", unIP & 0xFFul, (unIP >> 8) & 0xFFul, (unIP >> 16) & 0xFFul, (unIP >> 24) & 0xFFul, usPort); 69 | #else 70 | return string.Format("{0}.{1}.{2}.{3}:{4}", (unIP >> 24) & 0xFFul, (unIP >> 16) & 0xFFul, (unIP >> 8) & 0xFFul, unIP & 0xFFul, usPort); 71 | #endif 72 | } 73 | 74 | public static bool operator <(servernetadr_t x, servernetadr_t y) { 75 | return (x.m_unIP < y.m_unIP) || (x.m_unIP == y.m_unIP && x.m_usQueryPort < y.m_usQueryPort); 76 | } 77 | 78 | public static bool operator >(servernetadr_t x, servernetadr_t y) { 79 | return (x.m_unIP > y.m_unIP) || (x.m_unIP == y.m_unIP && x.m_usQueryPort > y.m_usQueryPort); 80 | } 81 | 82 | public override bool Equals(object other) { 83 | return other is servernetadr_t && this == (servernetadr_t)other; 84 | } 85 | 86 | public override int GetHashCode() { 87 | return m_unIP.GetHashCode() + m_usQueryPort.GetHashCode() + m_usConnectionPort.GetHashCode(); 88 | } 89 | 90 | public static bool operator ==(servernetadr_t x, servernetadr_t y) { 91 | return (x.m_unIP == y.m_unIP) && (x.m_usQueryPort == y.m_usQueryPort) && (x.m_usConnectionPort == y.m_usConnectionPort); 92 | } 93 | 94 | public static bool operator !=(servernetadr_t x, servernetadr_t y) { 95 | return !(x == y); 96 | } 97 | 98 | public bool Equals(servernetadr_t other) { 99 | return (m_unIP == other.m_unIP) && (m_usQueryPort == other.m_usQueryPort) && (m_usConnectionPort == other.m_usConnectionPort); 100 | } 101 | 102 | public int CompareTo(servernetadr_t other) { 103 | return m_unIP.CompareTo(other.m_unIP) + m_usQueryPort.CompareTo(other.m_usQueryPort) + m_usConnectionPort.CompareTo(other.m_usConnectionPort); 104 | } 105 | } 106 | } 107 | 108 | #endif // !DISABLESTEAMWORKS 109 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/MatchmakingTypes/servernetadr_t.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 15332a231acb43948842abbf8bb4b2ef 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamClient.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 386d59c2a5704e6428e987cfdfcc45a2 3 | folderAsset: yes 4 | timeCreated: 1442799863 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamClient/HSteamPipe.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct HSteamPipe : System.IEquatable, System.IComparable { 12 | public int m_HSteamPipe; 13 | 14 | public HSteamPipe(int value) { 15 | m_HSteamPipe = value; 16 | } 17 | 18 | public override string ToString() { 19 | return m_HSteamPipe.ToString(); 20 | } 21 | 22 | public override bool Equals(object other) { 23 | return other is HSteamPipe && this == (HSteamPipe)other; 24 | } 25 | 26 | public override int GetHashCode() { 27 | return m_HSteamPipe.GetHashCode(); 28 | } 29 | 30 | public static bool operator ==(HSteamPipe x, HSteamPipe y) { 31 | return x.m_HSteamPipe == y.m_HSteamPipe; 32 | } 33 | 34 | public static bool operator !=(HSteamPipe x, HSteamPipe y) { 35 | return !(x == y); 36 | } 37 | 38 | public static explicit operator HSteamPipe(int value) { 39 | return new HSteamPipe(value); 40 | } 41 | 42 | public static explicit operator int(HSteamPipe that) { 43 | return that.m_HSteamPipe; 44 | } 45 | 46 | public bool Equals(HSteamPipe other) { 47 | return m_HSteamPipe == other.m_HSteamPipe; 48 | } 49 | 50 | public int CompareTo(HSteamPipe other) { 51 | return m_HSteamPipe.CompareTo(other.m_HSteamPipe); 52 | } 53 | } 54 | } 55 | 56 | #endif // !DISABLESTEAMWORKS 57 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamClient/HSteamPipe.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 75c03671f60997d489d3df45a581d55d 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamClient/HSteamUser.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct HSteamUser : System.IEquatable, System.IComparable { 12 | public int m_HSteamUser; 13 | 14 | public HSteamUser(int value) { 15 | m_HSteamUser = value; 16 | } 17 | 18 | public override string ToString() { 19 | return m_HSteamUser.ToString(); 20 | } 21 | 22 | public override bool Equals(object other) { 23 | return other is HSteamUser && this == (HSteamUser)other; 24 | } 25 | 26 | public override int GetHashCode() { 27 | return m_HSteamUser.GetHashCode(); 28 | } 29 | 30 | public static bool operator ==(HSteamUser x, HSteamUser y) { 31 | return x.m_HSteamUser == y.m_HSteamUser; 32 | } 33 | 34 | public static bool operator !=(HSteamUser x, HSteamUser y) { 35 | return !(x == y); 36 | } 37 | 38 | public static explicit operator HSteamUser(int value) { 39 | return new HSteamUser(value); 40 | } 41 | 42 | public static explicit operator int(HSteamUser that) { 43 | return that.m_HSteamUser; 44 | } 45 | 46 | public bool Equals(HSteamUser other) { 47 | return m_HSteamUser == other.m_HSteamUser; 48 | } 49 | 50 | public int CompareTo(HSteamUser other) { 51 | return m_HSteamUser.CompareTo(other.m_HSteamUser); 52 | } 53 | } 54 | } 55 | 56 | #endif // !DISABLESTEAMWORKS 57 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamClient/HSteamUser.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 63a71901f4608d4429dfcd82880ea995 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamClient/SteamAPIWarningMessageHook_t.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Runtime.InteropServices.UnmanagedFunctionPointer(System.Runtime.InteropServices.CallingConvention.Cdecl)] 11 | public delegate void SteamAPIWarningMessageHook_t(int nSeverity, System.Text.StringBuilder pchDebugText); 12 | } 13 | 14 | #endif // !DISABLESTEAMWORKS 15 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamClient/SteamAPIWarningMessageHook_t.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0a82e6a4b70ec954aaf1ee0d23b75fc0 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamClient/SteamAPI_CheckCallbackRegistered_t.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Runtime.InteropServices.UnmanagedFunctionPointer(System.Runtime.InteropServices.CallingConvention.StdCall)] // TODO: This is probably wrong, will likely crash on some platform. 11 | public delegate void SteamAPI_CheckCallbackRegistered_t(int iCallbackNum); 12 | } 13 | 14 | #endif // !DISABLESTEAMWORKS 15 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamClient/SteamAPI_CheckCallbackRegistered_t.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 861bc5356efdea24da10dfb866c8fe13 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamClientPublic.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb29d0ce1169f98448400065ec5d821c 3 | folderAsset: yes 4 | timeCreated: 1442799863 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamClientPublic/CGameID.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct CGameID : System.IEquatable, System.IComparable { 12 | public ulong m_GameID; 13 | 14 | public enum EGameIDType { 15 | k_EGameIDTypeApp = 0, 16 | k_EGameIDTypeGameMod = 1, 17 | k_EGameIDTypeShortcut = 2, 18 | k_EGameIDTypeP2P = 3, 19 | }; 20 | 21 | public CGameID(ulong GameID) { 22 | m_GameID = GameID; 23 | } 24 | 25 | public CGameID(AppId_t nAppID) { 26 | m_GameID = 0; 27 | SetAppID(nAppID); 28 | } 29 | 30 | public CGameID(AppId_t nAppID, uint nModID) { 31 | m_GameID = 0; 32 | SetAppID(nAppID); 33 | SetType(EGameIDType.k_EGameIDTypeGameMod); 34 | SetModID(nModID); 35 | } 36 | 37 | public bool IsSteamApp() { 38 | return Type() == EGameIDType.k_EGameIDTypeApp; 39 | } 40 | 41 | public bool IsMod() { 42 | return Type() == EGameIDType.k_EGameIDTypeGameMod; 43 | } 44 | 45 | public bool IsShortcut() { 46 | return Type() == EGameIDType.k_EGameIDTypeShortcut; 47 | } 48 | 49 | public bool IsP2PFile() { 50 | return Type() == EGameIDType.k_EGameIDTypeP2P; 51 | } 52 | 53 | public AppId_t AppID() { 54 | return new AppId_t((uint)(m_GameID & 0xFFFFFFul)); 55 | } 56 | 57 | public EGameIDType Type() { 58 | return (EGameIDType)((m_GameID >> 24) & 0xFFul); 59 | } 60 | 61 | public uint ModID() { 62 | return (uint)((m_GameID >> 32) & 0xFFFFFFFFul); 63 | } 64 | 65 | public bool IsValid() { 66 | // Each type has it's own invalid fixed point: 67 | switch (Type()) { 68 | case EGameIDType.k_EGameIDTypeApp: 69 | return AppID() != AppId_t.Invalid; 70 | 71 | case EGameIDType.k_EGameIDTypeGameMod: 72 | return AppID() != AppId_t.Invalid && (ModID() & 0x80000000) != 0; 73 | 74 | case EGameIDType.k_EGameIDTypeShortcut: 75 | return (ModID() & 0x80000000) != 0; 76 | 77 | case EGameIDType.k_EGameIDTypeP2P: 78 | return AppID() == AppId_t.Invalid && (ModID() & 0x80000000) != 0; 79 | 80 | default: 81 | return false; 82 | } 83 | } 84 | 85 | public void Reset() { 86 | m_GameID = 0; 87 | } 88 | 89 | public void Set(ulong GameID) { 90 | m_GameID = GameID; 91 | } 92 | 93 | #region Private Setters for internal use 94 | private void SetAppID(AppId_t other) { 95 | m_GameID = (m_GameID & ~(0xFFFFFFul << (ushort)0)) | (((ulong)(other) & 0xFFFFFFul) << (ushort)0); 96 | } 97 | 98 | private void SetType(EGameIDType other) { 99 | m_GameID = (m_GameID & ~(0xFFul << (ushort)24)) | (((ulong)(other) & 0xFFul) << (ushort)24); 100 | } 101 | 102 | private void SetModID(uint other) { 103 | m_GameID = (m_GameID & ~(0xFFFFFFFFul << (ushort)32)) | (((ulong)(other) & 0xFFFFFFFFul) << (ushort)32); 104 | } 105 | #endregion 106 | 107 | #region Overrides 108 | public override string ToString() { 109 | return m_GameID.ToString(); 110 | } 111 | 112 | public override bool Equals(object other) { 113 | return other is CGameID && this == (CGameID)other; 114 | } 115 | 116 | public override int GetHashCode() { 117 | return m_GameID.GetHashCode(); 118 | } 119 | 120 | public static bool operator ==(CGameID x, CGameID y) { 121 | return x.m_GameID == y.m_GameID; 122 | } 123 | 124 | public static bool operator !=(CGameID x, CGameID y) { 125 | return !(x == y); 126 | } 127 | 128 | public static explicit operator CGameID(ulong value) { 129 | return new CGameID(value); 130 | } 131 | public static explicit operator ulong(CGameID that) { 132 | return that.m_GameID; 133 | } 134 | 135 | public bool Equals(CGameID other) { 136 | return m_GameID == other.m_GameID; 137 | } 138 | 139 | public int CompareTo(CGameID other) { 140 | return m_GameID.CompareTo(other.m_GameID); 141 | } 142 | #endregion 143 | } 144 | } 145 | 146 | #endif // !DISABLESTEAMWORKS 147 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamClientPublic/CGameID.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f3ca933b3a524bc4ba4850496840eb1a 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamClientPublic/CSteamID.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd1d6cfad7eb87f4f8c7d4ca3a7c5e3b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamClientPublic/HAuthTicket.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct HAuthTicket : System.IEquatable, System.IComparable { 12 | public static readonly HAuthTicket Invalid = new HAuthTicket(0); 13 | public uint m_HAuthTicket; 14 | 15 | public HAuthTicket(uint value) { 16 | m_HAuthTicket = value; 17 | } 18 | 19 | public override string ToString() { 20 | return m_HAuthTicket.ToString(); 21 | } 22 | 23 | public override bool Equals(object other) { 24 | return other is HAuthTicket && this == (HAuthTicket)other; 25 | } 26 | 27 | public override int GetHashCode() { 28 | return m_HAuthTicket.GetHashCode(); 29 | } 30 | 31 | public static bool operator ==(HAuthTicket x, HAuthTicket y) { 32 | return x.m_HAuthTicket == y.m_HAuthTicket; 33 | } 34 | 35 | public static bool operator !=(HAuthTicket x, HAuthTicket y) { 36 | return !(x == y); 37 | } 38 | 39 | public static explicit operator HAuthTicket(uint value) { 40 | return new HAuthTicket(value); 41 | } 42 | 43 | public static explicit operator uint(HAuthTicket that) { 44 | return that.m_HAuthTicket; 45 | } 46 | 47 | public bool Equals(HAuthTicket other) { 48 | return m_HAuthTicket == other.m_HAuthTicket; 49 | } 50 | 51 | public int CompareTo(HAuthTicket other) { 52 | return m_HAuthTicket.CompareTo(other.m_HAuthTicket); 53 | } 54 | } 55 | } 56 | 57 | #endif // !DISABLESTEAMWORKS 58 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamClientPublic/HAuthTicket.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1685339e538bf2440b64091ad5b9afb0 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamController.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 95a8c6cee7f8b2d4bbd2370fbd91e709 3 | folderAsset: yes 4 | timeCreated: 1487815860 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamController/ControllerActionSetHandle_t.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct ControllerActionSetHandle_t : System.IEquatable, System.IComparable { 12 | public ulong m_ControllerActionSetHandle; 13 | 14 | public ControllerActionSetHandle_t(ulong value) { 15 | m_ControllerActionSetHandle = value; 16 | } 17 | 18 | public override string ToString() { 19 | return m_ControllerActionSetHandle.ToString(); 20 | } 21 | 22 | public override bool Equals(object other) { 23 | return other is ControllerActionSetHandle_t && this == (ControllerActionSetHandle_t)other; 24 | } 25 | 26 | public override int GetHashCode() { 27 | return m_ControllerActionSetHandle.GetHashCode(); 28 | } 29 | 30 | public static bool operator ==(ControllerActionSetHandle_t x, ControllerActionSetHandle_t y) { 31 | return x.m_ControllerActionSetHandle == y.m_ControllerActionSetHandle; 32 | } 33 | 34 | public static bool operator !=(ControllerActionSetHandle_t x, ControllerActionSetHandle_t y) { 35 | return !(x == y); 36 | } 37 | 38 | public static explicit operator ControllerActionSetHandle_t(ulong value) { 39 | return new ControllerActionSetHandle_t(value); 40 | } 41 | 42 | public static explicit operator ulong(ControllerActionSetHandle_t that) { 43 | return that.m_ControllerActionSetHandle; 44 | } 45 | 46 | public bool Equals(ControllerActionSetHandle_t other) { 47 | return m_ControllerActionSetHandle == other.m_ControllerActionSetHandle; 48 | } 49 | 50 | public int CompareTo(ControllerActionSetHandle_t other) { 51 | return m_ControllerActionSetHandle.CompareTo(other.m_ControllerActionSetHandle); 52 | } 53 | } 54 | } 55 | 56 | #endif // !DISABLESTEAMWORKS 57 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamController/ControllerActionSetHandle_t.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 194e15dbd9d515f4e8218c76a89bb1a4 3 | timeCreated: 1487815860 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamController/ControllerAnalogActionHandle_t.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct ControllerAnalogActionHandle_t : System.IEquatable, System.IComparable { 12 | public ulong m_ControllerAnalogActionHandle; 13 | 14 | public ControllerAnalogActionHandle_t(ulong value) { 15 | m_ControllerAnalogActionHandle = value; 16 | } 17 | 18 | public override string ToString() { 19 | return m_ControllerAnalogActionHandle.ToString(); 20 | } 21 | 22 | public override bool Equals(object other) { 23 | return other is ControllerAnalogActionHandle_t && this == (ControllerAnalogActionHandle_t)other; 24 | } 25 | 26 | public override int GetHashCode() { 27 | return m_ControllerAnalogActionHandle.GetHashCode(); 28 | } 29 | 30 | public static bool operator ==(ControllerAnalogActionHandle_t x, ControllerAnalogActionHandle_t y) { 31 | return x.m_ControllerAnalogActionHandle == y.m_ControllerAnalogActionHandle; 32 | } 33 | 34 | public static bool operator !=(ControllerAnalogActionHandle_t x, ControllerAnalogActionHandle_t y) { 35 | return !(x == y); 36 | } 37 | 38 | public static explicit operator ControllerAnalogActionHandle_t(ulong value) { 39 | return new ControllerAnalogActionHandle_t(value); 40 | } 41 | 42 | public static explicit operator ulong(ControllerAnalogActionHandle_t that) { 43 | return that.m_ControllerAnalogActionHandle; 44 | } 45 | 46 | public bool Equals(ControllerAnalogActionHandle_t other) { 47 | return m_ControllerAnalogActionHandle == other.m_ControllerAnalogActionHandle; 48 | } 49 | 50 | public int CompareTo(ControllerAnalogActionHandle_t other) { 51 | return m_ControllerAnalogActionHandle.CompareTo(other.m_ControllerAnalogActionHandle); 52 | } 53 | } 54 | } 55 | 56 | #endif // !DISABLESTEAMWORKS 57 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamController/ControllerAnalogActionHandle_t.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7189aefcd7fd1cb4a97a10aea1a3c734 3 | timeCreated: 1487815861 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamController/ControllerDigitalActionHandle_t.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct ControllerDigitalActionHandle_t : System.IEquatable, System.IComparable { 12 | public ulong m_ControllerDigitalActionHandle; 13 | 14 | public ControllerDigitalActionHandle_t(ulong value) { 15 | m_ControllerDigitalActionHandle = value; 16 | } 17 | 18 | public override string ToString() { 19 | return m_ControllerDigitalActionHandle.ToString(); 20 | } 21 | 22 | public override bool Equals(object other) { 23 | return other is ControllerDigitalActionHandle_t && this == (ControllerDigitalActionHandle_t)other; 24 | } 25 | 26 | public override int GetHashCode() { 27 | return m_ControllerDigitalActionHandle.GetHashCode(); 28 | } 29 | 30 | public static bool operator ==(ControllerDigitalActionHandle_t x, ControllerDigitalActionHandle_t y) { 31 | return x.m_ControllerDigitalActionHandle == y.m_ControllerDigitalActionHandle; 32 | } 33 | 34 | public static bool operator !=(ControllerDigitalActionHandle_t x, ControllerDigitalActionHandle_t y) { 35 | return !(x == y); 36 | } 37 | 38 | public static explicit operator ControllerDigitalActionHandle_t(ulong value) { 39 | return new ControllerDigitalActionHandle_t(value); 40 | } 41 | 42 | public static explicit operator ulong(ControllerDigitalActionHandle_t that) { 43 | return that.m_ControllerDigitalActionHandle; 44 | } 45 | 46 | public bool Equals(ControllerDigitalActionHandle_t other) { 47 | return m_ControllerDigitalActionHandle == other.m_ControllerDigitalActionHandle; 48 | } 49 | 50 | public int CompareTo(ControllerDigitalActionHandle_t other) { 51 | return m_ControllerDigitalActionHandle.CompareTo(other.m_ControllerDigitalActionHandle); 52 | } 53 | } 54 | } 55 | 56 | #endif // !DISABLESTEAMWORKS 57 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamController/ControllerDigitalActionHandle_t.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7422fa1ddb893c049b45e3d42084f8bc 3 | timeCreated: 1487815861 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamController/ControllerHandle_t.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct ControllerHandle_t : System.IEquatable, System.IComparable { 12 | public ulong m_ControllerHandle; 13 | 14 | public ControllerHandle_t(ulong value) { 15 | m_ControllerHandle = value; 16 | } 17 | 18 | public override string ToString() { 19 | return m_ControllerHandle.ToString(); 20 | } 21 | 22 | public override bool Equals(object other) { 23 | return other is ControllerHandle_t && this == (ControllerHandle_t)other; 24 | } 25 | 26 | public override int GetHashCode() { 27 | return m_ControllerHandle.GetHashCode(); 28 | } 29 | 30 | public static bool operator ==(ControllerHandle_t x, ControllerHandle_t y) { 31 | return x.m_ControllerHandle == y.m_ControllerHandle; 32 | } 33 | 34 | public static bool operator !=(ControllerHandle_t x, ControllerHandle_t y) { 35 | return !(x == y); 36 | } 37 | 38 | public static explicit operator ControllerHandle_t(ulong value) { 39 | return new ControllerHandle_t(value); 40 | } 41 | 42 | public static explicit operator ulong(ControllerHandle_t that) { 43 | return that.m_ControllerHandle; 44 | } 45 | 46 | public bool Equals(ControllerHandle_t other) { 47 | return m_ControllerHandle == other.m_ControllerHandle; 48 | } 49 | 50 | public int CompareTo(ControllerHandle_t other) { 51 | return m_ControllerHandle.CompareTo(other.m_ControllerHandle); 52 | } 53 | } 54 | } 55 | 56 | #endif // !DISABLESTEAMWORKS 57 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamController/ControllerHandle_t.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 540eb782ca462324f8199be44e2c9dc0 3 | timeCreated: 1487815860 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamFriends.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a31292044d4026e4786d57d10ab21681 3 | folderAsset: yes 4 | timeCreated: 1442799863 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamFriends/FriendsGroupID_t.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct FriendsGroupID_t : System.IEquatable, System.IComparable { 12 | public static readonly FriendsGroupID_t Invalid = new FriendsGroupID_t(-1); 13 | public short m_FriendsGroupID; 14 | 15 | public FriendsGroupID_t(short value) { 16 | m_FriendsGroupID = value; 17 | } 18 | 19 | public override string ToString() { 20 | return m_FriendsGroupID.ToString(); 21 | } 22 | 23 | public override bool Equals(object other) { 24 | return other is FriendsGroupID_t && this == (FriendsGroupID_t)other; 25 | } 26 | 27 | public override int GetHashCode() { 28 | return m_FriendsGroupID.GetHashCode(); 29 | } 30 | 31 | public static bool operator ==(FriendsGroupID_t x, FriendsGroupID_t y) { 32 | return x.m_FriendsGroupID == y.m_FriendsGroupID; 33 | } 34 | 35 | public static bool operator !=(FriendsGroupID_t x, FriendsGroupID_t y) { 36 | return !(x == y); 37 | } 38 | 39 | public static explicit operator FriendsGroupID_t(short value) { 40 | return new FriendsGroupID_t(value); 41 | } 42 | 43 | public static explicit operator short(FriendsGroupID_t that) { 44 | return that.m_FriendsGroupID; 45 | } 46 | 47 | public bool Equals(FriendsGroupID_t other) { 48 | return m_FriendsGroupID == other.m_FriendsGroupID; 49 | } 50 | 51 | public int CompareTo(FriendsGroupID_t other) { 52 | return m_FriendsGroupID.CompareTo(other.m_FriendsGroupID); 53 | } 54 | } 55 | } 56 | 57 | #endif // !DISABLESTEAMWORKS 58 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamFriends/FriendsGroupID_t.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 200c2b61ed971664883218a605c3d968 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamHTMLSurface.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 27b9e0e0837d42442a8da8f377f87e49 3 | folderAsset: yes 4 | timeCreated: 1442799863 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamHTMLSurface/HHTMLBrowser.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct HHTMLBrowser : System.IEquatable, System.IComparable { 12 | public static readonly HHTMLBrowser Invalid = new HHTMLBrowser(0); 13 | public uint m_HHTMLBrowser; 14 | 15 | public HHTMLBrowser(uint value) { 16 | m_HHTMLBrowser = value; 17 | } 18 | 19 | public override string ToString() { 20 | return m_HHTMLBrowser.ToString(); 21 | } 22 | 23 | public override bool Equals(object other) { 24 | return other is HHTMLBrowser && this == (HHTMLBrowser)other; 25 | } 26 | 27 | public override int GetHashCode() { 28 | return m_HHTMLBrowser.GetHashCode(); 29 | } 30 | 31 | public static bool operator ==(HHTMLBrowser x, HHTMLBrowser y) { 32 | return x.m_HHTMLBrowser == y.m_HHTMLBrowser; 33 | } 34 | 35 | public static bool operator !=(HHTMLBrowser x, HHTMLBrowser y) { 36 | return !(x == y); 37 | } 38 | 39 | public static explicit operator HHTMLBrowser(uint value) { 40 | return new HHTMLBrowser(value); 41 | } 42 | 43 | public static explicit operator uint(HHTMLBrowser that) { 44 | return that.m_HHTMLBrowser; 45 | } 46 | 47 | public bool Equals(HHTMLBrowser other) { 48 | return m_HHTMLBrowser == other.m_HHTMLBrowser; 49 | } 50 | 51 | public int CompareTo(HHTMLBrowser other) { 52 | return m_HHTMLBrowser.CompareTo(other.m_HHTMLBrowser); 53 | } 54 | } 55 | } 56 | 57 | #endif // !DISABLESTEAMWORKS 58 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamHTMLSurface/HHTMLBrowser.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3e1966511819cbf42994e387cbfca77e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamHTTP.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c6d1173a80849d64cb27f6e3f7bdb738 3 | folderAsset: yes 4 | timeCreated: 1442799863 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamHTTP/HTTPCookieContainerHandle.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct HTTPCookieContainerHandle : System.IEquatable, System.IComparable { 12 | public static readonly HTTPCookieContainerHandle Invalid = new HTTPCookieContainerHandle(0); 13 | public uint m_HTTPCookieContainerHandle; 14 | 15 | public HTTPCookieContainerHandle(uint value) { 16 | m_HTTPCookieContainerHandle = value; 17 | } 18 | 19 | public override string ToString() { 20 | return m_HTTPCookieContainerHandle.ToString(); 21 | } 22 | 23 | public override bool Equals(object other) { 24 | return other is HTTPCookieContainerHandle && this == (HTTPCookieContainerHandle)other; 25 | } 26 | 27 | public override int GetHashCode() { 28 | return m_HTTPCookieContainerHandle.GetHashCode(); 29 | } 30 | 31 | public static bool operator ==(HTTPCookieContainerHandle x, HTTPCookieContainerHandle y) { 32 | return x.m_HTTPCookieContainerHandle == y.m_HTTPCookieContainerHandle; 33 | } 34 | 35 | public static bool operator !=(HTTPCookieContainerHandle x, HTTPCookieContainerHandle y) { 36 | return !(x == y); 37 | } 38 | 39 | public static explicit operator HTTPCookieContainerHandle(uint value) { 40 | return new HTTPCookieContainerHandle(value); 41 | } 42 | 43 | public static explicit operator uint(HTTPCookieContainerHandle that) { 44 | return that.m_HTTPCookieContainerHandle; 45 | } 46 | 47 | public bool Equals(HTTPCookieContainerHandle other) { 48 | return m_HTTPCookieContainerHandle == other.m_HTTPCookieContainerHandle; 49 | } 50 | 51 | public int CompareTo(HTTPCookieContainerHandle other) { 52 | return m_HTTPCookieContainerHandle.CompareTo(other.m_HTTPCookieContainerHandle); 53 | } 54 | } 55 | } 56 | 57 | #endif // !DISABLESTEAMWORKS 58 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamHTTP/HTTPCookieContainerHandle.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 58a562124a80bad4aa3d496bb5e3d7b9 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamHTTP/HTTPRequestHandle.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct HTTPRequestHandle : System.IEquatable, System.IComparable { 12 | public static readonly HTTPRequestHandle Invalid = new HTTPRequestHandle(0); 13 | public uint m_HTTPRequestHandle; 14 | 15 | public HTTPRequestHandle(uint value) { 16 | m_HTTPRequestHandle = value; 17 | } 18 | 19 | public override string ToString() { 20 | return m_HTTPRequestHandle.ToString(); 21 | } 22 | 23 | public override bool Equals(object other) { 24 | return other is HTTPRequestHandle && this == (HTTPRequestHandle)other; 25 | } 26 | 27 | public override int GetHashCode() { 28 | return m_HTTPRequestHandle.GetHashCode(); 29 | } 30 | 31 | public static bool operator ==(HTTPRequestHandle x, HTTPRequestHandle y) { 32 | return x.m_HTTPRequestHandle == y.m_HTTPRequestHandle; 33 | } 34 | 35 | public static bool operator !=(HTTPRequestHandle x, HTTPRequestHandle y) { 36 | return !(x == y); 37 | } 38 | 39 | public static explicit operator HTTPRequestHandle(uint value) { 40 | return new HTTPRequestHandle(value); 41 | } 42 | 43 | public static explicit operator uint(HTTPRequestHandle that) { 44 | return that.m_HTTPRequestHandle; 45 | } 46 | 47 | public bool Equals(HTTPRequestHandle other) { 48 | return m_HTTPRequestHandle == other.m_HTTPRequestHandle; 49 | } 50 | 51 | public int CompareTo(HTTPRequestHandle other) { 52 | return m_HTTPRequestHandle.CompareTo(other.m_HTTPRequestHandle); 53 | } 54 | } 55 | } 56 | 57 | #endif // !DISABLESTEAMWORKS 58 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamHTTP/HTTPRequestHandle.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c9edd009723fb97438dd53013aff534c 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamInventory.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6d18f58846cca594794c86bd498065d5 3 | folderAsset: yes 4 | timeCreated: 1442799863 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamInventory/SteamInventoryResult_t.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct SteamInventoryResult_t : System.IEquatable, System.IComparable { 12 | public static readonly SteamInventoryResult_t Invalid = new SteamInventoryResult_t(-1); 13 | public int m_SteamInventoryResult; 14 | 15 | public SteamInventoryResult_t(int value) { 16 | m_SteamInventoryResult = value; 17 | } 18 | 19 | public override string ToString() { 20 | return m_SteamInventoryResult.ToString(); 21 | } 22 | 23 | public override bool Equals(object other) { 24 | return other is SteamInventoryResult_t && this == (SteamInventoryResult_t)other; 25 | } 26 | 27 | public override int GetHashCode() { 28 | return m_SteamInventoryResult.GetHashCode(); 29 | } 30 | 31 | public static bool operator ==(SteamInventoryResult_t x, SteamInventoryResult_t y) { 32 | return x.m_SteamInventoryResult == y.m_SteamInventoryResult; 33 | } 34 | 35 | public static bool operator !=(SteamInventoryResult_t x, SteamInventoryResult_t y) { 36 | return !(x == y); 37 | } 38 | 39 | public static explicit operator SteamInventoryResult_t(int value) { 40 | return new SteamInventoryResult_t(value); 41 | } 42 | 43 | public static explicit operator int(SteamInventoryResult_t that) { 44 | return that.m_SteamInventoryResult; 45 | } 46 | 47 | public bool Equals(SteamInventoryResult_t other) { 48 | return m_SteamInventoryResult == other.m_SteamInventoryResult; 49 | } 50 | 51 | public int CompareTo(SteamInventoryResult_t other) { 52 | return m_SteamInventoryResult.CompareTo(other.m_SteamInventoryResult); 53 | } 54 | } 55 | } 56 | 57 | #endif // !DISABLESTEAMWORKS 58 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamInventory/SteamInventoryResult_t.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 73ac96bbfbe7a7f45aa90848c7575523 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamInventory/SteamItemDef_t.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct SteamItemDef_t : System.IEquatable, System.IComparable { 12 | public int m_SteamItemDef; 13 | 14 | public SteamItemDef_t(int value) { 15 | m_SteamItemDef = value; 16 | } 17 | 18 | public override string ToString() { 19 | return m_SteamItemDef.ToString(); 20 | } 21 | 22 | public override bool Equals(object other) { 23 | return other is SteamItemDef_t && this == (SteamItemDef_t)other; 24 | } 25 | 26 | public override int GetHashCode() { 27 | return m_SteamItemDef.GetHashCode(); 28 | } 29 | 30 | public static bool operator ==(SteamItemDef_t x, SteamItemDef_t y) { 31 | return x.m_SteamItemDef == y.m_SteamItemDef; 32 | } 33 | 34 | public static bool operator !=(SteamItemDef_t x, SteamItemDef_t y) { 35 | return !(x == y); 36 | } 37 | 38 | public static explicit operator SteamItemDef_t(int value) { 39 | return new SteamItemDef_t(value); 40 | } 41 | 42 | public static explicit operator int(SteamItemDef_t that) { 43 | return that.m_SteamItemDef; 44 | } 45 | 46 | public bool Equals(SteamItemDef_t other) { 47 | return m_SteamItemDef == other.m_SteamItemDef; 48 | } 49 | 50 | public int CompareTo(SteamItemDef_t other) { 51 | return m_SteamItemDef.CompareTo(other.m_SteamItemDef); 52 | } 53 | } 54 | } 55 | 56 | #endif // !DISABLESTEAMWORKS 57 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamInventory/SteamItemDef_t.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6f99d4f5557e12745ae5073ff02c166a 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamInventory/SteamItemInstanceID_t.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct SteamItemInstanceID_t : System.IEquatable, System.IComparable { 12 | public static readonly SteamItemInstanceID_t Invalid = new SteamItemInstanceID_t(0xFFFFFFFFFFFFFFFF); 13 | public ulong m_SteamItemInstanceID; 14 | 15 | public SteamItemInstanceID_t(ulong value) { 16 | m_SteamItemInstanceID = value; 17 | } 18 | 19 | public override string ToString() { 20 | return m_SteamItemInstanceID.ToString(); 21 | } 22 | 23 | public override bool Equals(object other) { 24 | return other is SteamItemInstanceID_t && this == (SteamItemInstanceID_t)other; 25 | } 26 | 27 | public override int GetHashCode() { 28 | return m_SteamItemInstanceID.GetHashCode(); 29 | } 30 | 31 | public static bool operator ==(SteamItemInstanceID_t x, SteamItemInstanceID_t y) { 32 | return x.m_SteamItemInstanceID == y.m_SteamItemInstanceID; 33 | } 34 | 35 | public static bool operator !=(SteamItemInstanceID_t x, SteamItemInstanceID_t y) { 36 | return !(x == y); 37 | } 38 | 39 | public static explicit operator SteamItemInstanceID_t(ulong value) { 40 | return new SteamItemInstanceID_t(value); 41 | } 42 | 43 | public static explicit operator ulong(SteamItemInstanceID_t that) { 44 | return that.m_SteamItemInstanceID; 45 | } 46 | 47 | public bool Equals(SteamItemInstanceID_t other) { 48 | return m_SteamItemInstanceID == other.m_SteamItemInstanceID; 49 | } 50 | 51 | public int CompareTo(SteamItemInstanceID_t other) { 52 | return m_SteamItemInstanceID.CompareTo(other.m_SteamItemInstanceID); 53 | } 54 | } 55 | } 56 | 57 | #endif // !DISABLESTEAMWORKS 58 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamInventory/SteamItemInstanceID_t.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 571600bf2753f4d4080237b34824f61a 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamMatchmaking.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 62367fb8e3369c34aa74c8b01c9e5a06 3 | folderAsset: yes 4 | timeCreated: 1442799863 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamMatchmaking/HServerListRequest.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct HServerListRequest : System.IEquatable { 12 | public static readonly HServerListRequest Invalid = new HServerListRequest(System.IntPtr.Zero); 13 | public System.IntPtr m_HServerListRequest; 14 | 15 | public HServerListRequest(System.IntPtr value) { 16 | m_HServerListRequest = value; 17 | } 18 | 19 | public override string ToString() { 20 | return m_HServerListRequest.ToString(); 21 | } 22 | 23 | public override bool Equals(object other) { 24 | return other is HServerListRequest && this == (HServerListRequest)other; 25 | } 26 | 27 | public override int GetHashCode() { 28 | return m_HServerListRequest.GetHashCode(); 29 | } 30 | 31 | public static bool operator ==(HServerListRequest x, HServerListRequest y) { 32 | return x.m_HServerListRequest == y.m_HServerListRequest; 33 | } 34 | 35 | public static bool operator !=(HServerListRequest x, HServerListRequest y) { 36 | return !(x == y); 37 | } 38 | 39 | public static explicit operator HServerListRequest(System.IntPtr value) { 40 | return new HServerListRequest(value); 41 | } 42 | 43 | public static explicit operator System.IntPtr(HServerListRequest that) { 44 | return that.m_HServerListRequest; 45 | } 46 | 47 | public bool Equals(HServerListRequest other) { 48 | return m_HServerListRequest == other.m_HServerListRequest; 49 | } 50 | } 51 | } 52 | 53 | #endif // !DISABLESTEAMWORKS 54 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamMatchmaking/HServerListRequest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 98e250075b5a85747b6d035f33607ef6 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamMatchmaking/HServerQuery.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct HServerQuery : System.IEquatable, System.IComparable { 12 | public static readonly HServerQuery Invalid = new HServerQuery(-1); 13 | public int m_HServerQuery; 14 | 15 | public HServerQuery(int value) { 16 | m_HServerQuery = value; 17 | } 18 | 19 | public override string ToString() { 20 | return m_HServerQuery.ToString(); 21 | } 22 | 23 | public override bool Equals(object other) { 24 | return other is HServerQuery && this == (HServerQuery)other; 25 | } 26 | 27 | public override int GetHashCode() { 28 | return m_HServerQuery.GetHashCode(); 29 | } 30 | 31 | public static bool operator ==(HServerQuery x, HServerQuery y) { 32 | return x.m_HServerQuery == y.m_HServerQuery; 33 | } 34 | 35 | public static bool operator !=(HServerQuery x, HServerQuery y) { 36 | return !(x == y); 37 | } 38 | 39 | public static explicit operator HServerQuery(int value) { 40 | return new HServerQuery(value); 41 | } 42 | 43 | public static explicit operator int(HServerQuery that) { 44 | return that.m_HServerQuery; 45 | } 46 | 47 | public bool Equals(HServerQuery other) { 48 | return m_HServerQuery == other.m_HServerQuery; 49 | } 50 | 51 | public int CompareTo(HServerQuery other) { 52 | return m_HServerQuery.CompareTo(other.m_HServerQuery); 53 | } 54 | } 55 | } 56 | 57 | #endif // !DISABLESTEAMWORKS 58 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamMatchmaking/HServerQuery.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8829612b3228614468043b2d29a4ee1d 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamNetworking.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c2d6c3999f924a84284176a81ef507a3 3 | folderAsset: yes 4 | timeCreated: 1442799863 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamNetworking/SNetListenSocket_t.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct SNetListenSocket_t : System.IEquatable, System.IComparable { 12 | public uint m_SNetListenSocket; 13 | 14 | public SNetListenSocket_t(uint value) { 15 | m_SNetListenSocket = value; 16 | } 17 | 18 | public override string ToString() { 19 | return m_SNetListenSocket.ToString(); 20 | } 21 | 22 | public override bool Equals(object other) { 23 | return other is SNetListenSocket_t && this == (SNetListenSocket_t)other; 24 | } 25 | 26 | public override int GetHashCode() { 27 | return m_SNetListenSocket.GetHashCode(); 28 | } 29 | 30 | public static bool operator ==(SNetListenSocket_t x, SNetListenSocket_t y) { 31 | return x.m_SNetListenSocket == y.m_SNetListenSocket; 32 | } 33 | 34 | public static bool operator !=(SNetListenSocket_t x, SNetListenSocket_t y) { 35 | return !(x == y); 36 | } 37 | 38 | public static explicit operator SNetListenSocket_t(uint value) { 39 | return new SNetListenSocket_t(value); 40 | } 41 | 42 | public static explicit operator uint(SNetListenSocket_t that) { 43 | return that.m_SNetListenSocket; 44 | } 45 | 46 | public bool Equals(SNetListenSocket_t other) { 47 | return m_SNetListenSocket == other.m_SNetListenSocket; 48 | } 49 | 50 | public int CompareTo(SNetListenSocket_t other) { 51 | return m_SNetListenSocket.CompareTo(other.m_SNetListenSocket); 52 | } 53 | } 54 | } 55 | 56 | #endif // !DISABLESTEAMWORKS 57 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamNetworking/SNetListenSocket_t.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f0606b21fdf0b06429dfd9c0398f1f36 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamNetworking/SNetSocket_t.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct SNetSocket_t : System.IEquatable, System.IComparable { 12 | public uint m_SNetSocket; 13 | 14 | public SNetSocket_t(uint value) { 15 | m_SNetSocket = value; 16 | } 17 | 18 | public override string ToString() { 19 | return m_SNetSocket.ToString(); 20 | } 21 | 22 | public override bool Equals(object other) { 23 | return other is SNetSocket_t && this == (SNetSocket_t)other; 24 | } 25 | 26 | public override int GetHashCode() { 27 | return m_SNetSocket.GetHashCode(); 28 | } 29 | 30 | public static bool operator ==(SNetSocket_t x, SNetSocket_t y) { 31 | return x.m_SNetSocket == y.m_SNetSocket; 32 | } 33 | 34 | public static bool operator !=(SNetSocket_t x, SNetSocket_t y) { 35 | return !(x == y); 36 | } 37 | 38 | public static explicit operator SNetSocket_t(uint value) { 39 | return new SNetSocket_t(value); 40 | } 41 | 42 | public static explicit operator uint(SNetSocket_t that) { 43 | return that.m_SNetSocket; 44 | } 45 | 46 | public bool Equals(SNetSocket_t other) { 47 | return m_SNetSocket == other.m_SNetSocket; 48 | } 49 | 50 | public int CompareTo(SNetSocket_t other) { 51 | return m_SNetSocket.CompareTo(other.m_SNetSocket); 52 | } 53 | } 54 | } 55 | 56 | #endif // !DISABLESTEAMWORKS 57 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamNetworking/SNetSocket_t.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: aa25fe75de3b6954aa77a7bbfe080ab8 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamRemoteStorage.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b741e45a9d4a4ff4491587109c7a1ab3 3 | folderAsset: yes 4 | timeCreated: 1442799863 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamRemoteStorage/PublishedFileId_t.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct PublishedFileId_t : System.IEquatable, System.IComparable { 12 | public static readonly PublishedFileId_t Invalid = new PublishedFileId_t(0); 13 | public ulong m_PublishedFileId; 14 | 15 | public PublishedFileId_t(ulong value) { 16 | m_PublishedFileId = value; 17 | } 18 | 19 | public override string ToString() { 20 | return m_PublishedFileId.ToString(); 21 | } 22 | 23 | public override bool Equals(object other) { 24 | return other is PublishedFileId_t && this == (PublishedFileId_t)other; 25 | } 26 | 27 | public override int GetHashCode() { 28 | return m_PublishedFileId.GetHashCode(); 29 | } 30 | 31 | public static bool operator ==(PublishedFileId_t x, PublishedFileId_t y) { 32 | return x.m_PublishedFileId == y.m_PublishedFileId; 33 | } 34 | 35 | public static bool operator !=(PublishedFileId_t x, PublishedFileId_t y) { 36 | return !(x == y); 37 | } 38 | 39 | public static explicit operator PublishedFileId_t(ulong value) { 40 | return new PublishedFileId_t(value); 41 | } 42 | 43 | public static explicit operator ulong(PublishedFileId_t that) { 44 | return that.m_PublishedFileId; 45 | } 46 | 47 | public bool Equals(PublishedFileId_t other) { 48 | return m_PublishedFileId == other.m_PublishedFileId; 49 | } 50 | 51 | public int CompareTo(PublishedFileId_t other) { 52 | return m_PublishedFileId.CompareTo(other.m_PublishedFileId); 53 | } 54 | } 55 | } 56 | 57 | #endif // !DISABLESTEAMWORKS 58 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamRemoteStorage/PublishedFileId_t.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0778bb1050c34c5499664d3a3bc3a1d9 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamRemoteStorage/PublishedFileUpdateHandle_t.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct PublishedFileUpdateHandle_t : System.IEquatable, System.IComparable { 12 | public static readonly PublishedFileUpdateHandle_t Invalid = new PublishedFileUpdateHandle_t(0xffffffffffffffff); 13 | public ulong m_PublishedFileUpdateHandle; 14 | 15 | public PublishedFileUpdateHandle_t(ulong value) { 16 | m_PublishedFileUpdateHandle = value; 17 | } 18 | 19 | public override string ToString() { 20 | return m_PublishedFileUpdateHandle.ToString(); 21 | } 22 | 23 | public override bool Equals(object other) { 24 | return other is PublishedFileUpdateHandle_t && this == (PublishedFileUpdateHandle_t)other; 25 | } 26 | 27 | public override int GetHashCode() { 28 | return m_PublishedFileUpdateHandle.GetHashCode(); 29 | } 30 | 31 | public static bool operator ==(PublishedFileUpdateHandle_t x, PublishedFileUpdateHandle_t y) { 32 | return x.m_PublishedFileUpdateHandle == y.m_PublishedFileUpdateHandle; 33 | } 34 | 35 | public static bool operator !=(PublishedFileUpdateHandle_t x, PublishedFileUpdateHandle_t y) { 36 | return !(x == y); 37 | } 38 | 39 | public static explicit operator PublishedFileUpdateHandle_t(ulong value) { 40 | return new PublishedFileUpdateHandle_t(value); 41 | } 42 | 43 | public static explicit operator ulong(PublishedFileUpdateHandle_t that) { 44 | return that.m_PublishedFileUpdateHandle; 45 | } 46 | 47 | public bool Equals(PublishedFileUpdateHandle_t other) { 48 | return m_PublishedFileUpdateHandle == other.m_PublishedFileUpdateHandle; 49 | } 50 | 51 | public int CompareTo(PublishedFileUpdateHandle_t other) { 52 | return m_PublishedFileUpdateHandle.CompareTo(other.m_PublishedFileUpdateHandle); 53 | } 54 | } 55 | } 56 | 57 | #endif // !DISABLESTEAMWORKS 58 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamRemoteStorage/PublishedFileUpdateHandle_t.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1c8610a536f27df40aeb40848ea46dbe 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamRemoteStorage/UGCFileWriteStreamHandle_t.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct UGCFileWriteStreamHandle_t : System.IEquatable, System.IComparable { 12 | public static readonly UGCFileWriteStreamHandle_t Invalid = new UGCFileWriteStreamHandle_t(0xffffffffffffffff); 13 | public ulong m_UGCFileWriteStreamHandle; 14 | 15 | public UGCFileWriteStreamHandle_t(ulong value) { 16 | m_UGCFileWriteStreamHandle = value; 17 | } 18 | 19 | public override string ToString() { 20 | return m_UGCFileWriteStreamHandle.ToString(); 21 | } 22 | 23 | public override bool Equals(object other) { 24 | return other is UGCFileWriteStreamHandle_t && this == (UGCFileWriteStreamHandle_t)other; 25 | } 26 | 27 | public override int GetHashCode() { 28 | return m_UGCFileWriteStreamHandle.GetHashCode(); 29 | } 30 | 31 | public static bool operator ==(UGCFileWriteStreamHandle_t x, UGCFileWriteStreamHandle_t y) { 32 | return x.m_UGCFileWriteStreamHandle == y.m_UGCFileWriteStreamHandle; 33 | } 34 | 35 | public static bool operator !=(UGCFileWriteStreamHandle_t x, UGCFileWriteStreamHandle_t y) { 36 | return !(x == y); 37 | } 38 | 39 | public static explicit operator UGCFileWriteStreamHandle_t(ulong value) { 40 | return new UGCFileWriteStreamHandle_t(value); 41 | } 42 | 43 | public static explicit operator ulong(UGCFileWriteStreamHandle_t that) { 44 | return that.m_UGCFileWriteStreamHandle; 45 | } 46 | 47 | public bool Equals(UGCFileWriteStreamHandle_t other) { 48 | return m_UGCFileWriteStreamHandle == other.m_UGCFileWriteStreamHandle; 49 | } 50 | 51 | public int CompareTo(UGCFileWriteStreamHandle_t other) { 52 | return m_UGCFileWriteStreamHandle.CompareTo(other.m_UGCFileWriteStreamHandle); 53 | } 54 | } 55 | } 56 | 57 | #endif // !DISABLESTEAMWORKS 58 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamRemoteStorage/UGCFileWriteStreamHandle_t.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9de8902ac5c5e9243b150e58b5d8e397 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamRemoteStorage/UGCHandle_t.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct UGCHandle_t : System.IEquatable, System.IComparable { 12 | public static readonly UGCHandle_t Invalid = new UGCHandle_t(0xffffffffffffffff); 13 | public ulong m_UGCHandle; 14 | 15 | public UGCHandle_t(ulong value) { 16 | m_UGCHandle = value; 17 | } 18 | 19 | public override string ToString() { 20 | return m_UGCHandle.ToString(); 21 | } 22 | 23 | public override bool Equals(object other) { 24 | return other is UGCHandle_t && this == (UGCHandle_t)other; 25 | } 26 | 27 | public override int GetHashCode() { 28 | return m_UGCHandle.GetHashCode(); 29 | } 30 | 31 | public static bool operator ==(UGCHandle_t x, UGCHandle_t y) { 32 | return x.m_UGCHandle == y.m_UGCHandle; 33 | } 34 | 35 | public static bool operator !=(UGCHandle_t x, UGCHandle_t y) { 36 | return !(x == y); 37 | } 38 | 39 | public static explicit operator UGCHandle_t(ulong value) { 40 | return new UGCHandle_t(value); 41 | } 42 | 43 | public static explicit operator ulong(UGCHandle_t that) { 44 | return that.m_UGCHandle; 45 | } 46 | 47 | public bool Equals(UGCHandle_t other) { 48 | return m_UGCHandle == other.m_UGCHandle; 49 | } 50 | 51 | public int CompareTo(UGCHandle_t other) { 52 | return m_UGCHandle.CompareTo(other.m_UGCHandle); 53 | } 54 | } 55 | } 56 | 57 | #endif // !DISABLESTEAMWORKS 58 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamRemoteStorage/UGCHandle_t.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 76b66d73b31662b4d92989591168c4d6 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamScreenshots.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4470a4c9462ad904c90af5a4fc3e7a9c 3 | folderAsset: yes 4 | timeCreated: 1442799863 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamScreenshots/ScreenshotHandle.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct ScreenshotHandle : System.IEquatable, System.IComparable { 12 | public static readonly ScreenshotHandle Invalid = new ScreenshotHandle(0); 13 | public uint m_ScreenshotHandle; 14 | 15 | public ScreenshotHandle(uint value) { 16 | m_ScreenshotHandle = value; 17 | } 18 | 19 | public override string ToString() { 20 | return m_ScreenshotHandle.ToString(); 21 | } 22 | 23 | public override bool Equals(object other) { 24 | return other is ScreenshotHandle && this == (ScreenshotHandle)other; 25 | } 26 | 27 | public override int GetHashCode() { 28 | return m_ScreenshotHandle.GetHashCode(); 29 | } 30 | 31 | public static bool operator ==(ScreenshotHandle x, ScreenshotHandle y) { 32 | return x.m_ScreenshotHandle == y.m_ScreenshotHandle; 33 | } 34 | 35 | public static bool operator !=(ScreenshotHandle x, ScreenshotHandle y) { 36 | return !(x == y); 37 | } 38 | 39 | public static explicit operator ScreenshotHandle(uint value) { 40 | return new ScreenshotHandle(value); 41 | } 42 | 43 | public static explicit operator uint(ScreenshotHandle that) { 44 | return that.m_ScreenshotHandle; 45 | } 46 | 47 | public bool Equals(ScreenshotHandle other) { 48 | return m_ScreenshotHandle == other.m_ScreenshotHandle; 49 | } 50 | 51 | public int CompareTo(ScreenshotHandle other) { 52 | return m_ScreenshotHandle.CompareTo(other.m_ScreenshotHandle); 53 | } 54 | } 55 | } 56 | 57 | #endif // !DISABLESTEAMWORKS 58 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamScreenshots/ScreenshotHandle.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1e963a0db85f8364fb9c5136b40e1693 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamTypes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6fb77e488efdd554795f2bfcafadc51f 3 | folderAsset: yes 4 | timeCreated: 1442799863 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamTypes/AccountID_t.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct AccountID_t : System.IEquatable, System.IComparable { 12 | public uint m_AccountID; 13 | 14 | public AccountID_t(uint value) { 15 | m_AccountID = value; 16 | } 17 | 18 | public override string ToString() { 19 | return m_AccountID.ToString(); 20 | } 21 | 22 | public override bool Equals(object other) { 23 | return other is AccountID_t && this == (AccountID_t)other; 24 | } 25 | 26 | public override int GetHashCode() { 27 | return m_AccountID.GetHashCode(); 28 | } 29 | 30 | public static bool operator ==(AccountID_t x, AccountID_t y) { 31 | return x.m_AccountID == y.m_AccountID; 32 | } 33 | 34 | public static bool operator !=(AccountID_t x, AccountID_t y) { 35 | return !(x == y); 36 | } 37 | 38 | public static explicit operator AccountID_t(uint value) { 39 | return new AccountID_t(value); 40 | } 41 | 42 | public static explicit operator uint(AccountID_t that) { 43 | return that.m_AccountID; 44 | } 45 | 46 | public bool Equals(AccountID_t other) { 47 | return m_AccountID == other.m_AccountID; 48 | } 49 | 50 | public int CompareTo(AccountID_t other) { 51 | return m_AccountID.CompareTo(other.m_AccountID); 52 | } 53 | } 54 | } 55 | 56 | #endif // !DISABLESTEAMWORKS 57 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamTypes/AccountID_t.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4b164be70eff468448af827f31060fbf 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamTypes/AppId_t.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct AppId_t : System.IEquatable, System.IComparable { 12 | public static readonly AppId_t Invalid = new AppId_t(0x0); 13 | public uint m_AppId; 14 | 15 | public AppId_t(uint value) { 16 | m_AppId = value; 17 | } 18 | 19 | public override string ToString() { 20 | return m_AppId.ToString(); 21 | } 22 | 23 | public override bool Equals(object other) { 24 | return other is AppId_t && this == (AppId_t)other; 25 | } 26 | 27 | public override int GetHashCode() { 28 | return m_AppId.GetHashCode(); 29 | } 30 | 31 | public static bool operator ==(AppId_t x, AppId_t y) { 32 | return x.m_AppId == y.m_AppId; 33 | } 34 | 35 | public static bool operator !=(AppId_t x, AppId_t y) { 36 | return !(x == y); 37 | } 38 | 39 | public static explicit operator AppId_t(uint value) { 40 | return new AppId_t(value); 41 | } 42 | 43 | public static explicit operator uint(AppId_t that) { 44 | return that.m_AppId; 45 | } 46 | 47 | public bool Equals(AppId_t other) { 48 | return m_AppId == other.m_AppId; 49 | } 50 | 51 | public int CompareTo(AppId_t other) { 52 | return m_AppId.CompareTo(other.m_AppId); 53 | } 54 | } 55 | } 56 | 57 | #endif // !DISABLESTEAMWORKS 58 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamTypes/AppId_t.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9ec36edf9bcadae4795a546ce6adba87 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamTypes/DepotId_t.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct DepotId_t : System.IEquatable, System.IComparable { 12 | public static readonly DepotId_t Invalid = new DepotId_t(0x0); 13 | public uint m_DepotId; 14 | 15 | public DepotId_t(uint value) { 16 | m_DepotId = value; 17 | } 18 | 19 | public override string ToString() { 20 | return m_DepotId.ToString(); 21 | } 22 | 23 | public override bool Equals(object other) { 24 | return other is DepotId_t && this == (DepotId_t)other; 25 | } 26 | 27 | public override int GetHashCode() { 28 | return m_DepotId.GetHashCode(); 29 | } 30 | 31 | public static bool operator ==(DepotId_t x, DepotId_t y) { 32 | return x.m_DepotId == y.m_DepotId; 33 | } 34 | 35 | public static bool operator !=(DepotId_t x, DepotId_t y) { 36 | return !(x == y); 37 | } 38 | 39 | public static explicit operator DepotId_t(uint value) { 40 | return new DepotId_t(value); 41 | } 42 | 43 | public static explicit operator uint(DepotId_t that) { 44 | return that.m_DepotId; 45 | } 46 | 47 | public bool Equals(DepotId_t other) { 48 | return m_DepotId == other.m_DepotId; 49 | } 50 | 51 | public int CompareTo(DepotId_t other) { 52 | return m_DepotId.CompareTo(other.m_DepotId); 53 | } 54 | } 55 | } 56 | 57 | #endif // !DISABLESTEAMWORKS 58 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamTypes/DepotId_t.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8ad39d6e31d8fea45b52c216fb922f78 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamTypes/ManifestId_t.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct ManifestId_t : System.IEquatable, System.IComparable { 12 | public static readonly ManifestId_t Invalid = new ManifestId_t(0x0); 13 | public ulong m_ManifestId; 14 | 15 | public ManifestId_t(ulong value) { 16 | m_ManifestId = value; 17 | } 18 | 19 | public override string ToString() { 20 | return m_ManifestId.ToString(); 21 | } 22 | 23 | public override bool Equals(object other) { 24 | return other is ManifestId_t && this == (ManifestId_t)other; 25 | } 26 | 27 | public override int GetHashCode() { 28 | return m_ManifestId.GetHashCode(); 29 | } 30 | 31 | public static bool operator ==(ManifestId_t x, ManifestId_t y) { 32 | return x.m_ManifestId == y.m_ManifestId; 33 | } 34 | 35 | public static bool operator !=(ManifestId_t x, ManifestId_t y) { 36 | return !(x == y); 37 | } 38 | 39 | public static explicit operator ManifestId_t(ulong value) { 40 | return new ManifestId_t(value); 41 | } 42 | 43 | public static explicit operator ulong(ManifestId_t that) { 44 | return that.m_ManifestId; 45 | } 46 | 47 | public bool Equals(ManifestId_t other) { 48 | return m_ManifestId == other.m_ManifestId; 49 | } 50 | 51 | public int CompareTo(ManifestId_t other) { 52 | return m_ManifestId.CompareTo(other.m_ManifestId); 53 | } 54 | } 55 | } 56 | 57 | #endif // !DISABLESTEAMWORKS 58 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamTypes/ManifestId_t.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5531adad6e9dc7e4b99c1f0987524b3e 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamTypes/SteamAPICall_t.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct SteamAPICall_t : System.IEquatable, System.IComparable { 12 | public static readonly SteamAPICall_t Invalid = new SteamAPICall_t(0x0); 13 | public ulong m_SteamAPICall; 14 | 15 | public SteamAPICall_t(ulong value) { 16 | m_SteamAPICall = value; 17 | } 18 | 19 | public override string ToString() { 20 | return m_SteamAPICall.ToString(); 21 | } 22 | 23 | public override bool Equals(object other) { 24 | return other is SteamAPICall_t && this == (SteamAPICall_t)other; 25 | } 26 | 27 | public override int GetHashCode() { 28 | return m_SteamAPICall.GetHashCode(); 29 | } 30 | 31 | public static bool operator ==(SteamAPICall_t x, SteamAPICall_t y) { 32 | return x.m_SteamAPICall == y.m_SteamAPICall; 33 | } 34 | 35 | public static bool operator !=(SteamAPICall_t x, SteamAPICall_t y) { 36 | return !(x == y); 37 | } 38 | 39 | public static explicit operator SteamAPICall_t(ulong value) { 40 | return new SteamAPICall_t(value); 41 | } 42 | 43 | public static explicit operator ulong(SteamAPICall_t that) { 44 | return that.m_SteamAPICall; 45 | } 46 | 47 | public bool Equals(SteamAPICall_t other) { 48 | return m_SteamAPICall == other.m_SteamAPICall; 49 | } 50 | 51 | public int CompareTo(SteamAPICall_t other) { 52 | return m_SteamAPICall.CompareTo(other.m_SteamAPICall); 53 | } 54 | } 55 | } 56 | 57 | #endif // !DISABLESTEAMWORKS 58 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamTypes/SteamAPICall_t.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd4f20a8f86503e4cb5f196c02879916 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamUGC.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 769a2cfd3f0236342a8e2880070e2679 3 | folderAsset: yes 4 | timeCreated: 1442799863 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamUGC/UGCQueryHandle_t.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct UGCQueryHandle_t : System.IEquatable, System.IComparable { 12 | public static readonly UGCQueryHandle_t Invalid = new UGCQueryHandle_t(0xffffffffffffffff); 13 | public ulong m_UGCQueryHandle; 14 | 15 | public UGCQueryHandle_t(ulong value) { 16 | m_UGCQueryHandle = value; 17 | } 18 | 19 | public override string ToString() { 20 | return m_UGCQueryHandle.ToString(); 21 | } 22 | 23 | public override bool Equals(object other) { 24 | return other is UGCQueryHandle_t && this == (UGCQueryHandle_t)other; 25 | } 26 | 27 | public override int GetHashCode() { 28 | return m_UGCQueryHandle.GetHashCode(); 29 | } 30 | 31 | public static bool operator ==(UGCQueryHandle_t x, UGCQueryHandle_t y) { 32 | return x.m_UGCQueryHandle == y.m_UGCQueryHandle; 33 | } 34 | 35 | public static bool operator !=(UGCQueryHandle_t x, UGCQueryHandle_t y) { 36 | return !(x == y); 37 | } 38 | 39 | public static explicit operator UGCQueryHandle_t(ulong value) { 40 | return new UGCQueryHandle_t(value); 41 | } 42 | 43 | public static explicit operator ulong(UGCQueryHandle_t that) { 44 | return that.m_UGCQueryHandle; 45 | } 46 | 47 | public bool Equals(UGCQueryHandle_t other) { 48 | return m_UGCQueryHandle == other.m_UGCQueryHandle; 49 | } 50 | 51 | public int CompareTo(UGCQueryHandle_t other) { 52 | return m_UGCQueryHandle.CompareTo(other.m_UGCQueryHandle); 53 | } 54 | } 55 | } 56 | 57 | #endif // !DISABLESTEAMWORKS 58 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamUGC/UGCQueryHandle_t.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ee79f62a129c57047bb2cced70d177a9 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamUGC/UGCUpdateHandle_t.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct UGCUpdateHandle_t : System.IEquatable, System.IComparable { 12 | public static readonly UGCUpdateHandle_t Invalid = new UGCUpdateHandle_t(0xffffffffffffffff); 13 | public ulong m_UGCUpdateHandle; 14 | 15 | public UGCUpdateHandle_t(ulong value) { 16 | m_UGCUpdateHandle = value; 17 | } 18 | 19 | public override string ToString() { 20 | return m_UGCUpdateHandle.ToString(); 21 | } 22 | 23 | public override bool Equals(object other) { 24 | return other is UGCUpdateHandle_t && this == (UGCUpdateHandle_t)other; 25 | } 26 | 27 | public override int GetHashCode() { 28 | return m_UGCUpdateHandle.GetHashCode(); 29 | } 30 | 31 | public static bool operator ==(UGCUpdateHandle_t x, UGCUpdateHandle_t y) { 32 | return x.m_UGCUpdateHandle == y.m_UGCUpdateHandle; 33 | } 34 | 35 | public static bool operator !=(UGCUpdateHandle_t x, UGCUpdateHandle_t y) { 36 | return !(x == y); 37 | } 38 | 39 | public static explicit operator UGCUpdateHandle_t(ulong value) { 40 | return new UGCUpdateHandle_t(value); 41 | } 42 | 43 | public static explicit operator ulong(UGCUpdateHandle_t that) { 44 | return that.m_UGCUpdateHandle; 45 | } 46 | 47 | public bool Equals(UGCUpdateHandle_t other) { 48 | return m_UGCUpdateHandle == other.m_UGCUpdateHandle; 49 | } 50 | 51 | public int CompareTo(UGCUpdateHandle_t other) { 52 | return m_UGCUpdateHandle.CompareTo(other.m_UGCUpdateHandle); 53 | } 54 | } 55 | } 56 | 57 | #endif // !DISABLESTEAMWORKS 58 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamUGC/UGCUpdateHandle_t.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8b2b808e859c4634b9b42ab1f549af71 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamUnifiedMessages.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 33ab2a82742c62e438c611daa093ec36 3 | folderAsset: yes 4 | timeCreated: 1442799863 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamUnifiedMessages/ClientUnifiedMessageHandle.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct ClientUnifiedMessageHandle : System.IEquatable, System.IComparable { 12 | public static readonly ClientUnifiedMessageHandle Invalid = new ClientUnifiedMessageHandle(0); 13 | public ulong m_ClientUnifiedMessageHandle; 14 | 15 | public ClientUnifiedMessageHandle(ulong value) { 16 | m_ClientUnifiedMessageHandle = value; 17 | } 18 | 19 | public override string ToString() { 20 | return m_ClientUnifiedMessageHandle.ToString(); 21 | } 22 | 23 | public override bool Equals(object other) { 24 | return other is ClientUnifiedMessageHandle && this == (ClientUnifiedMessageHandle)other; 25 | } 26 | 27 | public override int GetHashCode() { 28 | return m_ClientUnifiedMessageHandle.GetHashCode(); 29 | } 30 | 31 | public static bool operator ==(ClientUnifiedMessageHandle x, ClientUnifiedMessageHandle y) { 32 | return x.m_ClientUnifiedMessageHandle == y.m_ClientUnifiedMessageHandle; 33 | } 34 | 35 | public static bool operator !=(ClientUnifiedMessageHandle x, ClientUnifiedMessageHandle y) { 36 | return !(x == y); 37 | } 38 | 39 | public static explicit operator ClientUnifiedMessageHandle(ulong value) { 40 | return new ClientUnifiedMessageHandle(value); 41 | } 42 | 43 | public static explicit operator ulong(ClientUnifiedMessageHandle that) { 44 | return that.m_ClientUnifiedMessageHandle; 45 | } 46 | 47 | public bool Equals(ClientUnifiedMessageHandle other) { 48 | return m_ClientUnifiedMessageHandle == other.m_ClientUnifiedMessageHandle; 49 | } 50 | 51 | public int CompareTo(ClientUnifiedMessageHandle other) { 52 | return m_ClientUnifiedMessageHandle.CompareTo(other.m_ClientUnifiedMessageHandle); 53 | } 54 | } 55 | } 56 | 57 | #endif // !DISABLESTEAMWORKS 58 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamUnifiedMessages/ClientUnifiedMessageHandle.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4da463d1297c3f843b0856e262bf4f74 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamUserStats.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 705b9d947d825594fa9a669854e24345 3 | folderAsset: yes 4 | timeCreated: 1442799863 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamUserStats/SteamLeaderboardEntries_t.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct SteamLeaderboardEntries_t : System.IEquatable, System.IComparable { 12 | public ulong m_SteamLeaderboardEntries; 13 | 14 | public SteamLeaderboardEntries_t(ulong value) { 15 | m_SteamLeaderboardEntries = value; 16 | } 17 | 18 | public override string ToString() { 19 | return m_SteamLeaderboardEntries.ToString(); 20 | } 21 | 22 | public override bool Equals(object other) { 23 | return other is SteamLeaderboardEntries_t && this == (SteamLeaderboardEntries_t)other; 24 | } 25 | 26 | public override int GetHashCode() { 27 | return m_SteamLeaderboardEntries.GetHashCode(); 28 | } 29 | 30 | public static bool operator ==(SteamLeaderboardEntries_t x, SteamLeaderboardEntries_t y) { 31 | return x.m_SteamLeaderboardEntries == y.m_SteamLeaderboardEntries; 32 | } 33 | 34 | public static bool operator !=(SteamLeaderboardEntries_t x, SteamLeaderboardEntries_t y) { 35 | return !(x == y); 36 | } 37 | 38 | public static explicit operator SteamLeaderboardEntries_t(ulong value) { 39 | return new SteamLeaderboardEntries_t(value); 40 | } 41 | 42 | public static explicit operator ulong(SteamLeaderboardEntries_t that) { 43 | return that.m_SteamLeaderboardEntries; 44 | } 45 | 46 | public bool Equals(SteamLeaderboardEntries_t other) { 47 | return m_SteamLeaderboardEntries == other.m_SteamLeaderboardEntries; 48 | } 49 | 50 | public int CompareTo(SteamLeaderboardEntries_t other) { 51 | return m_SteamLeaderboardEntries.CompareTo(other.m_SteamLeaderboardEntries); 52 | } 53 | } 54 | } 55 | 56 | #endif // !DISABLESTEAMWORKS 57 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamUserStats/SteamLeaderboardEntries_t.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f46d9e61fc8b94e40a66438300c90b55 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamUserStats/SteamLeaderboard_t.cs: -------------------------------------------------------------------------------- 1 | // This file is provided under The MIT License as part of Steamworks.NET. 2 | // Copyright (c) 2013-2017 Riley Labrecque 3 | // Please see the included LICENSE.txt for additional information. 4 | 5 | // Changes to this file will be reverted when you update Steamworks.NET 6 | 7 | #if !DISABLESTEAMWORKS 8 | 9 | namespace Steamworks { 10 | [System.Serializable] 11 | public struct SteamLeaderboard_t : System.IEquatable, System.IComparable { 12 | public ulong m_SteamLeaderboard; 13 | 14 | public SteamLeaderboard_t(ulong value) { 15 | m_SteamLeaderboard = value; 16 | } 17 | 18 | public override string ToString() { 19 | return m_SteamLeaderboard.ToString(); 20 | } 21 | 22 | public override bool Equals(object other) { 23 | return other is SteamLeaderboard_t && this == (SteamLeaderboard_t)other; 24 | } 25 | 26 | public override int GetHashCode() { 27 | return m_SteamLeaderboard.GetHashCode(); 28 | } 29 | 30 | public static bool operator ==(SteamLeaderboard_t x, SteamLeaderboard_t y) { 31 | return x.m_SteamLeaderboard == y.m_SteamLeaderboard; 32 | } 33 | 34 | public static bool operator !=(SteamLeaderboard_t x, SteamLeaderboard_t y) { 35 | return !(x == y); 36 | } 37 | 38 | public static explicit operator SteamLeaderboard_t(ulong value) { 39 | return new SteamLeaderboard_t(value); 40 | } 41 | 42 | public static explicit operator ulong(SteamLeaderboard_t that) { 43 | return that.m_SteamLeaderboard; 44 | } 45 | 46 | public bool Equals(SteamLeaderboard_t other) { 47 | return m_SteamLeaderboard == other.m_SteamLeaderboard; 48 | } 49 | 50 | public int CompareTo(SteamLeaderboard_t other) { 51 | return m_SteamLeaderboard.CompareTo(other.m_SteamLeaderboard); 52 | } 53 | } 54 | } 55 | 56 | #endif // !DISABLESTEAMWORKS 57 | -------------------------------------------------------------------------------- /Assets/Plugins/Steamworks.NET/types/SteamUserStats/SteamLeaderboard_t.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3972a90ddb5559843a701a4f9f6f75ec 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /Assets/Plugins/x86.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e02f08bbfd56a3f4d95552379d8e472f 3 | folderAsset: yes 4 | timeCreated: 1442799863 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/x86/CSteamworks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlabrecque/Steamworks.NET-GameServerTest/f541309f1a2428ad3f759a2b5888a9f42ba17159/Assets/Plugins/x86/CSteamworks.dll -------------------------------------------------------------------------------- /Assets/Plugins/x86/CSteamworks.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 49a703c2e06d22a459d7bc18152c603e 3 | timeCreated: 1487815866 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | isOverridable: 0 11 | platformData: 12 | Any: 13 | enabled: 0 14 | settings: {} 15 | Editor: 16 | enabled: 1 17 | settings: 18 | CPU: x86 19 | DefaultValueInitialized: true 20 | OS: Windows 21 | Linux: 22 | enabled: 0 23 | settings: 24 | CPU: x86 25 | Linux64: 26 | enabled: 0 27 | settings: 28 | CPU: None 29 | LinuxUniversal: 30 | enabled: 0 31 | settings: 32 | CPU: x86 33 | OSXIntel: 34 | enabled: 0 35 | settings: 36 | CPU: AnyCPU 37 | OSXIntel64: 38 | enabled: 0 39 | settings: 40 | CPU: None 41 | OSXUniversal: 42 | enabled: 0 43 | settings: 44 | CPU: x86 45 | Win: 46 | enabled: 1 47 | settings: 48 | CPU: AnyCPU 49 | Win64: 50 | enabled: 0 51 | settings: 52 | CPU: None 53 | userData: 54 | assetBundleName: 55 | assetBundleVariant: 56 | -------------------------------------------------------------------------------- /Assets/Plugins/x86/libCSteamworks.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlabrecque/Steamworks.NET-GameServerTest/f541309f1a2428ad3f759a2b5888a9f42ba17159/Assets/Plugins/x86/libCSteamworks.so -------------------------------------------------------------------------------- /Assets/Plugins/x86/libCSteamworks.so.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: abc8161132944334d95f6efe5153ce2d 3 | timeCreated: 1487815866 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | isOverridable: 0 11 | platformData: 12 | Any: 13 | enabled: 0 14 | settings: {} 15 | Editor: 16 | enabled: 1 17 | settings: 18 | CPU: x86 19 | DefaultValueInitialized: true 20 | OS: Linux 21 | Linux: 22 | enabled: 1 23 | settings: 24 | CPU: x86 25 | Linux64: 26 | enabled: 0 27 | settings: 28 | CPU: None 29 | LinuxUniversal: 30 | enabled: 1 31 | settings: 32 | CPU: x86 33 | OSXIntel: 34 | enabled: 0 35 | settings: 36 | CPU: AnyCPU 37 | OSXIntel64: 38 | enabled: 0 39 | settings: 40 | CPU: None 41 | OSXUniversal: 42 | enabled: 0 43 | settings: 44 | CPU: x86 45 | Win: 46 | enabled: 0 47 | settings: 48 | CPU: AnyCPU 49 | Win64: 50 | enabled: 0 51 | settings: 52 | CPU: None 53 | userData: 54 | assetBundleName: 55 | assetBundleVariant: 56 | -------------------------------------------------------------------------------- /Assets/Plugins/x86/libsteam_api.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlabrecque/Steamworks.NET-GameServerTest/f541309f1a2428ad3f759a2b5888a9f42ba17159/Assets/Plugins/x86/libsteam_api.so -------------------------------------------------------------------------------- /Assets/Plugins/x86/libsteam_api.so.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c3fdf34df3c356148978339d743b28d7 3 | timeCreated: 1487815866 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | isOverridable: 0 11 | platformData: 12 | Any: 13 | enabled: 0 14 | settings: {} 15 | Editor: 16 | enabled: 1 17 | settings: 18 | CPU: x86 19 | DefaultValueInitialized: true 20 | OS: Linux 21 | Linux: 22 | enabled: 1 23 | settings: 24 | CPU: x86 25 | Linux64: 26 | enabled: 0 27 | settings: 28 | CPU: None 29 | LinuxUniversal: 30 | enabled: 1 31 | settings: 32 | CPU: x86 33 | OSXIntel: 34 | enabled: 0 35 | settings: 36 | CPU: AnyCPU 37 | OSXIntel64: 38 | enabled: 0 39 | settings: 40 | CPU: None 41 | OSXUniversal: 42 | enabled: 0 43 | settings: 44 | CPU: x86 45 | Win: 46 | enabled: 0 47 | settings: 48 | CPU: AnyCPU 49 | Win64: 50 | enabled: 0 51 | settings: 52 | CPU: None 53 | userData: 54 | assetBundleName: 55 | assetBundleVariant: 56 | -------------------------------------------------------------------------------- /Assets/Plugins/x86/steam_api.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlabrecque/Steamworks.NET-GameServerTest/f541309f1a2428ad3f759a2b5888a9f42ba17159/Assets/Plugins/x86/steam_api.dll -------------------------------------------------------------------------------- /Assets/Plugins/x86/steam_api.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 242bc3c44eaa71847ab220a642d6b726 3 | timeCreated: 1487815866 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | isOverridable: 0 11 | platformData: 12 | Any: 13 | enabled: 0 14 | settings: {} 15 | Editor: 16 | enabled: 1 17 | settings: 18 | CPU: x86 19 | DefaultValueInitialized: true 20 | OS: Windows 21 | Linux: 22 | enabled: 0 23 | settings: 24 | CPU: x86 25 | Linux64: 26 | enabled: 0 27 | settings: 28 | CPU: None 29 | LinuxUniversal: 30 | enabled: 0 31 | settings: 32 | CPU: x86 33 | OSXIntel: 34 | enabled: 0 35 | settings: 36 | CPU: AnyCPU 37 | OSXIntel64: 38 | enabled: 0 39 | settings: 40 | CPU: None 41 | OSXUniversal: 42 | enabled: 0 43 | settings: 44 | CPU: x86 45 | Win: 46 | enabled: 0 47 | settings: 48 | CPU: AnyCPU 49 | Win64: 50 | enabled: 0 51 | settings: 52 | CPU: None 53 | userData: 54 | assetBundleName: 55 | assetBundleVariant: 56 | -------------------------------------------------------------------------------- /Assets/Plugins/x86_64.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0998dd1993ea5c74aa8064701fbb0c24 3 | folderAsset: yes 4 | timeCreated: 1442799863 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Plugins/x86_64/CSteamworks.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlabrecque/Steamworks.NET-GameServerTest/f541309f1a2428ad3f759a2b5888a9f42ba17159/Assets/Plugins/x86_64/CSteamworks.dll -------------------------------------------------------------------------------- /Assets/Plugins/x86_64/CSteamworks.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4c1b08d695e51594eae6d4baa833d7b4 3 | timeCreated: 1487815866 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | isOverridable: 0 11 | platformData: 12 | Any: 13 | enabled: 0 14 | settings: {} 15 | Editor: 16 | enabled: 1 17 | settings: 18 | CPU: x86_64 19 | DefaultValueInitialized: true 20 | OS: Windows 21 | Linux: 22 | enabled: 0 23 | settings: 24 | CPU: None 25 | Linux64: 26 | enabled: 0 27 | settings: 28 | CPU: x86_64 29 | LinuxUniversal: 30 | enabled: 0 31 | settings: 32 | CPU: x86_64 33 | OSXIntel: 34 | enabled: 0 35 | settings: 36 | CPU: None 37 | OSXIntel64: 38 | enabled: 0 39 | settings: 40 | CPU: AnyCPU 41 | OSXUniversal: 42 | enabled: 0 43 | settings: 44 | CPU: x86_64 45 | Win: 46 | enabled: 0 47 | settings: 48 | CPU: None 49 | Win64: 50 | enabled: 1 51 | settings: 52 | CPU: AnyCPU 53 | userData: 54 | assetBundleName: 55 | assetBundleVariant: 56 | -------------------------------------------------------------------------------- /Assets/Plugins/x86_64/libCSteamworks.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlabrecque/Steamworks.NET-GameServerTest/f541309f1a2428ad3f759a2b5888a9f42ba17159/Assets/Plugins/x86_64/libCSteamworks.so -------------------------------------------------------------------------------- /Assets/Plugins/x86_64/libCSteamworks.so.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 83f11aa3dcfbd2c48a1d56d44e2ffbac 3 | timeCreated: 1487815866 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | isOverridable: 0 11 | platformData: 12 | Any: 13 | enabled: 0 14 | settings: {} 15 | Editor: 16 | enabled: 1 17 | settings: 18 | CPU: x86_64 19 | DefaultValueInitialized: true 20 | OS: Linux 21 | Linux: 22 | enabled: 0 23 | settings: 24 | CPU: None 25 | Linux64: 26 | enabled: 1 27 | settings: 28 | CPU: x86_64 29 | LinuxUniversal: 30 | enabled: 1 31 | settings: 32 | CPU: x86_64 33 | OSXIntel: 34 | enabled: 0 35 | settings: 36 | CPU: None 37 | OSXIntel64: 38 | enabled: 0 39 | settings: 40 | CPU: AnyCPU 41 | OSXUniversal: 42 | enabled: 0 43 | settings: 44 | CPU: x86_64 45 | Win: 46 | enabled: 0 47 | settings: 48 | CPU: None 49 | Win64: 50 | enabled: 0 51 | settings: 52 | CPU: AnyCPU 53 | userData: 54 | assetBundleName: 55 | assetBundleVariant: 56 | -------------------------------------------------------------------------------- /Assets/Plugins/x86_64/libsteam_api.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlabrecque/Steamworks.NET-GameServerTest/f541309f1a2428ad3f759a2b5888a9f42ba17159/Assets/Plugins/x86_64/libsteam_api.so -------------------------------------------------------------------------------- /Assets/Plugins/x86_64/libsteam_api.so.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3409233563c009e4daae880538ec3f3b 3 | timeCreated: 1487815866 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | isOverridable: 0 11 | platformData: 12 | Any: 13 | enabled: 0 14 | settings: {} 15 | Editor: 16 | enabled: 1 17 | settings: 18 | CPU: x86_64 19 | DefaultValueInitialized: true 20 | OS: Linux 21 | Linux: 22 | enabled: 0 23 | settings: 24 | CPU: None 25 | Linux64: 26 | enabled: 1 27 | settings: 28 | CPU: x86_64 29 | LinuxUniversal: 30 | enabled: 1 31 | settings: 32 | CPU: x86_64 33 | OSXIntel: 34 | enabled: 0 35 | settings: 36 | CPU: None 37 | OSXIntel64: 38 | enabled: 0 39 | settings: 40 | CPU: AnyCPU 41 | OSXUniversal: 42 | enabled: 0 43 | settings: 44 | CPU: x86_64 45 | Win: 46 | enabled: 0 47 | settings: 48 | CPU: None 49 | Win64: 50 | enabled: 0 51 | settings: 52 | CPU: AnyCPU 53 | userData: 54 | assetBundleName: 55 | assetBundleVariant: 56 | -------------------------------------------------------------------------------- /Assets/Plugins/x86_64/steam_api64.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlabrecque/Steamworks.NET-GameServerTest/f541309f1a2428ad3f759a2b5888a9f42ba17159/Assets/Plugins/x86_64/steam_api64.dll -------------------------------------------------------------------------------- /Assets/Plugins/x86_64/steam_api64.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 72b00848742832f45b39eb0efceef9b5 3 | timeCreated: 1487815866 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | isOverridable: 0 11 | platformData: 12 | Any: 13 | enabled: 0 14 | settings: {} 15 | Editor: 16 | enabled: 1 17 | settings: 18 | CPU: x86_64 19 | DefaultValueInitialized: true 20 | OS: Windows 21 | Linux: 22 | enabled: 0 23 | settings: 24 | CPU: None 25 | Linux64: 26 | enabled: 0 27 | settings: 28 | CPU: x86_64 29 | LinuxUniversal: 30 | enabled: 0 31 | settings: 32 | CPU: x86_64 33 | OSXIntel: 34 | enabled: 0 35 | settings: 36 | CPU: None 37 | OSXIntel64: 38 | enabled: 0 39 | settings: 40 | CPU: AnyCPU 41 | OSXUniversal: 42 | enabled: 0 43 | settings: 44 | CPU: x86_64 45 | Win: 46 | enabled: 0 47 | settings: 48 | CPU: None 49 | Win64: 50 | enabled: 0 51 | settings: 52 | CPU: AnyCPU 53 | userData: 54 | assetBundleName: 55 | assetBundleVariant: 56 | -------------------------------------------------------------------------------- /Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 624219da2b00c6c4b9780374a650194e 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Scenes/scene.unity: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlabrecque/Steamworks.NET-GameServerTest/f541309f1a2428ad3f759a2b5888a9f42ba17159/Assets/Scenes/scene.unity -------------------------------------------------------------------------------- /Assets/Scenes/scene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9d63eaca8642fca42bb3927801076bd4 3 | DefaultImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /Assets/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5278d0418c513ad4d973aeddcc1ce035 3 | folderAsset: yes 4 | DefaultImporter: 5 | userData: 6 | -------------------------------------------------------------------------------- /Assets/Scripts/GameServerTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4bebfdc735fb38d418ac011c01990c15 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Scripts/Logger.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections.Generic; 3 | 4 | public class Logger : MonoBehaviour { 5 | #if !UNITY_EDITOR 6 | static Queue queue = new Queue(6); 7 | void OnEnable() { 8 | Application.RegisterLogCallback(HandleLog); 9 | } 10 | 11 | void OnDisable() { 12 | Application.RegisterLogCallback(null); 13 | } 14 | 15 | void OnGUI() { 16 | GUILayout.BeginArea(new Rect(0, Screen.height - 140, Screen.width, 140)); 17 | foreach (string s in queue) { 18 | GUILayout.Label(s); 19 | } 20 | GUILayout.EndArea(); 21 | } 22 | 23 | void HandleLog(string message, string stackTrace, LogType type) { 24 | queue.Enqueue(Time.time + " - " + message); 25 | if (queue.Count > 5) { 26 | queue.Dequeue(); 27 | } 28 | } 29 | #endif 30 | } 31 | -------------------------------------------------------------------------------- /Assets/Scripts/Logger.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ab12582c09dc3054b84569c6e889d60b 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /Assets/Scripts/SceneSwitcher.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | /// 5 | /// This is to test if Steamworks.NET behaves well when switching between scenes. 6 | /// 7 | public class SceneSwitcher : MonoBehaviour { 8 | void Update() { 9 | if (Input.GetKeyDown(KeyCode.F5)) { 10 | if (Application.loadedLevel == 0) { 11 | Application.LoadLevel(1); 12 | } 13 | else { 14 | Application.LoadLevel(0); 15 | } 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Assets/Scripts/SceneSwitcher.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cf808364797b1dd4491ffd139efff999 3 | MonoImporter: 4 | serializedVersion: 2 5 | defaultReferences: [] 6 | executionOrder: 0 7 | icon: {instanceID: 0} 8 | userData: 9 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | * Riley Labrecque - 2015 - Public Domain 2 | * 3 | * This software is in the public domain. Where that dedication is not 4 | * recognized, you are granted a perpetual, irrevokable license to copy 5 | * and modify these files as you see fit. 6 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlabrecque/Steamworks.NET-GameServerTest/f541309f1a2428ad3f759a2b5888a9f42ba17159/ProjectSettings/AudioManager.asset -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlabrecque/Steamworks.NET-GameServerTest/f541309f1a2428ad3f759a2b5888a9f42ba17159/ProjectSettings/ClusterInputManager.asset -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlabrecque/Steamworks.NET-GameServerTest/f541309f1a2428ad3f759a2b5888a9f42ba17159/ProjectSettings/DynamicsManager.asset -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlabrecque/Steamworks.NET-GameServerTest/f541309f1a2428ad3f759a2b5888a9f42ba17159/ProjectSettings/EditorBuildSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlabrecque/Steamworks.NET-GameServerTest/f541309f1a2428ad3f759a2b5888a9f42ba17159/ProjectSettings/EditorSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlabrecque/Steamworks.NET-GameServerTest/f541309f1a2428ad3f759a2b5888a9f42ba17159/ProjectSettings/GraphicsSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlabrecque/Steamworks.NET-GameServerTest/f541309f1a2428ad3f759a2b5888a9f42ba17159/ProjectSettings/InputManager.asset -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlabrecque/Steamworks.NET-GameServerTest/f541309f1a2428ad3f759a2b5888a9f42ba17159/ProjectSettings/NavMeshAreas.asset -------------------------------------------------------------------------------- /ProjectSettings/NavMeshLayers.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlabrecque/Steamworks.NET-GameServerTest/f541309f1a2428ad3f759a2b5888a9f42ba17159/ProjectSettings/NavMeshLayers.asset -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlabrecque/Steamworks.NET-GameServerTest/f541309f1a2428ad3f759a2b5888a9f42ba17159/ProjectSettings/NetworkManager.asset -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlabrecque/Steamworks.NET-GameServerTest/f541309f1a2428ad3f759a2b5888a9f42ba17159/ProjectSettings/Physics2DSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlabrecque/Steamworks.NET-GameServerTest/f541309f1a2428ad3f759a2b5888a9f42ba17159/ProjectSettings/ProjectSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 5.5.1f1 2 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlabrecque/Steamworks.NET-GameServerTest/f541309f1a2428ad3f759a2b5888a9f42ba17159/ProjectSettings/QualitySettings.asset -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlabrecque/Steamworks.NET-GameServerTest/f541309f1a2428ad3f759a2b5888a9f42ba17159/ProjectSettings/TagManager.asset -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlabrecque/Steamworks.NET-GameServerTest/f541309f1a2428ad3f759a2b5888a9f42ba17159/ProjectSettings/TimeManager.asset -------------------------------------------------------------------------------- /ProjectSettings/UnityAdsSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlabrecque/Steamworks.NET-GameServerTest/f541309f1a2428ad3f759a2b5888a9f42ba17159/ProjectSettings/UnityAdsSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/UnityAnalyticsManager.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlabrecque/Steamworks.NET-GameServerTest/f541309f1a2428ad3f759a2b5888a9f42ba17159/ProjectSettings/UnityAnalyticsManager.asset -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rlabrecque/Steamworks.NET-GameServerTest/f541309f1a2428ad3f759a2b5888a9f42ba17159/ProjectSettings/UnityConnectSettings.asset -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Steamworks.NET-GameServerTest 2 | ======= 3 | 4 | This is a sample project for [Steamworks.NET](//github.com/rlabrecque/Steamworks.NET) it is intended to show functionality, act as documentation and to test the functionality of Steamworks.NET. 5 | 6 | This project is based heavily upon the Official C++ SteamworksExample application SpaceWar. It is incomplete as there is no data passing. 7 | It is recommended to follow along with SpaceWarServer.cpp/h found in the official Steamworks SDK. 8 | 9 | Steam must be running for the project to work out of the box. To run a dedicated server without Steam running you must copy steamclient.dll/tier0_s.dll/vstdlib_s.dll next to your steam_api.dll. 10 | 11 | This sample is available in the public domain (where acceptable.) Please view [LICENSE.txt](LICENSE.txt) for more details. 12 | 13 | This project was built with Unity 5.5.1. As such it is only expected to build and run without issue on that version or later. 14 | 15 | ## Recommended reading: 16 | 17 | * https://partner.steamgames.com/documentation/dedicated_servers 18 | * https://partner.steamgames.com/documentation/getting_started (Under "Game Servers") 19 | * https://partner.steamgames.com/documentation/auth --------------------------------------------------------------------------------