R-Type
Distributed multiplayer game engine in C++
Loading...
Searching...
No Matches
Game::ChatMessageData Struct Reference

Chat message data. More...

#include <ChatWidget.hpp>

Collaboration diagram for Game::ChatMessageData:
Collaboration graph

Public Member Functions

 ChatMessageData (uint32_t id, const std::string &name, const std::string &msg, uint64_t ts)
 

Public Attributes

uint32_t playerId
 
std::string playerName
 
std::string message
 
uint64_t timestamp
 

Detailed Description

Chat message data.

Definition at line 25 of file ChatWidget.hpp.

Constructor & Destructor Documentation

◆ ChatMessageData()

Game::ChatMessageData::ChatMessageData ( uint32_t  id,
const std::string &  name,
const std::string &  msg,
uint64_t  ts 
)
inline

Definition at line 31 of file ChatWidget.hpp.

Member Data Documentation

◆ message

std::string Game::ChatMessageData::message

Definition at line 28 of file ChatWidget.hpp.

Referenced by Game::ChatWidget::FormatMessage().

◆ playerId

uint32_t Game::ChatMessageData::playerId

Definition at line 26 of file ChatWidget.hpp.

◆ playerName

std::string Game::ChatMessageData::playerName

Definition at line 27 of file ChatWidget.hpp.

Referenced by Game::ChatWidget::FormatMessage().

◆ timestamp

uint64_t Game::ChatMessageData::timestamp

Definition at line 29 of file ChatWidget.hpp.


The documentation for this struct was generated from the following file: