EPrivilegeResults

Choose your operating system:

Windows

macOS

Linux

References

Module

OnlineSubsystem

Header

/Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/OnlineIdentityInterface.h

Include

#include "Interfaces/OnlineIdentityInterface.h"

Syntax

enum EPrivilegeResults
{
    NoFailures                      = 0,
    RequiredPatchAvailable          = 1 << 0,
    RequiredSystemUpdate            = 1 << 1,
    AgeRestrictionFailure           = 1 << 2,
    AccountTypeFailure              = 1 << 3,
    UserNotFound                    = 1 << 4,
    UserNotLoggedIn                 = 1 << 5,
    ChatRestriction                 = 1 << 6,
    UGCRestriction                  = 1 << 7,
    GenericFailure                  = 1 << 8,
    OnlinePlayRestricted            = 1 << 9,
    NetworkConnectionUnavailable    = 1 << 10,
}

Values

Name

Description

NoFailures

The user has the requested privilege

RequiredPatchAvailable

Patch required before the user can use the privilege

RequiredSystemUpdate

System update required before the user can use the privilege

AgeRestrictionFailure

Parental control failure usually

AccountTypeFailure

XboxLive Gold / PSPlus required but not available

UserNotFound

Invalid user

UserNotLoggedIn

User must be logged in

ChatRestriction

User restricted from chat

UGCRestriction

User restricted from User Generated Content

GenericFailure

Platform failed for unknown reason and handles its own dialogs

OnlinePlayRestricted

Online play is restricted

NetworkConnectionUnavailable

Check failed because network is unavailable