respawn button and "suicide" in console (no cheat)

This commit is contained in:
Milxnor
2023-06-05 18:51:57 -04:00
parent 5e6d120c09
commit d427e60df3
8 changed files with 129 additions and 12 deletions

View File

@@ -140,6 +140,8 @@ public:
void DropAllItems(const std::vector<UFortItemDefinition*>& IgnoreItemDefs, bool bIgnoreSecondaryQuickbar = false, bool bRemoveIfNotDroppable = false, bool RemovePickaxe = false);
void ApplyCosmeticLoadout();
static void ServerSuicideHook(AFortPlayerController* PlayerController);
static void ServerLoadingScreenDroppedHook(UObject* Context, FFrame* Stack, void* Ret);
static void ServerRepairBuildingActorHook(AFortPlayerController* PlayerController, ABuildingSMActor* BuildingActorToRepair);
static void ServerExecuteInventoryItemHook(AFortPlayerController* PlayerController, FGuid ItemGuid);