Files
Reboot-Launcher/dependencies/reboot/Project Reboot 3.0/FortOctopusVehicle.cpp
Alessandro Autiero b41e22adeb <feat: New project structure>
<feat: New release>
2023-09-02 15:34:15 +02:00

12 lines
520 B
C++

#include "FortOctopusVehicle.h"
#include "reboot.h"
void AFortOctopusVehicle::ServerUpdateTowhookHook(AFortOctopusVehicle* OctopusVehicle, FVector InNetTowhookAimDir)
{
static auto NetTowhookAimDirOffset = OctopusVehicle->GetOffset("NetTowhookAimDir");
OctopusVehicle->Get<FVector>(NetTowhookAimDirOffset) = InNetTowhookAimDir;
static auto OnRep_NetTowhookAimDirFn = FindObject<UFunction>("/Script/FortniteGame.FortOctopusVehicle.OnRep_NetTowhookAimDir");
OctopusVehicle->ProcessEvent(OnRep_NetTowhookAimDirFn);
}