Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
ChatRuntime.cpp File Reference
#include "ChatRuntime.hpp"
#include "Messaging.hpp"
#include <SDL3/SDL_scancode.h>
#include <algorithm>
#include <limits>
Include dependency graph for ChatRuntime.cpp:

Go to the source code of this file.

Namespaces

namespace  monopoly
 
namespace  monopoly::chat
 

Functions

void monopoly::chat::setPlayerNames (const rules::GameState &gameState)
 
void monopoly::chat::setOutputLayoutMetrics (std::size_t wrappedLines, int height, std::size_t visibleLines) noexcept
 
void monopoly::chat::setFluffSelectionText (std::int64_t cannedTextId, std::u16string_view text)
 
void monopoly::chat::reset () noexcept
 
void monopoly::chat::toggle () noexcept
 
void monopoly::chat::setRecipientMask (std::uint32_t mask) noexcept
 
std::uint32_t monopoly::chat::recipientMask () noexcept
 
std::uint32_t monopoly::chat::eligibleRecipients () noexcept
 
std::int64_t monopoly::chat::selectedFluffMessageId () noexcept
 
bool monopoly::chat::activateFluffLine (std::size_t line, rules::PlayerNumber sender, std::uint32_t eligibleRecipients, bool networkMode)
 
bool monopoly::chat::processInput (const uimsg::Message &message, rules::PlayerNumber sender, std::uint32_t eligibleRecipients, bool networkMode)
 
bool monopoly::chat::processRuleMessage (const actions::Message &message)
 
bool monopoly::chat::buildTextAction (rules::PlayerNumber from, rules::PlayerNumber to, std::u16string_view text, actions::Message &result)
 
bool monopoly::chat::sendText (rules::PlayerNumber from, rules::PlayerNumber to, std::u16string_view text)
 
const State & monopoly::chat::stateReadOnly () noexcept
 
const Entry * monopoly::chat::entryAt (std::size_t index) noexcept
 

Variable Documentation

◆ bottom

int bottom {}

Definition at line 37 of file ChatRuntime.cpp.

◆ left

int left {}

Definition at line 37 of file ChatRuntime.cpp.

◆ right

int right {}

Definition at line 37 of file ChatRuntime.cpp.

◆ top

int top {}

Definition at line 37 of file ChatRuntime.cpp.