Trackmania Turbo ManiaScript Reference 2016.11.07.1615
A ManiaScript Reference of the Trackmania Turbo game.
Loading...
Searching...
No Matches
CPrivilegeMgr Struct Reference

#include <doc.h>

Inheritance diagram for CPrivilegeMgr:
[legend]

Public Types

enum  EPrivilege {
  PlayMultiplayerMode , PlayMultiplayerSession , UploadUserCreatedContent , ViewOnlinePresence ,
  ViewUserCreatedContent , ViewUserCreatedContentRequired , ViewUserGameHistory , VoiceChat ,
  PlayMultiplayerAsync , DownloadUserCreatedContent
}
 

Public Member Functions

Void ReleaseTaskResult (Ident TaskId)
 
CWebServicesTaskResult CheckPrivilege (Ident UserId, EPrivilege Privilege)
 
CWebServicesTaskResult CheckPrivilegeForAllUsers (EPrivilege Privilege)
 
CWebServicesTaskResult_CheckTargetedPrivilegeResultScript CheckTargetedPrivilege (Ident UserId, EPrivilege Privilege)
 
CWebServicesTaskResult_CheckTargetedPrivilegeResultScript CheckTargetedPrivilegeForAllUsers (EPrivilege Privilege)
 

Public Attributes

const CWebServicesTaskResult[] TaskResults
 
- Public Attributes inherited from CNod
const Ident Id
 

Detailed Description

User privileges manager.

Member Function Documentation

◆ CheckPrivilege()

CWebServicesTaskResult CPrivilegeMgr::CheckPrivilege ( Ident UserId,
EPrivilege Privilege )

Check if the user has the specified privilege.

◆ CheckTargetedPrivilege()

CWebServicesTaskResult_CheckTargetedPrivilegeResultScript CPrivilegeMgr::CheckTargetedPrivilege ( Ident UserId,
EPrivilege Privilege )

Check if the user has the specified privilege related to each target user.

◆ ReleaseTaskResult()

Void CPrivilegeMgr::ReleaseTaskResult ( Ident TaskId)

Release a task result no more used.

Member Data Documentation

◆ TaskResults

const CWebServicesTaskResult [] CPrivilegeMgr::TaskResults

Array of task results.


The documentation for this struct was generated from the following file: