mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
124 files changed.
This commit is contained in:
12
Project Reboot 3.0/FortOctopusVehicle.cpp
Normal file
12
Project Reboot 3.0/FortOctopusVehicle.cpp
Normal file
@@ -0,0 +1,12 @@
|
||||
#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);
|
||||
}
|
||||
Reference in New Issue
Block a user