Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
monopoly::dice::Ingress Class Referencefinal

#include <DiceIngress.hpp>

Public Member Functions

std::expected< RollRequest, IngressError > process (rules::GameState &state, const actions::Message &message, std::uint64_t tick) noexcept
 
std::optional< RollRequest > take () noexcept
 
bool pending () const noexcept
 
void reset () noexcept
 

Detailed Description

Definition at line 39 of file DiceIngress.hpp.

Member Function Documentation

◆ pending()

bool monopoly::dice::Ingress::pending ( ) const
inlinenoexcept

Definition at line 48 of file DiceIngress.hpp.

◆ process()

std::expected< RollRequest, IngressError > monopoly::dice::Ingress::process ( rules::GameState &  state,
const actions::Message &  message,
std::uint64_t  tick 
)
noexcept

Definition at line 30 of file DiceIngress.cpp.

◆ reset()

void monopoly::dice::Ingress::reset ( )
inlinenoexcept

Definition at line 49 of file DiceIngress.hpp.

◆ take()

std::optional< RollRequest > monopoly::dice::Ingress::take ( )
noexcept

Definition at line 51 of file DiceIngress.cpp.


The documentation for this class was generated from the following files: