| 57 | } |
| 58 | |
| 59 | PlayerPtr PlayerFactory::diskLoadPlayer(Json const& diskStore) const { |
| 60 | return make_shared<Player>(m_config, diskStore); |
| 61 | } |
| 62 | |
| 63 | PlayerPtr PlayerFactory::netLoadPlayer(ByteArray const& netStore, NetCompatibilityRules rules) const { |
| 64 | return make_shared<Player>(m_config, netStore, rules); |