chat_user_local::set_communication_relationship
Sets the communication relationship between the local user and a target user.
Syntax
void set_communication_relationship(
chat_user* targetUser,
game_chat_communication_relationship_flags communicationRelationship
)
Parameters
targetUser _In_
Type: chat_user*
The target user. The relationship is such that it can described as "the local user is allowed to send to and/or receive from \p targetUser".
communicationRelationship _In_
Type: game_chat_communication_relationship_flags
The communication relationship between the local user and the target user.
Return value
Type: void
Remarks
Sets the communication relationship between the local user and a target user. The target user can be either remote or local. The default relationship between the local and a remote target user will be the default relationship specified in chat_manager::initialize(). The default relationship between the local user and a local target user will always be None.
Requirements
Header: GameChat2.h
Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles
See also
chat_user_local
game_chat_communication_relationship_flags
chat_user::chat_user_local::get_effective_communication_relationship