mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
disable rebooting again
fixed looting bug, fixed parachute not auto deploying on some builds
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include "FortKismetLibrary.h"
|
||||
#include "AthenaMarkerComponent.h"
|
||||
#include "FortVolume.h"
|
||||
#include "AthenaPlayerMatchReport.h"
|
||||
|
||||
static void ApplyHID(AFortPlayerPawn* Pawn, UObject* HeroDefinition, bool bUseServerChoosePart = false)
|
||||
{
|
||||
@@ -191,6 +192,25 @@ public:
|
||||
this->ProcessEvent(ClientClearDeathNotificationFn);
|
||||
}
|
||||
|
||||
UAthenaPlayerMatchReport*& GetMatchReport()
|
||||
{
|
||||
static auto MatchReportOffset = GetOffset("MatchReport");
|
||||
return Get<UAthenaPlayerMatchReport*>(MatchReportOffset);
|
||||
}
|
||||
|
||||
void ClientSendTeamStatsForPlayer(FAthenaMatchTeamStats* TeamStats)
|
||||
{
|
||||
static auto ClientSendTeamStatsForPlayerFn = FindObject<UFunction>("/Script/FortniteGame.FortPlayerControllerAthena.ClientSendTeamStatsForPlayer");
|
||||
static auto ParamSize = ClientSendTeamStatsForPlayerFn->GetPropertiesSize();
|
||||
auto Params = malloc(ParamSize);
|
||||
|
||||
memcpy_s(Params, ParamSize, TeamStats, TeamStats->GetStructSize());
|
||||
|
||||
this->ProcessEvent(ClientSendTeamStatsForPlayerFn, Params);
|
||||
|
||||
free(Params);
|
||||
}
|
||||
|
||||
void RespawnPlayerAfterDeath(bool bEnterSkydiving)
|
||||
{
|
||||
static auto RespawnPlayerAfterDeathFn = FindObject<UFunction>(L"/Script/FortniteGame.FortPlayerControllerAthena.RespawnPlayerAfterDeath");
|
||||
|
||||
Reference in New Issue
Block a user