#include "InstantUsable.h" #include "Net/UnrealNetwork.h" void UInstantUsable::SetCanUse(bool CanUse) { } void UInstantUsable::OnRep_Usable() { } void UInstantUsable::GetLifetimeReplicatedProps(TArray& 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; }