1 module derelict.steamworks.steamclientpublic; 2 3 enum EAppOwnershipFlags 4 { 5 k_EAppOwnershipFlags_None = 0x0000, // unknown 6 k_EAppOwnershipFlags_OwnsLicense = 0x0001, // owns license for this game 7 k_EAppOwnershipFlags_FreeLicense = 0x0002, // not paid for game 8 k_EAppOwnershipFlags_RegionRestricted = 0x0004, // owns app, but not allowed to play in current region 9 k_EAppOwnershipFlags_LowViolence = 0x0008, // only low violence version 10 k_EAppOwnershipFlags_InvalidPlatform = 0x0010, // app not supported on current platform 11 k_EAppOwnershipFlags_SharedLicense = 0x0020, // license was granted by authorized local device 12 k_EAppOwnershipFlags_FreeWeekend = 0x0040, // owned by a free weekend licenses 13 k_EAppOwnershipFlags_RetailLicense = 0x0080, // has a retail license for game, (CD-Key etc) 14 k_EAppOwnershipFlags_LicenseLocked = 0x0100, // shared license is locked (in use) by other user 15 k_EAppOwnershipFlags_LicensePending = 0x0200, // owns app, but transaction is still pending. Can't install or play 16 k_EAppOwnershipFlags_LicenseExpired = 0x0400, // doesn't own app anymore since license expired 17 k_EAppOwnershipFlags_LicensePermanent = 0x0800, // permanent license, not borrowed, or guest or freeweekend etc 18 k_EAppOwnershipFlags_LicenseRecurring = 0x1000, // Recurring license, user is charged periodically 19 k_EAppOwnershipFlags_LicenseCanceled = 0x2000, // Mark as canceled, but might be still active if recurring 20 k_EAppOwnershipFlags_AutoGrant = 0x4000, // Ownership is based on any kind of autogrant license 21 k_EAppOwnershipFlags_PendingGift = 0x8000, // user has pending gift to redeem 22 } 23 24 enum EAuthSessionResponse 25 { 26 k_EAuthSessionResponseOK = 0, // Steam has verified the user is online, the ticket is valid and ticket has not been reused. 27 k_EAuthSessionResponseUserNotConnectedToSteam = 1, // The user in question is not connected to steam 28 k_EAuthSessionResponseNoLicenseOrExpired = 2, // The license has expired. 29 k_EAuthSessionResponseVACBanned = 3, // The user is VAC banned for this game. 30 k_EAuthSessionResponseLoggedInElseWhere = 4, // The user account has logged in elsewhere and the session containing the game instance has been disconnected. 31 k_EAuthSessionResponseVACCheckTimedOut = 5, // VAC has been unable to perform anti-cheat checks on this user 32 k_EAuthSessionResponseAuthTicketCanceled = 6, // The ticket has been canceled by the issuer 33 k_EAuthSessionResponseAuthTicketInvalidAlreadyUsed = 7, // This ticket has already been used, it is not valid. 34 k_EAuthSessionResponseAuthTicketInvalid = 8, // This ticket is not from a user instance currently connected to steam. 35 k_EAuthSessionResponsePublisherIssuedBan = 9, // The user is banned for this game. The ban came via the web api and not VAC 36 } 37 38 enum EBroadcastUploadResult 39 { 40 k_EBroadcastUploadResultNone = 0, // broadcast state unknown 41 k_EBroadcastUploadResultOK = 1, // broadcast was good, no problems 42 k_EBroadcastUploadResultInitFailed = 2, // broadcast init failed 43 k_EBroadcastUploadResultFrameFailed = 3, // broadcast frame upload failed 44 k_EBroadcastUploadResultTimeout = 4, // broadcast upload timed out 45 k_EBroadcastUploadResultBandwidthExceeded = 5, // broadcast send too much data 46 k_EBroadcastUploadResultLowFPS = 6, // broadcast FPS too low 47 k_EBroadcastUploadResultMissingKeyFrames = 7, // broadcast sending not enough key frames 48 k_EBroadcastUploadResultNoConnection = 8, // broadcast client failed to connect to relay 49 k_EBroadcastUploadResultRelayFailed = 9, // relay dropped the upload 50 k_EBroadcastUploadResultSettingsChanged = 10, // the client changed broadcast settings 51 k_EBroadcastUploadResultMissingAudio = 11, // client failed to send audio data 52 k_EBroadcastUploadResultTooFarBehind = 12, // clients was too slow uploading 53 k_EBroadcastUploadResultTranscodeBehind = 13, // server failed to keep up with transcode 54 } 55 56 enum ELaunchOptionType 57 { 58 k_ELaunchOptionType_None = 0, // unknown what launch option does 59 k_ELaunchOptionType_Default = 1, // runs the game, app, whatever in default mode 60 k_ELaunchOptionType_SafeMode = 2, // runs the game in safe mode 61 k_ELaunchOptionType_Multiplayer = 3, // runs the game in multiplayer mode 62 k_ELaunchOptionType_Config = 4, // runs config tool for this game 63 k_ELaunchOptionType_VR = 5, // runs game in VR mode 64 k_ELaunchOptionType_Server = 6, // runs dedicated server for this game 65 k_ELaunchOptionType_Editor = 7, // runs game editor 66 k_ELaunchOptionType_Manual = 8, // shows game manual 67 k_ELaunchOptionType_Benchmark = 9, // runs game benchmark 68 k_ELaunchOptionType_Option1 = 10, // generic run option, uses description field for game name 69 k_ELaunchOptionType_Option2 = 11, // generic run option, uses description field for game name 70 k_ELaunchOptionType_Option3 = 12, // generic run option, uses description field for game name 71 72 73 k_ELaunchOptionType_Dialog = 1000, // show launch options dialog 74 }