25 lines
628 B
C++
Executable file
25 lines
628 B
C++
Executable file
#include "InstantUsable.h"
|
|
#include "Net/UnrealNetwork.h"
|
|
|
|
void UInstantUsable::SetCanUse(bool CanUse) {
|
|
}
|
|
|
|
void UInstantUsable::OnRep_Usable() {
|
|
}
|
|
|
|
void UInstantUsable::GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeProps) const {
|
|
Super::GetLifetimeReplicatedProps(OutLifetimeProps);
|
|
|
|
DOREPLIFETIME(UInstantUsable, Usable);
|
|
}
|
|
|
|
UInstantUsable::UInstantUsable() {
|
|
this->bShowUsingUI = true;
|
|
this->AudioCompletedUse = NULL;
|
|
this->UseDelayedAudio = false;
|
|
this->AudioDelay = 0.00f;
|
|
this->RefreshDelayOnNewUse = true;
|
|
this->Usable = false;
|
|
this->TurnOffAfterUse = false;
|
|
}
|
|
|