73 const ActionButtonInputs&
inputs)
noexcept;
89 auctionButton_.
reset();
91 cameraButton_.
reset();
94 tradeAcceptButton_.
reset();
95 tradeCounterButton_.
reset();
96 flatTaxButton_.
reset();
97 percentageButton_.
reset();
99 bankruptButton_.
reset();
100 tradeRejectButton_.
reset();
101 mortgageButton_.
reset();
103 optionsButton_.
reset();
105 newGameButton_.
reset();
106 rollDiceButton_.
reset();
107 statusButton_.
reset();
108 tradeButton_.
reset();
109 unmortgageButton_.
reset();
111 useCardButton_.
reset();
112 auctionHouseButton_.
reset();
113 auctionHotelButton_.
reset();
114 placeHouseButton_.
reset();
115 placeHotelButton_.
reset();
118 propertyTitles_.
reset();
119 propertyHover_.
reset();
121 pendingCardRead_.reset();
123 buyAuctionPopup_.
reset();
125 consumedPressedButton_.reset();
127 currentPlayer_.
reset();
132 return currentBackdrop_;
142 return consumedPressedButton_;
175 return buyAuctionPopup_.
onLeft();
227 std::optional<std::uint8_t> consumedPressedButton_;
228 std::optional<std::uint8_t> pendingCardRead_;
231 CameraButtonPlayback cameraButton_;
258 PropertyTitlePlayback propertyTitles_;
259 PropertyHoverPlayback propertyHover_;
261 JailCardPlayback jailCards_;
262 BuyAuctionPopupPlayback buyAuctionPopup_;
263 ScoreStripPlayback scoreStrip_;
265 CurrentPlayerPlayback currentPlayer_;
data::DataId jailCardCurrent(std::size_t deck) const noexcept
const ScoreTextState & scoreTextState(rules::PlayerNumber player) const noexcept
data::DataId currentCardSequence() const noexcept
std::optional< std::uint8_t > consumedPressedButton() const noexcept
CameraButtonVisualState tradeButtonState() const noexcept
data::DataId currentBackdrop() const noexcept
CameraButtonVisualState rollDiceButtonState() const noexcept
bool bankVisible() const noexcept
data::DataId propertyHoverDeed() const noexcept
bool buyAuctionPopupOnLeft() const noexcept
data::DataId currentPlayerToken() const noexcept
const ScoreStripPlayerRuntime & scorePlayerState(rules::PlayerNumber player) const noexcept
CameraButtonVisualState cameraButtonState() const noexcept
std::expected< void, std::string > sync(const rules::GameState &state, bool visible, rules::PlayerNumber activePlayer, engine::SequencePlayback &playback, ActionButtonInputs inputs={})
CardVisualState cardVisualState() const noexcept
CameraButtonVisualState statusButtonState() const noexcept
CameraButtonVisualState mainButtonState() const noexcept
std::optional< std::uint8_t > takeCardReadRequest() noexcept
data::DataId buyAuctionPopupDeed() const noexcept
CameraButtonVisualState optionsButtonState() const noexcept
bool visible() const noexcept
data::DataId currentSequence() const noexcept
CardVisualState visualState() const noexcept
data::DataId currentToken() const noexcept
data::DataId current(std::size_t deck) const noexcept
data::DataId currentDeed() const noexcept
const ScoreStripPlayerRuntime & playerState(rules::PlayerNumber player) const noexcept
const ScoreTextState & textState(rules::PlayerNumber player) const noexcept
constexpr DataId EmptyDataId
unsigned int ActionButtonMask
constexpr std::uint8_t ExitButtonIndex
constexpr std::uint8_t PlaceHouseButtonIndex
constexpr std::uint8_t MortgageButtonIndex
constexpr std::uint8_t DoneButtonIndex
constexpr std::uint8_t TradeRejectButtonIndex
RuleActionHitState ruleActionHitState(bool visible, rules::PlayerNumber activePlayer, const ActionButtonInputs &inputs) noexcept
constexpr std::uint16_t BackdropPriority
constexpr std::uint8_t BuildButtonIndex
constexpr std::uint8_t AuctionButtonIndex
constexpr std::uint8_t PayButtonIndex
constexpr std::int32_t BackdropX
constexpr std::uint8_t TradeAcceptButtonIndex
constexpr std::uint8_t TradeButtonIndex
constexpr std::uint8_t RollDiceButtonIndex
constexpr std::int32_t BackdropY
constexpr data::DataTag BankBackdropTag
constexpr std::uint8_t BankruptButtonIndex
constexpr std::uint8_t SellButtonIndex
constexpr std::uint8_t UseCardButtonIndex
constexpr std::uint8_t OptionsButtonIndex
constexpr std::uint8_t TradeCounterButtonIndex
std::expected< data::DataId, std::string > desiredBackdrop(const rules::GameState &state, bool visible, rules::PlayerNumber activePlayer)
constexpr std::uint8_t PlaceHotelButtonIndex
constexpr std::uint8_t AuctionHotelButtonIndex
constexpr std::uint8_t AuctionHouseButtonIndex
constexpr std::uint8_t BuyButtonIndex
constexpr std::uint8_t StatusButtonIndex
constexpr std::uint8_t NewGameButtonIndex
constexpr data::DataTag PlayerBackdropBaseTag
constexpr std::uint8_t MainButtonIndex
constexpr std::uint8_t PlayerColourCount
constexpr std::uint8_t FlatTaxButtonIndex
constexpr std::uint8_t PercentageButtonIndex
constexpr std::uint8_t UnmortButtonIndex
std::uint8_t PlayerNumber
constexpr PlayerNumber NobodyPlayer
layout::ActionButtonLayout layout
layout::ActionButtonMask activeSlots