#include "EventStarterButton.h" #include "Components/SceneComponent.h" #include "Net/UnrealNetwork.h" #include "SingleUsableComponent.h" void AEventStarterButton::SetIsEventActive(bool NewIsEventActive) { } void AEventStarterButton::OnUseProgress(float Progress) { } void AEventStarterButton::OnRep_OpenForUse() { } void AEventStarterButton::OnRep_Booted() { } void AEventStarterButton::CloseForUse(APlayerCharacter* User, EInputKeys Key) { } void AEventStarterButton::BootUpEvent() { } void AEventStarterButton::GetLifetimeReplicatedProps(TArray& OutLifetimeProps) const { Super::GetLifetimeReplicatedProps(OutLifetimeProps); DOREPLIFETIME(AEventStarterButton, Booted); DOREPLIFETIME(AEventStarterButton, IsOpenForUse); DOREPLIFETIME(AEventStarterButton, IsEventActive); } AEventStarterButton::AEventStarterButton() { this->Root = CreateDefaultSubobject(TEXT("Root")); this->Usable = CreateDefaultSubobject(TEXT("Usable")); this->Booted = false; this->IsOpenForUse = false; this->IsEventActive = true; }