Space Plunder
Loading...
Searching...
No Matches
WeaponPickupInterface.h
Go to the documentation of this file.
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
5#include "CoreMinimal.h"
7#include "UObject/Interface.h"
8#include "WeaponPickupInterface.generated.h"
9
10// This class does not need to be modified.
11UINTERFACE(MinimalAPI,meta = (CannotImplementInterfaceInBlueprint))
12class UWeaponPickupInterface : public UInterface
13{
14 GENERATED_BODY()
15};
16
20class WEAPONSYSTEM_API IWeaponPickupInterface
21{
22 GENERATED_BODY()
23
24 // Add interface functions to this class. This is the class that will be inherited to implement this interface.
25public:
26
27 UFUNCTION(BlueprintCallable, Category="Weapons")
28 virtual void WeaponDroppedEvent(const FWeaponData_T& DroppedWeaponData) = 0;
29 UFUNCTION(BlueprintCallable, Category="Weapons")
30 virtual void AddImpulseToWeapon(const FVector& Impulse, const FName& BoneName = NAME_None, const bool bVelChange = false) = 0;
31};
Definition WeaponPickupInterface.h:21
Definition WeaponPickupInterface.h:13
Struct representing data of a weapon that changes.
Definition WeaponStructs.h:861