R-Type
Networked shoot'em up built on Aegis2D
Loading...
Searching...
No Matches
player_notices.hpp File Reference

The messages shown when a player joins or leaves the game. More...

#include <rtype/client_world.hpp>
#include <rtype/events.hpp>
#include <rtype/tuning.hpp>
#include <array>
#include <chrono>
#include <cstddef>
#include <cstdint>
#include <optional>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  rtype::PlayerNotice
 A message about a player, shown for a few seconds. More...
 
class  rtype::PlayerNotices
 Turns PlayerJoined and PlayerLeft events into messages for the players who stay. More...
 

Namespaces

namespace  rtype
 R-Type game code, built on the Aegis2D engine.
 

Functions

std::string rtype::left_message (const std::string &name, LeaveReason reason)
 Sentence telling why a player left.
 

Detailed Description

The messages shown when a player joins or leaves the game.