Redigera

Dela via


PartyStateChangeResult

Results for Party library operations that generate state changes.

Syntax

enum class PartyStateChangeResult    
{  
    Succeeded = 0,  
    UnknownError = 1,  
    CanceledByTitle = 2,  
    InternetConnectivityError = 3,  
    PartyServiceError = 4,  
    NoServersAvailable = 5,  
    UserNotAuthorized = 6,  
    UserCreateNetworkThrottled = 7,  
    TitleNotEnabledForParty = 8,  
    NetworkLimitReached = 10,  
    NetworkNoLongerExists = 11,  
    VersionMismatch = 13,  
    LeaveNetworkCalled = 14,  
    FailedToBindToLocalUdpSocket = 15,  
}  

Constants

Constant Description
Succeeded The operation succeeded.
UnknownError An unknown error occurred.
CanceledByTitle Another title operation canceled this operation.
InternetConnectivityError The local device has internet connectivity issues which caused the operation to fail.
PartyServiceError The operation failed because of an unexpected error in the Party service.
NoServersAvailable There are no available transparent cloud relay servers in the regions specified by the call to PartyManager::CreateNewNetwork().
UserNotAuthorized The PartyLocalUser specified in the call to PartyManager::CreateNewNetwork() or PartyNetwork::AuthenticateLocalUser() is not authorized to complete the operation.
UserCreateNetworkThrottled The PartyLocalUser specified in the call to PartyManager::CreateNewNetwork() has created too many networks and cannot create new networks at this time.
TitleNotEnabledForParty The title has not been enabled to use PlayFab Party. PlayFab Party must be enabled in the PlayFab Game Manager.
NetworkLimitReached The network rejected this operation because it would violate a limit in the network's configuration. See PartyNetworkConfiguration.
NetworkNoLongerExists The network no longer exists.
VersionMismatch The operation failed because this version of the Party library was incompatible with either the Party service or the Party network.
LeaveNetworkCalled The network was gracefully exited by the local device.
FailedToBindToLocalUdpSocket The operation failed because the Party library was unable to bind to the socket specified in the PartyOption::LocalUdpSocketBindAddress option.

Requirements

Header: Party.h

See also

Party members