CnC_Remastered_Collection

Command and Conquer: Red Alert
Log | Files | Refs | README | LICENSE

SteamConstants.cs (13616B)


      1 // This file is provided under The MIT License as part of Steamworks.NET.
      2 // Copyright (c) 2013-2019 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 UNITY_ANDROID || UNITY_IOS || UNITY_TIZEN || UNITY_TVOS || UNITY_WEBGL || UNITY_WSA || UNITY_PS4 || UNITY_WII || UNITY_XBOXONE || UNITY_SWITCH
      9 	#define DISABLESTEAMWORKS
     10 #endif
     11 
     12 #if !DISABLESTEAMWORKS
     13 
     14 using System.Runtime.InteropServices;
     15 using IntPtr = System.IntPtr;
     16 
     17 namespace Steamworks {
     18 	public static class Constants {
     19 		public const string STEAMAPPLIST_INTERFACE_VERSION = "STEAMAPPLIST_INTERFACE_VERSION001";
     20 		public const string STEAMAPPS_INTERFACE_VERSION = "STEAMAPPS_INTERFACE_VERSION008";
     21 		public const string STEAMAPPTICKET_INTERFACE_VERSION = "STEAMAPPTICKET_INTERFACE_VERSION001";
     22 		public const string STEAMCLIENT_INTERFACE_VERSION = "SteamClient019";
     23 		public const string STEAMCONTROLLER_INTERFACE_VERSION = "SteamController007";
     24 		public const string STEAMFRIENDS_INTERFACE_VERSION = "SteamFriends017";
     25 		public const string STEAMGAMECOORDINATOR_INTERFACE_VERSION = "SteamGameCoordinator001";
     26 		public const string STEAMGAMESERVER_INTERFACE_VERSION = "SteamGameServer012";
     27 		public const string STEAMGAMESERVERSTATS_INTERFACE_VERSION = "SteamGameServerStats001";
     28 		public const string STEAMHTMLSURFACE_INTERFACE_VERSION = "STEAMHTMLSURFACE_INTERFACE_VERSION_005";
     29 		public const string STEAMHTTP_INTERFACE_VERSION = "STEAMHTTP_INTERFACE_VERSION003";
     30 		public const string STEAMINPUT_INTERFACE_VERSION = "SteamInput001";
     31 		public const string STEAMINVENTORY_INTERFACE_VERSION = "STEAMINVENTORY_INTERFACE_V003";
     32 		public const string STEAMMATCHMAKING_INTERFACE_VERSION = "SteamMatchMaking009";
     33 		public const string STEAMMATCHMAKINGSERVERS_INTERFACE_VERSION = "SteamMatchMakingServers002";
     34 		public const string STEAMGAMESEARCH_INTERFACE_VERSION = "SteamMatchGameSearch001";
     35 		public const string STEAMPARTIES_INTERFACE_VERSION = "SteamParties002";
     36 		public const string STEAMMUSIC_INTERFACE_VERSION = "STEAMMUSIC_INTERFACE_VERSION001";
     37 		public const string STEAMMUSICREMOTE_INTERFACE_VERSION = "STEAMMUSICREMOTE_INTERFACE_VERSION001";
     38 		public const string STEAMNETWORKING_INTERFACE_VERSION = "SteamNetworking005";
     39 		public const string STEAMPARENTALSETTINGS_INTERFACE_VERSION = "STEAMPARENTALSETTINGS_INTERFACE_VERSION001";
     40 		public const string STEAMREMOTEPLAY_INTERFACE_VERSION = "STEAMREMOTEPLAY_INTERFACE_VERSION001";
     41 		public const string STEAMREMOTESTORAGE_INTERFACE_VERSION = "STEAMREMOTESTORAGE_INTERFACE_VERSION014";
     42 		public const string STEAMSCREENSHOTS_INTERFACE_VERSION = "STEAMSCREENSHOTS_INTERFACE_VERSION003";
     43 		public const string STEAMUGC_INTERFACE_VERSION = "STEAMUGC_INTERFACE_VERSION013";
     44 		public const string STEAMUSER_INTERFACE_VERSION = "SteamUser020";
     45 		public const string STEAMUSERSTATS_INTERFACE_VERSION = "STEAMUSERSTATS_INTERFACE_VERSION011";
     46 		public const string STEAMUTILS_INTERFACE_VERSION = "SteamUtils009";
     47 		public const string STEAMVIDEO_INTERFACE_VERSION = "STEAMVIDEO_INTERFACE_V002";
     48 		public const int k_cubAppProofOfPurchaseKeyMax = 240; // max supported length of a legacy cd key
     49 		// maximum length of friend group name (not including terminating nul!)
     50 		public const int k_cchMaxFriendsGroupName = 64;
     51 		// maximum number of groups a single user is allowed
     52 		public const int k_cFriendsGroupLimit = 100;
     53 		public const int k_cEnumerateFollowersMax = 50;
     54 		// maximum number of characters in a user's name. Two flavors; one for UTF-8 and one for UTF-16.
     55 		// The UTF-8 version has to be very generous to accomodate characters that get large when encoded
     56 		// in UTF-8.
     57 		public const int k_cchPersonaNameMax = 128;
     58 		public const int k_cwchPersonaNameMax = 32;
     59 		// size limit on chat room or member metadata
     60 		public const int k_cubChatMetadataMax = 8192;
     61 		// size limits on Rich Presence data
     62 		public const int k_cchMaxRichPresenceKeys = 30;
     63 		public const int k_cchMaxRichPresenceKeyLength = 64;
     64 		public const int k_cchMaxRichPresenceValueLength = 256;
     65 		// game server flags
     66 		public const int k_unServerFlagNone = 0x00;
     67 		public const int k_unServerFlagActive = 0x01; // server has users playing
     68 		public const int k_unServerFlagSecure = 0x02; // server wants to be secure
     69 		public const int k_unServerFlagDedicated = 0x04; // server is dedicated
     70 		public const int k_unServerFlagLinux = 0x08; // linux build
     71 		public const int k_unServerFlagPassworded = 0x10; // password protected
     72 		public const int k_unServerFlagPrivate = 0x20; // server shouldn't list on master server and
     73 		// game server flags
     74 		public const int k_unFavoriteFlagNone = 0x00;
     75 		public const int k_unFavoriteFlagFavorite = 0x01; // this game favorite entry is for the favorites list
     76 		public const int k_unFavoriteFlagHistory = 0x02; // this game favorite entry is for the history list
     77 		//-----------------------------------------------------------------------------
     78 		// Purpose: Defines the largest allowed file size. Cloud files cannot be written
     79 		// in a single chunk over 100MB (and cannot be over 200MB total.)
     80 		//-----------------------------------------------------------------------------
     81 		public const int k_unMaxCloudFileChunkSize = 100 * 1024 * 1024;
     82 		public const int k_cchPublishedDocumentTitleMax = 128 + 1;
     83 		public const int k_cchPublishedDocumentDescriptionMax = 8000;
     84 		public const int k_cchPublishedDocumentChangeDescriptionMax = 8000;
     85 		public const int k_unEnumeratePublishedFilesMaxResults = 50;
     86 		public const int k_cchTagListMax = 1024 + 1;
     87 		public const int k_cchFilenameMax = 260;
     88 		public const int k_cchPublishedFileURLMax = 256;
     89 		public const int k_nScreenshotMaxTaggedUsers = 32;
     90 		public const int k_nScreenshotMaxTaggedPublishedFiles = 32;
     91 		public const int k_cubUFSTagTypeMax = 255;
     92 		public const int k_cubUFSTagValueMax = 255;
     93 		// Required with of a thumbnail provided to AddScreenshotToLibrary.  If you do not provide a thumbnail
     94 		// one will be generated.
     95 		public const int k_ScreenshotThumbWidth = 200;
     96 		public const int kNumUGCResultsPerPage = 50;
     97 		public const int k_cchDeveloperMetadataMax = 5000;
     98 		// size limit on stat or achievement name (UTF-8 encoded)
     99 		public const int k_cchStatNameMax = 128;
    100 		// maximum number of bytes for a leaderboard name (UTF-8 encoded)
    101 		public const int k_cchLeaderboardNameMax = 128;
    102 		// maximum number of details int32's storable for a single leaderboard entry
    103 		public const int k_cLeaderboardDetailsMax = 64;
    104 		//
    105 		// Max size (in bytes of UTF-8 data, not in characters) of server fields, including null terminator.
    106 		// WARNING: These cannot be changed easily, without breaking clients using old interfaces.
    107 		//
    108 		public const int k_cbMaxGameServerGameDir = 32;
    109 		public const int k_cbMaxGameServerMapName = 32;
    110 		public const int k_cbMaxGameServerGameDescription = 64;
    111 		public const int k_cbMaxGameServerName = 64;
    112 		public const int k_cbMaxGameServerTags = 128;
    113 		public const int k_cbMaxGameServerGameData = 2048;
    114 		//-----------------------------------------------------------------------------
    115 		// Purpose: Base values for callback identifiers, each callback must
    116 		//			have a unique ID.
    117 		//-----------------------------------------------------------------------------
    118 		public const int k_iSteamUserCallbacks = 100;
    119 		public const int k_iSteamGameServerCallbacks = 200;
    120 		public const int k_iSteamFriendsCallbacks = 300;
    121 		public const int k_iSteamBillingCallbacks = 400;
    122 		public const int k_iSteamMatchmakingCallbacks = 500;
    123 		public const int k_iSteamContentServerCallbacks = 600;
    124 		public const int k_iSteamUtilsCallbacks = 700;
    125 		public const int k_iClientFriendsCallbacks = 800;
    126 		public const int k_iClientUserCallbacks = 900;
    127 		public const int k_iSteamAppsCallbacks = 1000;
    128 		public const int k_iSteamUserStatsCallbacks = 1100;
    129 		public const int k_iSteamNetworkingCallbacks = 1200;
    130 		public const int k_iSteamNetworkingSocketsCallbacks = 1220;
    131 		public const int k_iSteamNetworkingMessagesCallbacks = 1250;
    132 		public const int k_iSteamNetworkingUtilsCallbacks = 1280;
    133 		public const int k_iClientRemoteStorageCallbacks = 1300;
    134 		public const int k_iClientDepotBuilderCallbacks = 1400;
    135 		public const int k_iSteamGameServerItemsCallbacks = 1500;
    136 		public const int k_iClientUtilsCallbacks = 1600;
    137 		public const int k_iSteamGameCoordinatorCallbacks = 1700;
    138 		public const int k_iSteamGameServerStatsCallbacks = 1800;
    139 		public const int k_iSteam2AsyncCallbacks = 1900;
    140 		public const int k_iSteamGameStatsCallbacks = 2000;
    141 		public const int k_iClientHTTPCallbacks = 2100;
    142 		public const int k_iClientScreenshotsCallbacks = 2200;
    143 		public const int k_iSteamScreenshotsCallbacks = 2300;
    144 		public const int k_iClientAudioCallbacks = 2400;
    145 		public const int k_iClientUnifiedMessagesCallbacks = 2500;
    146 		public const int k_iSteamStreamLauncherCallbacks = 2600;
    147 		public const int k_iClientControllerCallbacks = 2700;
    148 		public const int k_iSteamControllerCallbacks = 2800;
    149 		public const int k_iClientParentalSettingsCallbacks = 2900;
    150 		public const int k_iClientDeviceAuthCallbacks = 3000;
    151 		public const int k_iClientNetworkDeviceManagerCallbacks = 3100;
    152 		public const int k_iClientMusicCallbacks = 3200;
    153 		public const int k_iClientRemoteClientManagerCallbacks = 3300;
    154 		public const int k_iClientUGCCallbacks = 3400;
    155 		public const int k_iSteamStreamClientCallbacks = 3500;
    156 		public const int k_IClientProductBuilderCallbacks = 3600;
    157 		public const int k_iClientShortcutsCallbacks = 3700;
    158 		public const int k_iClientRemoteControlManagerCallbacks = 3800;
    159 		public const int k_iSteamAppListCallbacks = 3900;
    160 		public const int k_iSteamMusicCallbacks = 4000;
    161 		public const int k_iSteamMusicRemoteCallbacks = 4100;
    162 		public const int k_iClientVRCallbacks = 4200;
    163 		public const int k_iClientGameNotificationCallbacks = 4300;
    164 		public const int k_iSteamGameNotificationCallbacks = 4400;
    165 		public const int k_iSteamHTMLSurfaceCallbacks = 4500;
    166 		public const int k_iClientVideoCallbacks = 4600;
    167 		public const int k_iClientInventoryCallbacks = 4700;
    168 		public const int k_iClientBluetoothManagerCallbacks = 4800;
    169 		public const int k_iClientSharedConnectionCallbacks = 4900;
    170 		public const int k_ISteamParentalSettingsCallbacks = 5000;
    171 		public const int k_iClientShaderCallbacks = 5100;
    172 		public const int k_iSteamGameSearchCallbacks = 5200;
    173 		public const int k_iSteamPartiesCallbacks = 5300;
    174 		public const int k_iClientPartiesCallbacks = 5400;
    175 		public const int k_iSteamSTARCallbacks = 5500;
    176 		public const int k_iClientSTARCallbacks = 5600;
    177 		public const int k_iSteamRemotePlayCallbacks = 5700;
    178 		public const int k_unSteamAccountIDMask = -1;
    179 		public const int k_unSteamAccountInstanceMask = 0x000FFFFF;
    180 		// we allow 3 simultaneous user account instances right now, 1= desktop, 2 = console, 4 = web, 0 = all
    181 		public const int k_unSteamUserDesktopInstance = 1;
    182 		public const int k_unSteamUserConsoleInstance = 2;
    183 		public const int k_unSteamUserWebInstance = 4;
    184 		public const int k_cchGameExtraInfoMax = 64;
    185 		public const int k_nSteamEncryptedAppTicketSymmetricKeyLen = 32;
    186 		public const int k_cubSaltSize = 8;
    187 		public const ulong k_GIDNil = 0xffffffffffffffff;
    188 		public const ulong k_TxnIDNil = k_GIDNil;
    189 		public const ulong k_TxnIDUnknown = 0;
    190 		public const int k_uPackageIdInvalid = -1;
    191 		public const ulong k_ulAssetClassIdInvalid = 0x0;
    192 		public const int k_uPhysicalItemIdInvalid = 0x0;
    193 		public const int k_uCellIDInvalid = -1;
    194 		public const int k_uPartnerIdInvalid = 0;
    195 		public const ulong k_ulPartyBeaconIdInvalid = 0;
    196 		public const int STEAM_CONTROLLER_MAX_COUNT = 16;
    197 		public const int STEAM_CONTROLLER_MAX_ANALOG_ACTIONS = 16;
    198 		public const int STEAM_CONTROLLER_MAX_DIGITAL_ACTIONS = 128;
    199 		public const int STEAM_CONTROLLER_MAX_ORIGINS = 8;
    200 		public const int STEAM_CONTROLLER_MAX_ACTIVE_LAYERS = 16;
    201 		// When sending an option to a specific controller handle, you can send to all controllers via this command
    202 		public const ulong STEAM_CONTROLLER_HANDLE_ALL_CONTROLLERS = 0xFFFFFFFFFFFFFFFF;
    203 		public const float STEAM_CONTROLLER_MIN_ANALOG_ACTION_DATA = -1.0f;
    204 		public const float STEAM_CONTROLLER_MAX_ANALOG_ACTION_DATA = 1.0f;
    205 		public const ushort MASTERSERVERUPDATERPORT_USEGAMESOCKETSHARE	= 0xFFFF;
    206 		public const int INVALID_HTTPREQUEST_HANDLE		= 0;
    207 		public const int STEAM_INPUT_MAX_COUNT = 16;
    208 		public const int STEAM_INPUT_MAX_ANALOG_ACTIONS = 16;
    209 		public const int STEAM_INPUT_MAX_DIGITAL_ACTIONS = 128;
    210 		public const int STEAM_INPUT_MAX_ORIGINS = 8;
    211 		public const int STEAM_INPUT_MAX_ACTIVE_LAYERS = 16;
    212 		// When sending an option to a specific controller handle, you can send to all devices via this command
    213 		public const ulong STEAM_INPUT_HANDLE_ALL_CONTROLLERS = 0xFFFFFFFFFFFFFFFF;
    214 		public const float STEAM_INPUT_MIN_ANALOG_ACTION_DATA = -1.0f;
    215 		public const float STEAM_INPUT_MAX_ANALOG_ACTION_DATA = 1.0f;
    216 		// maximum number of characters a lobby metadata key can be
    217 		public const byte k_nMaxLobbyKeyLength = 255;
    218 		public const int k_SteamMusicNameMaxLength = 255;
    219 		public const int k_SteamMusicPNGMaxLength = 65535;
    220 		//-----------------------------------------------------------------------------
    221 		// Constants used for query ports.
    222 		//-----------------------------------------------------------------------------
    223 		public const int QUERY_PORT_NOT_INITIALIZED		= 0xFFFF; // We haven't asked the GS for this query port's actual value yet.
    224 		public const int QUERY_PORT_ERROR				= 0xFFFE; // We were unable to get the query port for this server.
    225 	}
    226 }
    227 
    228 #endif // !DISABLESTEAMWORKS