| 2440 | } |
| 2441 | |
| 2442 | ByteArray Player::netStore(NetCompatibilityRules rules) { |
| 2443 | DataStreamBuffer ds; |
| 2444 | ds.setStreamCompatibilityVersion(rules); |
| 2445 | |
| 2446 | ds.write(*uniqueId()); |
| 2447 | ds.write(m_description); |
| 2448 | ds.write(m_modeType); |
| 2449 | ds.write(m_identity); |
| 2450 | |
| 2451 | return ds.data(); |
| 2452 | } |
| 2453 | |
| 2454 | void Player::finalizeCreation() { |
| 2455 | m_blueprints = make_shared<PlayerBlueprints>(); |
nothing calls this directly
no test coverage detected