MCPcopy Create free account
hub / github.com/DruidMech/MultiplayerCourseBlasterGame / Dropped

Method Dropped

Source/Blaster/Weapon/Weapon.cpp:327–335  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

325}
326
327void 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
337bool AWeapon::IsEmpty()
338{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected