mirror of
https://github.com/FortniteModdingHub/FNGameProj.git
synced 2026-08-26 19:43:31 +00:00
22 lines
651 B
C++
22 lines
651 B
C++
#include "FortAthenaVehicleFuelComponent.h"
|
|
#include "Net/UnrealNetwork.h"
|
|
|
|
void UFortAthenaVehicleFuelComponent::OnRep_ServerFuel(float PreviousFuel) {
|
|
}
|
|
|
|
void UFortAthenaVehicleFuelComponent::GetLifetimeReplicatedProps(TArray<FLifetimeProperty>& OutLifetimeProps) const {
|
|
Super::GetLifetimeReplicatedProps(OutLifetimeProps);
|
|
|
|
DOREPLIFETIME(UFortAthenaVehicleFuelComponent, ServerFuel);
|
|
}
|
|
|
|
UFortAthenaVehicleFuelComponent::UFortAthenaVehicleFuelComponent() {
|
|
bShouldInitializeWithStartingFuel = true;
|
|
OwnerVehicle = NULL;
|
|
ServerFuel = 1;
|
|
OutOfFuelSound = NULL;
|
|
LowFuelSound = NULL;
|
|
LowFuelRepeatingPing = NULL;
|
|
}
|
|
|