Orxonox: src/network/packet/Chat.cc File Reference

# Chat.cc File Reference

`#include "Chat.h"`
`#include <cstring>`
`#include <string>`
`#include "network/Host.h"`

## Namespaces

namespace | orxonox
namespace | orxonox::packet

## Defines

#define | _MESSAGE _MESSAGELENGTH + sizeof(uint32_t)
#define | _MESSAGELENGTH _PLAYERID + sizeof(uint32_t)
#define | _PACKETID 0
#define | PACKET_FLAGS_CHAT PacketFlag::Reliable

## Variables

const int | orxonox::packet::_PLAYERID = _PACKETID + sizeof(Type::Value)

## Define Documentation

#define _MESSAGE _MESSAGELENGTH + sizeof(uint32_t)

Referenced by orxonox::packet::Chat::Chat(), orxonox::packet::Chat::getMessage(), orxonox::packet::Chat::getSize(), and orxonox::packet::Chat::process().

#define _MESSAGELENGTH _PLAYERID + sizeof(uint32_t)

Referenced by orxonox::packet::Chat::Chat().

#define _PACKETID 0

#define PACKET_FLAGS_CHAT PacketFlag::Reliable

Referenced by orxonox::packet::Chat::Chat().