|
Message Manager
C4Messages.h
class ChannelRepresents a unidirectional voice chat channel.Definition
Constructor
Parameters
Description
A Channel object represents a connection between two players, a sender and a receiver, through which voice chat is sent. The connection is unidirectional, so the player specified by the receiver parameter receives voice chat from the player specified by the sender parameter, but the reverse is not true unless another Channel object exists corresponding to the opposite direction. The creation of a Channel object itself establishes the connection in the player chat graph. Nothing needs to be done with the pointer to the object after the new operator has been used to construct it. For example, the following single line of code is sufficient for creating a channel leading from player p1 to player p2.
Base Classes
See Also
Player
|