PartyNetwork::GetChatControls
Gets the chat controls connected to this network.
Syntax
PartyError GetChatControls(
uint32_t* chatControlCount,
PartyChatControlArray* chatControls
)
Parameters
chatControlCount
uint32_t*
output
The output number of chat controls in this network.
chatControls
PartyChatControlArray*
library-allocated output array of size *chatControlCount
A library-allocated output array containing the chat controls in this network.
Return value
PartyError
c_partyErrorSuccess
if the call succeeded or an error code otherwise. The human-readable form of the error code can be retrieved via PartyManager::GetErrorMessage().
Remarks
Once a PartyChatControlLeftNetworkStateChange has been generated for a chat control by PartyManager::StartProcessingStateChanges(), the chat control will no longer be present in the array returned by this method.
The memory for the returned array is invalidated whenever the title calls PartyManager::StartProcessingStateChanges() or ConnectChatControl() returns success.
Requirements
Header: Party.h
See also
PartyNetwork
PartyNetwork::ConnectChatControl
PartyNetwork::DisconnectChatControl
PartyChatControlLeftNetworkStateChange
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om