| 256 | } |
| 257 | |
| 258 | void EveTurretSet::UnRegisterComponents() |
| 259 | { |
| 260 | auto registry = this->GetComponentRegistry(); |
| 261 | if( registry ) |
| 262 | { |
| 263 | if( EveEntityPtr entity = BlueCastPtr( m_firingEffect ) ) |
| 264 | { |
| 265 | entity->UnRegister( registry ); |
| 266 | } |
| 267 | |
| 268 | auto ambientEffect = GetAmbientEffectOrGeneratedEffect(); |
| 269 | if( EveEntityPtr entity = BlueCastPtr( ambientEffect ) ) |
| 270 | { |
| 271 | entity->UnRegister( registry ); |
| 272 | } |
| 273 | } |
| 274 | } |
| 275 | |
| 276 | // -------------------------------------------------------------------------------- |
| 277 | // Description: |
nothing calls this directly
no test coverage detected