Redigera

PartyManager::GetOption

Important

XBOX Docs are now on docs.xbox.com! This page is kept as an archive and is no longer being updated. Visit our documentation on docs.xbox.com for the latest information and updates.

Visit the latest docs on docs.xbox.com

Retrieves an option used to fine-tune Party library functionality.

Syntax

static PartyError GetOption(  
    const void* object,  
    PartyOption option,  
    void* value  
)  

Parameters

object   void*
optional

The Party library object that may be required as context for different PartyOption values.

option   PartyOption

The Party library option to retrieve.

value   void*
output

An output value to fill with the current option setting. If this option has not yet been overridden by a call to PartyManager::SetOption(), this method will retrieve that option's default value.

Return value

PartyError

c_partyErrorSuccess if the call succeeded or an error code otherwise.

Requirements

Header: Party.h

See also

PartyManager
PartyOption
PartyManager::SetOption