mirror of
https://github.com/Auties00/Reboot-Launcher.git
synced 2026-01-13 11:12:23 +01:00
12 lines
520 B
C++
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);
|
|
} |