|
Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
|
Typedefs | |
| using | AIStateArray = std::array< std::vector< std::uint8_t >, MaxPlayers > |
Functions | |
| bool | encodeSave (const GameState &state, const AIStateArray &aiStates, std::vector< std::uint8_t > &result) |
| bool | decodeSave (std::span< const std::uint8_t > data, GameState &state, AIStateArray *aiStates) |
| bool | encodeOptions (const GameOptions &options, std::vector< std::uint8_t > &result) |
| bool | decodeOptions (std::span< const std::uint8_t > data, GameOptions &result) |
| using monopoly::rules::archive::AIStateArray = typedef std::array< std::vector<std::uint8_t>, MaxPlayers > |
Definition at line 12 of file RuleArchive.hpp.
| bool monopoly::rules::archive::decodeOptions | ( | std::span< const std::uint8_t > | data, |
| GameOptions & | result | ||
| ) |
Definition at line 1571 of file RuleArchive.cpp.
| bool monopoly::rules::archive::decodeSave | ( | std::span< const std::uint8_t > | data, |
| GameState & | state, | ||
| AIStateArray * | aiStates | ||
| ) |
Definition at line 1480 of file RuleArchive.cpp.
| bool monopoly::rules::archive::encodeOptions | ( | const GameOptions & | options, |
| std::vector< std::uint8_t > & | result | ||
| ) |
Definition at line 1552 of file RuleArchive.cpp.
| bool monopoly::rules::archive::encodeSave | ( | const GameState & | state, |
| const AIStateArray & | aiStates, | ||
| std::vector< std::uint8_t > & | result | ||
| ) |
Definition at line 1452 of file RuleArchive.cpp.