22 lines
642 B
C++
Executable file
22 lines
642 B
C++
Executable file
#include "GatheItemsObjective.h"
|
|
#include "Net/UnrealNetwork.h"
|
|
|
|
void UGatheItemsObjective::OnResourceChanged(UCappedResource* CappedResource, float Amount) {
|
|
}
|
|
|
|
void UGatheItemsObjective::OnRep_ItemsCollected(int32 prevAmount) {
|
|
}
|
|
|
|
void UGatheItemsObjective::GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeProps) const {
|
|
Super::GetLifetimeReplicatedProps(OutLifetimeProps);
|
|
|
|
DOREPLIFETIME(UGatheItemsObjective, ItemsCollected);
|
|
}
|
|
|
|
UGatheItemsObjective::UGatheItemsObjective() {
|
|
this->ItemsRequired = 0;
|
|
this->ItemsSpawnedModifier = 1.50f;
|
|
this->ItemsCollected = 0;
|
|
this->ItemResource = NULL;
|
|
}
|
|
|