|
| | Copies (uint32_t seed, Content content) |
| | The world's seed makes each land's terrain, and the content fills them.
|
| void | Join (uint32_t id, Player player) |
| | Into their land's copy: the open land's, or for a dungeon, their own.
|
| void | Leave (uint32_t id) |
| Copy * | Of (uint32_t id) |
| | The copy the player's in, or nullptr.
|
| void | Step (std::chrono::nanoseconds time) |
| const std::map< uint32_t, Copy > & | all () const |
| | By their ids.
|
| const Content & | content () const |
| | What all of them are made of, which doesn't change as the game runs.
|
| std::vector< Notice > | TakeNotices () |
| | The lines each copy has for its players since the last time.
|
| std::vector< Event > | TakeEvents () |
| std::set< uint32_t > | TakeTradeNews () |
| std::set< uint32_t > | TakeDuelNews () |
| void | SetWars (const std::vector< War > &wars) |
| std::vector< WarKill > | TakeWarKills () |
| int | players () const |
| | In all the copies.
|
The world's lands, as copies. Each open land has one from the start, and a dungeon has one for each player who goes in, from when they do.
Definition at line 34 of file copies.h.