| 42 | } |
| 43 | |
| 44 | ByteArray Projectile::netStore(NetCompatibilityRules rules) const { |
| 45 | DataStreamBuffer ds; |
| 46 | ds.setStreamCompatibilityVersion(rules); |
| 47 | |
| 48 | ds.write(m_config->typeName); |
| 49 | ds.write(m_parameters); |
| 50 | |
| 51 | ds.viwrite(m_sourceEntity); |
| 52 | ds.write(m_trackSourceEntity); |
| 53 | |
| 54 | ds.write(m_initialSpeed); |
| 55 | ds.write(m_powerMultiplier); |
| 56 | ds.write(getTeam()); |
| 57 | |
| 58 | return ds.data(); |
| 59 | } |
| 60 | |
| 61 | EntityType Projectile::entityType() const { |
| 62 | return EntityType::Projectile; |
nothing calls this directly
no test coverage detected