mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-07-21 12:46:27 +03:00
Cleaning
This commit is contained in:
parent
8ceecaf1b0
commit
ede5320069
@ -1,118 +0,0 @@
|
|||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace Facepunch.Steamworks.Callbacks
|
|
||||||
{
|
|
||||||
public delegate void FailureCallback( Result reason );
|
|
||||||
|
|
||||||
public enum Result : int
|
|
||||||
{
|
|
||||||
OK = 1, // success
|
|
||||||
Fail = 2, // generic failure
|
|
||||||
NoConnection = 3, // no/failed network connection
|
|
||||||
// k_EResultNoConnectionRetry = 4, // OBSOLETE - removed
|
|
||||||
InvalidPassword = 5, // password/ticket is invalid
|
|
||||||
LoggedInElsewhere = 6, // same user logged in elsewhere
|
|
||||||
InvalidProtocolVer = 7, // protocol version is incorrect
|
|
||||||
InvalidParam = 8, // a parameter is incorrect
|
|
||||||
FileNotFound = 9, // file was not found
|
|
||||||
Busy = 10, // called method busy - action not taken
|
|
||||||
InvalidState = 11, // called object was in an invalid state
|
|
||||||
InvalidName = 12, // name is invalid
|
|
||||||
InvalidEmail = 13, // email is invalid
|
|
||||||
DuplicateName = 14, // name is not unique
|
|
||||||
AccessDenied = 15, // access is denied
|
|
||||||
Timeout = 16, // operation timed out
|
|
||||||
Banned = 17, // VAC2 banned
|
|
||||||
AccountNotFound = 18, // account not found
|
|
||||||
InvalidSteamID = 19, // steamID is invalid
|
|
||||||
ServiceUnavailable = 20, // The requested service is currently unavailable
|
|
||||||
NotLoggedOn = 21, // The user is not logged on
|
|
||||||
Pending = 22, // Request is pending (may be in process, or waiting on third party)
|
|
||||||
EncryptionFailure = 23, // Encryption or Decryption failed
|
|
||||||
InsufficientPrivilege = 24, // Insufficient privilege
|
|
||||||
LimitExceeded = 25, // Too much of a good thing
|
|
||||||
Revoked = 26, // Access has been revoked (used for revoked guest passes)
|
|
||||||
Expired = 27, // License/Guest pass the user is trying to access is expired
|
|
||||||
AlreadyRedeemed = 28, // Guest pass has already been redeemed by account, cannot be acked again
|
|
||||||
DuplicateRequest = 29, // The request is a duplicate and the action has already occurred in the past, ignored this time
|
|
||||||
AlreadyOwned = 30, // All the games in this guest pass redemption request are already owned by the user
|
|
||||||
IPNotFound = 31, // IP address not found
|
|
||||||
PersistFailed = 32, // failed to write change to the data store
|
|
||||||
LockingFailed = 33, // failed to acquire access lock for this operation
|
|
||||||
LogonSessionReplaced = 34,
|
|
||||||
ConnectFailed = 35,
|
|
||||||
HandshakeFailed = 36,
|
|
||||||
IOFailure = 37,
|
|
||||||
RemoteDisconnect = 38,
|
|
||||||
ShoppingCartNotFound = 39, // failed to find the shopping cart requested
|
|
||||||
Blocked = 40, // a user didn't allow it
|
|
||||||
Ignored = 41, // target is ignoring sender
|
|
||||||
NoMatch = 42, // nothing matching the request found
|
|
||||||
AccountDisabled = 43,
|
|
||||||
ServiceReadOnly = 44, // this service is not accepting content changes right now
|
|
||||||
AccountNotFeatured = 45, // account doesn't have value, so this feature isn't available
|
|
||||||
AdministratorOK = 46, // allowed to take this action, but only because requester is admin
|
|
||||||
ContentVersion = 47, // A Version mismatch in content transmitted within the Steam protocol.
|
|
||||||
TryAnotherCM = 48, // The current CM can't service the user making a request, user should try another.
|
|
||||||
PasswordRequiredToKickSession = 49,// You are already logged in elsewhere, this cached credential login has failed.
|
|
||||||
AlreadyLoggedInElsewhere = 50, // You are already logged in elsewhere, you must wait
|
|
||||||
Suspended = 51, // Long running operation (content download) suspended/paused
|
|
||||||
Cancelled = 52, // Operation canceled (typically by user: content download)
|
|
||||||
DataCorruption = 53, // Operation canceled because data is ill formed or unrecoverable
|
|
||||||
DiskFull = 54, // Operation canceled - not enough disk space.
|
|
||||||
RemoteCallFailed = 55, // an remote call or IPC call failed
|
|
||||||
PasswordUnset = 56, // Password could not be verified as it's unset server side
|
|
||||||
ExternalAccountUnlinked = 57, // External account (PSN, Facebook...) is not linked to a Steam account
|
|
||||||
PSNTicketInvalid = 58, // PSN ticket was invalid
|
|
||||||
ExternalAccountAlreadyLinked = 59, // External account (PSN, Facebook...) is already linked to some other account, must explicitly request to replace/delete the link first
|
|
||||||
RemoteFileConflict = 60, // The sync cannot resume due to a conflict between the local and remote files
|
|
||||||
IllegalPassword = 61, // The requested new password is not legal
|
|
||||||
SameAsPreviousValue = 62, // new value is the same as the old one ( secret question and answer )
|
|
||||||
AccountLogonDenied = 63, // account login denied due to 2nd factor authentication failure
|
|
||||||
CannotUseOldPassword = 64, // The requested new password is not legal
|
|
||||||
InvalidLoginAuthCode = 65, // account login denied due to auth code invalid
|
|
||||||
AccountLogonDeniedNoMail = 66, // account login denied due to 2nd factor auth failure - and no mail has been sent
|
|
||||||
HardwareNotCapableOfIPT = 67, //
|
|
||||||
IPTInitError = 68, //
|
|
||||||
ParentalControlRestricted = 69, // operation failed due to parental control restrictions for current user
|
|
||||||
FacebookQueryError = 70, // Facebook query returned an error
|
|
||||||
ExpiredLoginAuthCode = 71, // account login denied due to auth code expired
|
|
||||||
IPLoginRestrictionFailed = 72,
|
|
||||||
AccountLockedDown = 73,
|
|
||||||
AccountLogonDeniedVerifiedEmailRequired = 74,
|
|
||||||
NoMatchingURL = 75,
|
|
||||||
BadResponse = 76, // parse failure, missing field, etc.
|
|
||||||
RequirePasswordReEntry = 77, // The user cannot complete the action until they re-enter their password
|
|
||||||
ValueOutOfRange = 78, // the value entered is outside the acceptable range
|
|
||||||
UnexpectedError = 79, // something happened that we didn't expect to ever happen
|
|
||||||
Disabled = 80, // The requested service has been configured to be unavailable
|
|
||||||
InvalidCEGSubmission = 81, // The set of files submitted to the CEG server are not valid !
|
|
||||||
RestrictedDevice = 82, // The device being used is not allowed to perform this action
|
|
||||||
RegionLocked = 83, // The action could not be complete because it is region restricted
|
|
||||||
RateLimitExceeded = 84, // Temporary rate limit exceeded, try again later, different from k_EResultLimitExceeded which may be permanent
|
|
||||||
AccountLoginDeniedNeedTwoFactor = 85, // Need two-factor code to login
|
|
||||||
ItemDeleted = 86, // The thing we're trying to access has been deleted
|
|
||||||
AccountLoginDeniedThrottle = 87, // login attempt failed, try to throttle response to possible attacker
|
|
||||||
TwoFactorCodeMismatch = 88, // two factor code mismatch
|
|
||||||
TwoFactorActivationCodeMismatch = 89, // activation code for two-factor didn't match
|
|
||||||
AccountAssociatedToMultiplePartners = 90, // account has been associated with multiple partners
|
|
||||||
NotModified = 91, // data not modified
|
|
||||||
NoMobileDevice = 92, // the account does not have a mobile device associated with it
|
|
||||||
TimeNotSynced = 93, // the time presented is out of range or tolerance
|
|
||||||
SmsCodeFailed = 94, // SMS code failure (no match, none pending, etc.)
|
|
||||||
AccountLimitExceeded = 95, // Too many accounts access this resource
|
|
||||||
AccountActivityLimitExceeded = 96, // Too many changes to this account
|
|
||||||
PhoneActivityLimitExceeded = 97, // Too many changes to this phone
|
|
||||||
RefundToWallet = 98, // Cannot refund to payment method, must use wallet
|
|
||||||
EmailSendFailure = 99, // Cannot send an email
|
|
||||||
NotSettled = 100, // Can't perform operation till payment has settled
|
|
||||||
NeedCaptcha = 101, // Needs to provide a valid captcha
|
|
||||||
GSLTDenied = 102, // a game server login token owned by this token's owner has been banned
|
|
||||||
GSOwnerDenied = 103, // game server owner is denied for other reason (account lock, community ban, vac ban, missing phone)
|
|
||||||
InvalidItemType = 104, // the type of thing we were requested to act on is invalid
|
|
||||||
IPBanned = 105, // the ip address has been banned from taking this action
|
|
||||||
};
|
|
||||||
}
|
|
@ -3,7 +3,6 @@ using System.Collections.Generic;
|
|||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Facepunch.Steamworks;
|
|
||||||
|
|
||||||
namespace Steamworks
|
namespace Steamworks
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
using Facepunch.Steamworks;
|
|
||||||
|
|
||||||
namespace Steamworks
|
namespace Steamworks
|
||||||
{
|
{
|
||||||
public struct Image
|
public struct Image
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
using Facepunch.Steamworks;
|
using System;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user