![]() |
• Message Manager | ||||
|
API Links
Developer Links
|
class ChatMessageDefined in:
The C4Messages.hChatMessage class encapsulates a message which contains a text string.
Definition
Constructor
Parameters
Description
A message of type ChatMessage is used to send a text message to other players in a game. The ChatMessage object contains both the text message and the player ID of the machine from which it originated. When a chat message is received, the Message Manager calls the Application::HandlePlayerEvent function with the kPlayerChatReceived event to pass the text message to the application module. In this case, the param parameter passed to the HandlePlayerEvent function points to the chat text string.
Base Classes
See Also
|