Adventure Kit  4.16
Public Member Functions | Protected Attributes | List of all members
AAdvKitInventoryPickup Class Reference

Inventory pickups spawn items when overlapped or used by the character and add it to the character's inventory. More...

#include <AdvKitInventoryPickup.h>

Inheritance diagram for AAdvKitInventoryPickup:
AAdvKitPickup AAdvKitUsable

Public Member Functions

 AAdvKitInventoryPickup (const FObjectInitializer &ObjectInitializer)
 
virtual void PickedUpBy_Implementation (class AAdvKitCharacter *Character, class AAdvKitInventoryItem *WithItem=nullptr) override
 
- Public Member Functions inherited from AAdvKitPickup
 AAdvKitPickup (const FObjectInitializer &ObjectInitializer)
 
virtual void NotifyActorBeginOverlap (class AActor *Other) override
 
void Respawn ()
 
virtual void Respawn_Implementation ()
 
bool CanBePickedUpBy (class AAdvKitCharacter *Character)
 
virtual bool CanBePickedUpBy_Implementation (class AAdvKitCharacter *Character)
 
virtual bool CanBeUsedBy_Implementation (class AAdvKitCharacter *Character, class AAdvKitInventoryItem *WithItem=nullptr) override
 
virtual void UsedBy_Implementation (class AAdvKitCharacter *Character, class AAdvKitInventoryItem *WithItem=nullptr) override
 
- Public Member Functions inherited from AAdvKitUsable
 AAdvKitUsable (const FObjectInitializer &ObjectInitializer)
 
void UsedBy (class AAdvKitCharacter *Character, class AAdvKitInventoryItem *WithItem=nullptr)
 
bool CanBeUsedBy (class AAdvKitCharacter *Character, class AAdvKitInventoryItem *WithItem=nullptr)
 

Protected Attributes

TSubclassOf< class AAdvKitInventoryItemSpawnedInventoryClass
 
- Protected Attributes inherited from AAdvKitPickup
bool bDestroyOnPickup
 
bool bRespawnAfterPickup
 
float RespawnTime
 
bool bActive
 
bool bCanBePickedUpWithUse
 
bool bCanBePickedUpByOverlap
 
FTimerHandle RespawnTimerHandle
 

Additional Inherited Members

- Public Attributes inherited from AAdvKitUsable
FUsedBySignature OnUsedBy
 
- Protected Member Functions inherited from AAdvKitPickup
void PickedUpBy (class AAdvKitCharacter *Character, class AAdvKitInventoryItem *WithItem=nullptr)
 

Detailed Description

Inventory pickups spawn items when overlapped or used by the character and add it to the character's inventory.

Constructor & Destructor Documentation

AAdvKitInventoryPickup::AAdvKitInventoryPickup ( const FObjectInitializer &  ObjectInitializer)

Constructor

Member Data Documentation

TSubclassOf<class AAdvKitInventoryItem> AAdvKitInventoryPickup::SpawnedInventoryClass
protected

The item that is spawned for the character on pickup.


The documentation for this class was generated from the following files: