| 325 | } |
| 326 | |
| 327 | void AWeapon::Dropped() |
| 328 | { |
| 329 | SetWeaponState(EWeaponState::EWS_Dropped); |
| 330 | FDetachmentTransformRules DetachRules(EDetachmentRule::KeepWorld, true); |
| 331 | WeaponMesh->DetachFromComponent(DetachRules); |
| 332 | SetOwner(nullptr); |
| 333 | BlasterOwnerCharacter = nullptr; |
| 334 | BlasterOwnerController = nullptr; |
| 335 | } |
| 336 | |
| 337 | bool AWeapon::IsEmpty() |
| 338 | { |
nothing calls this directly
no outgoing calls
no test coverage detected