diff --git a/version.sln b/version.sln index 19beae0..f7fd565 100644 --- a/version.sln +++ b/version.sln @@ -9,15 +9,12 @@ Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Ark|x64 = Ark|x64 Atlas|x64 = Atlas|x64 - Release|x64 = Release|x64 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {3941E9F8-2E29-4D69-8717-F74562ED5301}.Ark|x64.ActiveCfg = Ark|x64 {3941E9F8-2E29-4D69-8717-F74562ED5301}.Ark|x64.Build.0 = Ark|x64 {3941E9F8-2E29-4D69-8717-F74562ED5301}.Atlas|x64.ActiveCfg = Atlas|x64 {3941E9F8-2E29-4D69-8717-F74562ED5301}.Atlas|x64.Build.0 = Atlas|x64 - {3941E9F8-2E29-4D69-8717-F74562ED5301}.Release|x64.ActiveCfg = Release|x64 - {3941E9F8-2E29-4D69-8717-F74562ED5301}.Release|x64.Build.0 = Release|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/version/Core/Public/API/ARK/Actor.h b/version/Core/Public/API/ARK/Actor.h index 3351bd8..21abd09 100644 --- a/version/Core/Public/API/ARK/Actor.h +++ b/version/Core/Public/API/ARK/Actor.h @@ -93,7 +93,6 @@ struct FItemSetup __int8 bForceBlueprint : 1; }; - struct __declspec(align(8)) FDinoSetup { TSubclassOf DinoType; @@ -362,6 +361,16 @@ struct UPrimitiveComponent : USceneComponent long double& LastRenderTimeIgnoreShadowField() { return *GetNativePointerField(this, "UPrimitiveComponent.LastRenderTimeIgnoreShadow"); } TEnumAsByte& CanCharacterStepUpOnField() { return *GetNativePointerField*>(this, "UPrimitiveComponent.CanCharacterStepUpOn"); } TArray>& MoveIgnoreActorsField() { return *GetNativePointerField>*>(this, "UPrimitiveComponent.MoveIgnoreActors"); } + FComponentBeginOverlapSignature& OnComponentBeginOverlapField() { return *GetNativePointerField(this, "UPrimitiveComponent.OnComponentBeginOverlap"); } + FComponentEndOverlapSignature& OnComponentEndOverlapField() { return *GetNativePointerField(this, "UPrimitiveComponent.OnComponentEndOverlap"); } + FComponentBeginCursorOverSignature& OnBeginCursorOverField() { return *GetNativePointerField(this, "UPrimitiveComponent.OnBeginCursorOver"); } + FComponentEndCursorOverSignature& OnEndCursorOverField() { return *GetNativePointerField(this, "UPrimitiveComponent.OnEndCursorOver"); } + FComponentOnClickedSignature& OnClickedField() { return *GetNativePointerField(this, "UPrimitiveComponent.OnClicked"); } + FComponentOnReleasedSignature& OnReleasedField() { return *GetNativePointerField(this, "UPrimitiveComponent.OnReleased"); } + FComponentOnInputTouchBeginSignature& OnInputTouchBeginField() { return *GetNativePointerField(this, "UPrimitiveComponent.OnInputTouchBegin"); } + FComponentOnInputTouchEndSignature& OnInputTouchEndField() { return *GetNativePointerField(this, "UPrimitiveComponent.OnInputTouchEnd"); } + FComponentBeginTouchOverSignature& OnInputTouchEnterField() { return *GetNativePointerField(this, "UPrimitiveComponent.OnInputTouchEnter"); } + FComponentEndTouchOverSignature& OnInputTouchLeaveField() { return *GetNativePointerField(this, "UPrimitiveComponent.OnInputTouchLeave"); } unsigned int& ProxyMeshIDField() { return *GetNativePointerField(this, "UPrimitiveComponent.ProxyMeshID"); } bool& bIsProxyMeshParentField() { return *GetNativePointerField(this, "UPrimitiveComponent.bIsProxyMeshParent"); } bool& bHasActiveProxyMeshChildrenField() { return *GetNativePointerField(this, "UPrimitiveComponent.bHasActiveProxyMeshChildren"); } @@ -483,6 +492,7 @@ struct UPrimitiveComponent : USceneComponent void DispatchOnInputTouchBegin(ETouchIndex::Type FingerIndex) { NativeCall(this, "UPrimitiveComponent.DispatchOnInputTouchBegin", FingerIndex); } void DispatchOnInputTouchEnd(ETouchIndex::Type FingerIndex) { NativeCall(this, "UPrimitiveComponent.DispatchOnInputTouchEnd", FingerIndex); } void SetRenderCustomDepth(bool bValue) { NativeCall(this, "UPrimitiveComponent.SetRenderCustomDepth", bValue); } + void SetCollisionResponseSet(FCollisionResponseSet * Col) { NativeCall(this, "UPrimitiveComponent.SetCollisionResponseSet", Col); } void SetCustomDepthStencilValue(int Value) { NativeCall(this, "UPrimitiveComponent.SetCustomDepthStencilValue", Value); } bool CanCharacterStepUp(APawn * Pawn) { return NativeCall(this, "UPrimitiveComponent.CanCharacterStepUp", Pawn); } bool CanEditSimulatePhysics() { return NativeCall(this, "UPrimitiveComponent.CanEditSimulatePhysics"); } @@ -641,6 +651,9 @@ struct AActor : UObject BitFieldValue bClimbable() { return { this, "AActor.bClimbable" }; } BitFieldValue bAttachmentReplicationUseNetworkParent() { return { this, "AActor.bAttachmentReplicationUseNetworkParent" }; } BitFieldValue bUnstreamComponentsUseEndOverlap() { return { this, "AActor.bUnstreamComponentsUseEndOverlap" }; } + BitFieldValue bUseBPOverrideUILocation() { return { this, "AActor.bUseBPOverrideUILocation" }; } + BitFieldValue bForceBasedActorsOutOfFastTick() { return { this, "AActor.bForceBasedActorsOutOfFastTick" }; } + BitFieldValue bUseBPGetShowDebugAnimationComponents() { return { this, "AActor.bUseBPGetShowDebugAnimationComponents" }; } BitFieldValue bNetCritical() { return { this, "AActor.bNetCritical" }; } BitFieldValue bReplicateInstigator() { return { this, "AActor.bReplicateInstigator" }; } BitFieldValue bSuppressDestroyedEvent() { return { this, "AActor.bSuppressDestroyedEvent" }; } @@ -696,6 +709,7 @@ struct AActor : UObject BitFieldValue bBPInventoryItemUsedHandlesDurability() { return { this, "AActor.bBPInventoryItemUsedHandlesDurability" }; } BitFieldValue bUseBPForceAllowsInventoryUse() { return { this, "AActor.bUseBPForceAllowsInventoryUse" }; } BitFieldValue bAlwaysCreatePhysicsState() { return { this, "AActor.bAlwaysCreatePhysicsState" }; } + BitFieldValue bReplicateRotationHighQuality() { return { this, "AActor.bReplicateRotationHighQuality" }; } BitFieldValue bReplicateVelocityHighQuality() { return { this, "AActor.bReplicateVelocityHighQuality" }; } BitFieldValue bOnlyReplicateOnNetForcedUpdate() { return { this, "AActor.bOnlyReplicateOnNetForcedUpdate" }; } BitFieldValue bActorInitialized() { return { this, "AActor.bActorInitialized" }; } @@ -961,7 +975,6 @@ struct APawn : AActor void PostLoad() { NativeCall(this, "APawn.PostLoad"); } void PostRegisterAllComponents() { NativeCall(this, "APawn.PostRegisterAllComponents"); } void UpdateNavAgent() { NativeCall(this, "APawn.UpdateNavAgent"); } - bool CanBeBaseForCharacter(APawn * APawn2) { return NativeCall(this, "APawn.CanBeBaseForCharacter", APawn2); } FVector * GetVelocity(FVector * result, bool bIsForRagdoll) { return NativeCall(this, "APawn.GetVelocity", result, bIsForRagdoll); } bool IsLocallyControlled() { return NativeCall(this, "APawn.IsLocallyControlled"); } bool ReachedDesiredRotation() { return NativeCall(this, "APawn.ReachedDesiredRotation"); } @@ -1132,6 +1145,8 @@ struct UShooterCheatManager : UCheatManager void GiveExpToPlayer(__int64 PlayerID, float HowMuch, bool fromTribeShare, bool bPreventSharingWithTribe) { NativeCall(this, "UShooterCheatManager.GiveExpToPlayer", PlayerID, HowMuch, fromTribeShare, bPreventSharingWithTribe); } void GiveExpToTarget(float HowMuch, bool fromTribeShare, bool bPreventSharingWithTribe) { NativeCall(this, "UShooterCheatManager.GiveExpToTarget", HowMuch, fromTribeShare, bPreventSharingWithTribe); } void DebugMyTarget() { NativeCall(this, "UShooterCheatManager.DebugMyTarget"); } + void DebugMyTargetFromLocation(FVector * spectatorLocation, FRotator * rotator) { NativeCall(this, "UShooterCheatManager.DebugMyTargetFromLocation", spectatorLocation, rotator); } + void DebugMyTargetPrint(AActor * actor) { NativeCall(this, "UShooterCheatManager.DebugMyTargetPrint", actor); } void DestroyMyTarget() { NativeCall(this, "UShooterCheatManager.DestroyMyTarget"); } void SetMyTargetSleeping(bool bIsSleeping) { NativeCall(this, "UShooterCheatManager.SetMyTargetSleeping", bIsSleeping); } void SetTargetDinoColor(int ColorRegion, int ColorID) { NativeCall(this, "UShooterCheatManager.SetTargetDinoColor", ColorRegion, ColorID); } @@ -1172,6 +1187,7 @@ struct UShooterCheatManager : UCheatManager void InfiniteStats() { NativeCall(this, "UShooterCheatManager.InfiniteStats"); } void GiveInfiniteStatsToTarget() { NativeCall(this, "UShooterCheatManager.GiveInfiniteStatsToTarget"); } void EnableCheats(FString pass) { NativeCall(this, "UShooterCheatManager.EnableCheats", pass); } + void ToggleDamageLogging() { NativeCall(this, "UShooterCheatManager.ToggleDamageLogging"); } void BanPlayer(FString PlayerSteamName) { NativeCall(this, "UShooterCheatManager.BanPlayer", PlayerSteamName); } void UnbanPlayer(FString PlayerSteamName) { NativeCall(this, "UShooterCheatManager.UnbanPlayer", PlayerSteamName); } void KickPlayer(FString PlayerSteamName) { NativeCall(this, "UShooterCheatManager.KickPlayer", PlayerSteamName); } @@ -1181,6 +1197,7 @@ struct UShooterCheatManager : UCheatManager void StartNearestHorde(FName HordeType, int DifficultyLevel) { NativeCall(this, "UShooterCheatManager.StartNearestHorde", HordeType, DifficultyLevel); } void ListActiveHordeEvents() { NativeCall(this, "UShooterCheatManager.ListActiveHordeEvents"); } void TeleportToActiveHorde(int EventIndex) { NativeCall(this, "UShooterCheatManager.TeleportToActiveHorde", EventIndex); } + void TeleportToTimedEventActor() { NativeCall(this, "UShooterCheatManager.TeleportToTimedEventActor"); } void SetImprintedPlayer(FString NewImprinterName, int NewImprinterPlayerDataID) { NativeCall(this, "UShooterCheatManager.SetImprintedPlayer", NewImprinterName, NewImprinterPlayerDataID); } void TransferImprints(int oldPlayerId, int newPlayerId, FString NewImprinterName) { NativeCall(this, "UShooterCheatManager.TransferImprints", oldPlayerId, newPlayerId, NewImprinterName); } void DoTame() { NativeCall(this, "UShooterCheatManager.DoTame"); } @@ -1210,6 +1227,9 @@ struct UShooterCheatManager : UCheatManager void TeleportToActorLocation(FString * ActorName) { NativeCall(this, "UShooterCheatManager.TeleportToActorLocation", ActorName); } void TP(FString LocationName) { NativeCall(this, "UShooterCheatManager.TP", LocationName); } void TPCoords(float lat, float lon, float z) { NativeCall(this, "UShooterCheatManager.TPCoords", lat, lon, z); } + void WhatIsMyTarget() { NativeCall(this, "UShooterCheatManager.WhatIsMyTarget"); } + void SetDebugMeleeAttacks(bool bDebugMelee) { NativeCall(this, "UShooterCheatManager.SetDebugMeleeAttacks", bDebugMelee); } + void MoveTargetTo(float x, float y, float z) { NativeCall(this, "UShooterCheatManager.MoveTargetTo", x, y, z); } void ServerChat(FString * MessageText) { NativeCall(this, "UShooterCheatManager.ServerChat", MessageText); } void SetChatLogMaxAgeInDays(int NumDays) { NativeCall(this, "UShooterCheatManager.SetChatLogMaxAgeInDays", NumDays); } AShooterPlayerController * FindPlayerControllerFromPlayerID(__int64 PlayerID) { return NativeCall(this, "UShooterCheatManager.FindPlayerControllerFromPlayerID", PlayerID); } @@ -1219,8 +1239,6 @@ struct UShooterCheatManager : UCheatManager void MakeTribeFounder() { NativeCall(this, "UShooterCheatManager.MakeTribeFounder"); } void VisualizeClass(FString * ClassIn, int MaxTotal) { NativeCall(this, "UShooterCheatManager.VisualizeClass", ClassIn, MaxTotal); } void UnlockEngram(FString * ItemClassName) { NativeCall(this, "UShooterCheatManager.UnlockEngram", ItemClassName); } - void SetHeadHairPercent(float thePercent) { NativeCall(this, "UShooterCheatManager.SetHeadHairPercent", thePercent); } - void SetFacialHairPercent(float thePercent) { NativeCall(this, "UShooterCheatManager.SetFacialHairPercent", thePercent); } void SetHeadHairstyle(int hairStyleIndex) { NativeCall(this, "UShooterCheatManager.SetHeadHairstyle", hairStyleIndex); } void SetFacialHairstyle(int hairStyleIndex) { NativeCall(this, "UShooterCheatManager.SetFacialHairstyle", hairStyleIndex); } void PrintMessageOut(FString * Msg) { NativeCall(this, "UShooterCheatManager.PrintMessageOut", Msg); } @@ -1390,6 +1408,7 @@ struct AShooterPlayerState : APlayerState void SendTribeInviteData_Implementation(FTribeData TribeInviteData) { NativeCall(this, "AShooterPlayerState.SendTribeInviteData_Implementation", TribeInviteData); } void DoRespec(UPrimalPlayerData * ForPlayerData, AShooterCharacter * ForCharacter, bool bSetRespecedAtCharacterLevel) { NativeCall(this, "AShooterPlayerState.DoRespec", ForPlayerData, ForCharacter, bSetRespecedAtCharacterLevel); } FString * GetUniqueIdString(FString * result) { return NativeCall(this, "AShooterPlayerState.GetUniqueIdString", result); } + bool IsInTribeWar(int EnemyTeam) { return NativeCall(this, "AShooterPlayerState.IsInTribeWar", EnemyTeam); } void ServerDeclareTribeWar_Implementation(int EnemyTeamID, int StartDayNum, int EndDayNumber, float WarStartTime, float WarEndTime) { NativeCall(this, "AShooterPlayerState.ServerDeclareTribeWar_Implementation", EnemyTeamID, StartDayNum, EndDayNumber, WarStartTime, WarEndTime); } void ServerAcceptTribeWar_Implementation(int EnemyTeamID) { NativeCall(this, "AShooterPlayerState.ServerAcceptTribeWar_Implementation", EnemyTeamID); } void ServerRejectTribeWar_Implementation(int EnemyTeamID) { NativeCall(this, "AShooterPlayerState.ServerRejectTribeWar_Implementation", EnemyTeamID); } @@ -1413,7 +1432,6 @@ struct AShooterPlayerState : APlayerState void NotifyTribememberJoined(FString * ThePlayerName) { NativeCall(this, "AShooterPlayerState.NotifyTribememberJoined", ThePlayerName); } void NotifyTribememberLeft(FString * ThePlayerName) { NativeCall(this, "AShooterPlayerState.NotifyTribememberLeft", ThePlayerName); } void NotifyUniqueDinoDownloadAllowed(FString * TheDinoName) { NativeCall(this, "AShooterPlayerState.NotifyUniqueDinoDownloadAllowed", TheDinoName); } - void NotifyUniqueDinoDownloaded(FString * TheDinoName) { NativeCall(this, "AShooterPlayerState.NotifyUniqueDinoDownloaded", TheDinoName); } void SendTribeInviteData(FTribeData TribeInviteData) { NativeCall(this, "AShooterPlayerState.SendTribeInviteData", TribeInviteData); } void ServerAcceptTribeWar(int EnemyTeamID) { NativeCall(this, "AShooterPlayerState.ServerAcceptTribeWar", EnemyTeamID); } void ServerDinoOrderGroup_AddOrRemoveDinoCharacter(int groupIndex, APrimalDinoCharacter * DinoCharacter, bool bAdd) { NativeCall(this, "AShooterPlayerState.ServerDinoOrderGroup_AddOrRemoveDinoCharacter", groupIndex, DinoCharacter, bAdd); } @@ -1716,6 +1734,7 @@ struct APlayerController : AController void ReceivedSpectatorClass(TSubclassOf SpectatorClass) { NativeCall>(this, "APlayerController.ReceivedSpectatorClass", SpectatorClass); } void GetLifetimeReplicatedProps(TArray * OutLifetimeProps) { NativeCall *>(this, "APlayerController.GetLifetimeReplicatedProps", OutLifetimeProps); } void SetPawn(APawn * InPawn) { NativeCall(this, "APlayerController.SetPawn", InPawn); } + void ClientNetGUIDActorDeletion_Implementation(FNetworkGUID TheNetGUID) { NativeCall(this, "APlayerController.ClientNetGUIDActorDeletion_Implementation", TheNetGUID); } void SetPlayer(UPlayer * InPlayer) { NativeCall(this, "APlayerController.SetPlayer", InPlayer); } void TickPlayerInput(const float DeltaSeconds, const bool bGamePaused) { NativeCall(this, "APlayerController.TickPlayerInput", DeltaSeconds, bGamePaused); } bool IsNetRelevantFor(APlayerController * RealViewer, AActor * Viewer, FVector * SrcLocation) { return NativeCall(this, "APlayerController.IsNetRelevantFor", RealViewer, Viewer, SrcLocation); } @@ -1779,6 +1798,7 @@ struct AShooterPlayerController : APlayerController FieldArray LastUsedItemSlotTimesField() { return { this, "AShooterPlayerController.LastUsedItemSlotTimes" }; } FVector& CurrentPlayerCharacterLocationField() { return *GetNativePointerField(this, "AShooterPlayerController.CurrentPlayerCharacterLocation"); } int& ModifedButtonCountField() { return *GetNativePointerField(this, "AShooterPlayerController.ModifedButtonCount"); } + int& nArkTributeLoadIndexField() { return *GetNativePointerField(this, "AShooterPlayerController.nArkTributeLoadIndex"); } APrimalStructurePlacer * StructurePlacerField() { return *GetNativePointerField(this, "AShooterPlayerController.StructurePlacer"); } FVector& LastDeathLocationField() { return *GetNativePointerField(this, "AShooterPlayerController.LastDeathLocation"); } long double& LastDeathTimeField() { return *GetNativePointerField(this, "AShooterPlayerController.LastDeathTime"); } @@ -1801,6 +1821,7 @@ struct AShooterPlayerController : APlayerController float& MaxUseCheckRadiusField() { return *GetNativePointerField(this, "AShooterPlayerController.MaxUseCheckRadius"); } TArray& SavedSurvivorProfileSettingsField() { return *GetNativePointerField*>(this, "AShooterPlayerController.SavedSurvivorProfileSettings"); } bool& bCachedOnlyShowOnlineTribeMembersField() { return *GetNativePointerField(this, "AShooterPlayerController.bCachedOnlyShowOnlineTribeMembers"); } + TArray& MapDinosField() { return *GetNativePointerField*>(this, "AShooterPlayerController.MapDinos"); } TArray>& RemoteViewingInventoriesField() { return *GetNativePointerField>*>(this, "AShooterPlayerController.RemoteViewingInventories"); } TWeakObjectPtr& LastHeldUseActorField() { return *GetNativePointerField*>(this, "AShooterPlayerController.LastHeldUseActor"); } TWeakObjectPtr& LastHeldUseHitComponentField() { return *GetNativePointerField*>(this, "AShooterPlayerController.LastHeldUseHitComponent"); } @@ -1918,6 +1939,7 @@ struct AShooterPlayerController : APlayerController // Bit fields + BitFieldValue bDidAutoRunCheats() { return { this, "AShooterPlayerController.bDidAutoRunCheats" }; } BitFieldValue bInfiniteAmmo() { return { this, "AShooterPlayerController.bInfiniteAmmo" }; } BitFieldValue bGodMode() { return { this, "AShooterPlayerController.bGodMode" }; } BitFieldValue bHideGun() { return { this, "AShooterPlayerController.bHideGun" }; } @@ -2061,13 +2083,14 @@ struct AShooterPlayerController : APlayerController void ClientAddActorItemToFolder_Implementation(UPrimalInventoryComponent * forInventory, FItemNetInfo itemInfo, bool bEquipItem, bool ShowHUDNotification, FString * ToFolder) { NativeCall(this, "AShooterPlayerController.ClientAddActorItemToFolder_Implementation", forInventory, itemInfo, bEquipItem, ShowHUDNotification, ToFolder); } void ClientAddItemToArk_Implementation(UPrimalInventoryComponent * forInventory, FItemNetInfo itemInfo, bool bFromLoad) { NativeCall(this, "AShooterPlayerController.ClientAddItemToArk_Implementation", forInventory, itemInfo, bFromLoad); } void ClientAddFolderToInventoryComponent_Implementation(UPrimalInventoryComponent * forInventory, FString * NewCustomFolderName, int InventoryCompType) { NativeCall(this, "AShooterPlayerController.ClientAddFolderToInventoryComponent_Implementation", forInventory, NewCustomFolderName, InventoryCompType); } - void ClientLoadArkItems_Implementation(UPrimalInventoryComponent * forInventory, TArray * itemInfos) { NativeCall *>(this, "AShooterPlayerController.ClientLoadArkItems_Implementation", forInventory, itemInfos); } + void ClientLoadArkItems_Implementation(UPrimalInventoryComponent * forInventory, TArray * itemInfos, bool bClear, bool bFinalBatch) { NativeCall *, bool, bool>(this, "AShooterPlayerController.ClientLoadArkItems_Implementation", forInventory, itemInfos, bClear, bFinalBatch); } void ClientFinishedLoadArkItems_Implementation(UPrimalInventoryComponent * forInventory) { NativeCall(this, "AShooterPlayerController.ClientFinishedLoadArkItems_Implementation", forInventory); } void ClientInsertActorItem_Implementation(UPrimalInventoryComponent * forInventory, FItemNetInfo itemInfo, FItemNetID InsertAfterItemID) { NativeCall(this, "AShooterPlayerController.ClientInsertActorItem_Implementation", forInventory, itemInfo, InsertAfterItemID); } void ClientRemoveActorItem_Implementation(UPrimalInventoryComponent * forInventory, FItemNetID itemID, bool showHUDMessage) { NativeCall(this, "AShooterPlayerController.ClientRemoveActorItem_Implementation", forInventory, itemID, showHUDMessage); } void ClientSwapActorItems_Implementation(UPrimalInventoryComponent * forInventory, FItemNetID itemID1, FItemNetID itemID2) { NativeCall(this, "AShooterPlayerController.ClientSwapActorItems_Implementation", forInventory, itemID1, itemID2); } void ClientUpdateInventoryCraftQueue_Implementation(UPrimalInventoryComponent * forInventory, TArray * CraftQueueEntries) { NativeCall *>(this, "AShooterPlayerController.ClientUpdateInventoryCraftQueue_Implementation", forInventory, CraftQueueEntries); } void ServerRequestActorItems_Implementation(UPrimalInventoryComponent * forInventory, bool bInventoryItems, bool bIsFirstSpawn) { NativeCall(this, "AShooterPlayerController.ServerRequestActorItems_Implementation", forInventory, bInventoryItems, bIsFirstSpawn); } + UPrimalInventoryComponent * GetPlayerInventory() { return NativeCall(this, "AShooterPlayerController.GetPlayerInventory"); } void ServerRemovePawnItem_Implementation(FItemNetID itemID, bool bSecondryAction) { NativeCall(this, "AShooterPlayerController.ServerRemovePawnItem_Implementation", itemID, bSecondryAction); } void ServerEquipPawnItem_Implementation(FItemNetID itemID) { NativeCall(this, "AShooterPlayerController.ServerEquipPawnItem_Implementation", itemID); } void ServerDeleteCustomFolder_Implementation(UPrimalInventoryComponent * forInventory, FString * CFolderName, int InventoryCompType) { NativeCall(this, "AShooterPlayerController.ServerDeleteCustomFolder_Implementation", forInventory, CFolderName, InventoryCompType); } @@ -2177,6 +2200,7 @@ struct AShooterPlayerController : APlayerController void ClientReset_Implementation() { NativeCall(this, "AShooterPlayerController.ClientReset_Implementation"); } void Reset() { NativeCall(this, "AShooterPlayerController.Reset"); } void CopyCoordsToClipboard() { NativeCall(this, "AShooterPlayerController.CopyCoordsToClipboard"); } + void GetAllMatinees() { NativeCall(this, "AShooterPlayerController.GetAllMatinees"); } void TestAlarmNotification(FString Title, FString Message) { NativeCall(this, "AShooterPlayerController.TestAlarmNotification", Title, Message); } void SendAlarmNotification(FString SteamID, FString Title, FString Message) { NativeCall(this, "AShooterPlayerController.SendAlarmNotification", SteamID, Title, Message); } bool SendUseItemSlotToStructure() { return NativeCall(this, "AShooterPlayerController.SendUseItemSlotToStructure"); } @@ -2236,7 +2260,8 @@ struct AShooterPlayerController : APlayerController void OnArkTributeAllClustersInventoryItemsLoaded(TArray * Items, bool bAllowForcedItemDownload) { NativeCall *, bool>(this, "AShooterPlayerController.OnArkTributeAllClustersInventoryItemsLoaded", Items, bAllowForcedItemDownload); } void OnArkTributeSaved(bool Success) { NativeCall(this, "AShooterPlayerController.OnArkTributeSaved", Success); } void ClientSetArkTributeLimits_Implementation(bool LimitItems, bool LimitDinos, bool LimitCharacters, int MaxItems, int MaxDinos, int MaxCharacters) { NativeCall(this, "AShooterPlayerController.ClientSetArkTributeLimits_Implementation", LimitItems, LimitDinos, LimitCharacters, MaxItems, MaxDinos, MaxCharacters); } - void ServerLoadArkInventoryItems_Implementation(TArray * ArkInventoryItemsInfo) { NativeCall *>(this, "AShooterPlayerController.ServerLoadArkInventoryItems_Implementation", ArkInventoryItemsInfo); } + void ServerLoadArkInventoryItems_Implementation(TArray * ArkInventoryItemsInfo, bool bFinalBatch) { NativeCall *, bool>(this, "AShooterPlayerController.ServerLoadArkInventoryItems_Implementation", ArkInventoryItemsInfo, bFinalBatch); } + void ServerAsyncLoadArkInventoryItems_Implementation(TArray * ArkInventoryItemsInfo, bool bFinalBatch) { NativeCall *, bool>(this, "AShooterPlayerController.ServerAsyncLoadArkInventoryItems_Implementation", ArkInventoryItemsInfo, bFinalBatch); } void GetTamedDinosNearBy(TArray> * Dinos, float RangeRadius) { NativeCall> *, float>(this, "AShooterPlayerController.GetTamedDinosNearBy", Dinos, RangeRadius); } bool IsTamedDinoNearBy(APrimalDinoCharacter * Dino, float RangeRadius) { return NativeCall(this, "AShooterPlayerController.IsTamedDinoNearBy", Dino, RangeRadius); } void ServerSendArkDataPayloadBegin_Implementation(FGuid ID, EPrimalARKTributeDataType::Type ArkDataType, FString * DataClass, FString * TagName, FString * Name, TArray * DataStats, unsigned int ID1, unsigned int ID2) { NativeCall *, unsigned int, unsigned int>(this, "AShooterPlayerController.ServerSendArkDataPayloadBegin_Implementation", ID, ArkDataType, DataClass, TagName, Name, DataStats, ID1, ID2); } @@ -2249,6 +2274,7 @@ struct AShooterPlayerController : APlayerController void ServerCharacterUploadWithItems_FinishAndCreateCharacter_Implementation(unsigned __int64 PlayerDataId) { NativeCall(this, "AShooterPlayerController.ServerCharacterUploadWithItems_FinishAndCreateCharacter_Implementation", PlayerDataId); } void RequestCreateNewPlayerWithArkData(TArray PlayerArkDataBytes, unsigned __int64 TribeID) { NativeCall, unsigned __int64>(this, "AShooterPlayerController.RequestCreateNewPlayerWithArkData", PlayerArkDataBytes, TribeID); } void LoadLocalPlayerArkData() { NativeCall(this, "AShooterPlayerController.LoadLocalPlayerArkData"); } + void AsyncLoadInventory() { NativeCall(this, "AShooterPlayerController.AsyncLoadInventory"); } int GetSubscribedAppIds() { return NativeCall(this, "AShooterPlayerController.GetSubscribedAppIds"); } void ServerLoadUploadedDinos_Implementation() { NativeCall(this, "AShooterPlayerController.ServerLoadUploadedDinos_Implementation"); } void ClientDownloadDinoRequestFinished_Implementation(bool Success) { NativeCall(this, "AShooterPlayerController.ClientDownloadDinoRequestFinished_Implementation", Success); } @@ -2392,6 +2418,8 @@ struct AShooterPlayerController : APlayerController void UpdateRequestEquippedItemsQueue() { NativeCall(this, "AShooterPlayerController.UpdateRequestEquippedItemsQueue"); } void SetGamma1() { NativeCall(this, "AShooterPlayerController.SetGamma1"); } void SetGamma2() { NativeCall(this, "AShooterPlayerController.SetGamma2"); } + void ClientRequestSpectatorLocationAndRotation_Implementation() { NativeCall(this, "AShooterPlayerController.ClientRequestSpectatorLocationAndRotation_Implementation"); } + void ServerRecieveSpectatorLocationAndRotation_Implementation(FVector spectatorLocation, FRotator spectatorRotation) { NativeCall(this, "AShooterPlayerController.ServerRecieveSpectatorLocationAndRotation_Implementation", spectatorLocation, spectatorRotation); } void ServerDropAllNotReadyForUploadItems_Implementation() { NativeCall(this, "AShooterPlayerController.ServerDropAllNotReadyForUploadItems_Implementation"); } void ClientOnDropAllNotReadyForUploadItemsFinished_Implementation() { NativeCall(this, "AShooterPlayerController.ClientOnDropAllNotReadyForUploadItemsFinished_Implementation"); } void QueueRequestEquippedItems(UPrimalInventoryComponent * invComp) { NativeCall(this, "AShooterPlayerController.QueueRequestEquippedItems", invComp); } @@ -2418,6 +2446,7 @@ struct AShooterPlayerController : APlayerController void ClientNotifyEditText(TSubclassOf ForObjectClass, unsigned int ExtraID1, unsigned int ExtraID2, UObject * ForObject) { NativeCall, unsigned int, unsigned int, UObject *>(this, "AShooterPlayerController.ClientNotifyEditText", ForObjectClass, ExtraID1, ExtraID2, ForObject); } void ClientNotifyListenServerOutOfRange() { NativeCall(this, "AShooterPlayerController.ClientNotifyListenServerOutOfRange"); } void ClientNotifyMessageOfTheDay(FString * Message, float timeToDisplay) { NativeCall(this, "AShooterPlayerController.ClientNotifyMessageOfTheDay", Message, timeToDisplay); } + void ClientNotifyPlayerDeath(APawn * InstigatingPawn) { NativeCall(this, "AShooterPlayerController.ClientNotifyPlayerDeath", InstigatingPawn); } void ClientNotifyPlayerDeathReason(FString * ReasonString) { NativeCall(this, "AShooterPlayerController.ClientNotifyPlayerDeathReason", ReasonString); } void ClientNotifyPlayerKill(AActor * PlayerPawn, APawn * VictimPawn) { NativeCall(this, "AShooterPlayerController.ClientNotifyPlayerKill", PlayerPawn, VictimPawn); } void ClientNotifyTamedDino(TSubclassOf DinoClass) { NativeCall>(this, "AShooterPlayerController.ClientNotifyTamedDino", DinoClass); } @@ -2513,6 +2542,9 @@ struct ACharacter : APawn BitFieldValue bSetDefaultMovementMode() { return { this, "ACharacter.bSetDefaultMovementMode" }; } BitFieldValue bOverrideNewFallVelocity() { return { this, "ACharacter.bOverrideNewFallVelocity" }; } BitFieldValue bPreventWaterHopCorrectionVelChange() { return { this, "ACharacter.bPreventWaterHopCorrectionVelChange" }; } + BitFieldValue bUsesRootMotion() { return { this, "ACharacter.bUsesRootMotion" }; } + BitFieldValue bBasedUsesFastPathSMCTick() { return { this, "ACharacter.bBasedUsesFastPathSMCTick" }; } + BitFieldValue bBasedUsesFastPathMoveTick() { return { this, "ACharacter.bBasedUsesFastPathMoveTick" }; } // Functions @@ -2528,6 +2560,7 @@ struct ACharacter : APawn void ApplyWorldOffset(FVector * InOffset, bool bWorldShift) { NativeCall(this, "ACharacter.ApplyWorldOffset", InOffset, bWorldShift); } float GetDefaultHalfHeight() { return NativeCall(this, "ACharacter.GetDefaultHalfHeight"); } UActorComponent * FindComponentByClass(TSubclassOf ComponentClass) { return NativeCall>(this, "ACharacter.FindComponentByClass", ComponentClass); } + void Landed(FHitResult * Hit) { NativeCall(this, "ACharacter.Landed", Hit); } bool CanJump() { return NativeCall(this, "ACharacter.CanJump"); } bool CanJumpInternal_Implementation() { return NativeCall(this, "ACharacter.CanJumpInternal_Implementation"); } bool DoJump(bool bReplayingMoves) { return NativeCall(this, "ACharacter.DoJump", bReplayingMoves); } @@ -2613,6 +2646,8 @@ struct APrimalCharacter : ACharacter USoundCue * HurtSoundField() { return *GetNativePointerField(this, "APrimalCharacter.HurtSound"); } FName& RootBodyBoneNameField() { return *GetNativePointerField(this, "APrimalCharacter.RootBodyBoneName"); } TArray BuffsField() { return *GetNativePointerField*>(this, "APrimalCharacter.Buffs"); } + long double& LastStartedTalkingTimeField() { return *GetNativePointerField(this, "APrimalCharacter.LastStartedTalkingTime"); } + bool& bIsVoiceTalkingField() { return *GetNativePointerField(this, "APrimalCharacter.bIsVoiceTalking"); } FString& TribeNameField() { return *GetNativePointerField(this, "APrimalCharacter.TribeName"); } float& WaterSubmergedDepthThresholdField() { return *GetNativePointerField(this, "APrimalCharacter.WaterSubmergedDepthThreshold"); } float& ProneWaterSubmergedDepthThresholdField() { return *GetNativePointerField(this, "APrimalCharacter.ProneWaterSubmergedDepthThreshold"); } @@ -2860,10 +2895,12 @@ struct APrimalCharacter : ACharacter BitFieldValue bCanBeCarried() { return { this, "APrimalCharacter.bCanBeCarried" }; } BitFieldValue bUseBPCanNotifyTeamAggroAI() { return { this, "APrimalCharacter.bUseBPCanNotifyTeamAggroAI" }; } BitFieldValue bDamageNotifyTeamAggroAI() { return { this, "APrimalCharacter.bDamageNotifyTeamAggroAI" }; } + BitFieldValue bUseBPGetOverrideCameraInterpSpeed() { return { this, "APrimalCharacter.bUseBPGetOverrideCameraInterpSpeed" }; } BitFieldValue bRecentlyUpdateIk() { return { this, "APrimalCharacter.bRecentlyUpdateIk" }; } BitFieldValue bIKEnabled() { return { this, "APrimalCharacter.bIKEnabled" }; } BitFieldValue bIsCarried() { return { this, "APrimalCharacter.bIsCarried" }; } BitFieldValue bIsCarriedAsPassenger() { return { this, "APrimalCharacter.bIsCarriedAsPassenger" }; } + BitFieldValue bUseBPPreventFallDamage() { return { this, "APrimalCharacter.bUseBPPreventFallDamage" }; } BitFieldValue bForceIKOnDedicatedServer() { return { this, "APrimalCharacter.bForceIKOnDedicatedServer" }; } BitFieldValue bIgnoreAllImmobilizationTraps() { return { this, "APrimalCharacter.bIgnoreAllImmobilizationTraps" }; } BitFieldValue bForceTriggerIgnoredTraps() { return { this, "APrimalCharacter.bForceTriggerIgnoredTraps" }; } @@ -2942,6 +2979,7 @@ struct APrimalCharacter : ACharacter BitFieldValue bPreventJump() { return { this, "APrimalCharacter.bPreventJump" }; } BitFieldValue bUseBPPreventStasis() { return { this, "APrimalCharacter.bUseBPPreventStasis" }; } BitFieldValue bDestroyOnStasis() { return { this, "APrimalCharacter.bDestroyOnStasis" }; } + BitFieldValue bUseBPPreSerializeSaveGame() { return { this, "APrimalCharacter.bUseBPPreSerializeSaveGame" }; } BitFieldValue bUseBPPostLoadedFromSaveGame() { return { this, "APrimalCharacter.bUseBPPostLoadedFromSaveGame" }; } BitFieldValue bUseHeavyCombatMusic() { return { this, "APrimalCharacter.bUseHeavyCombatMusic" }; } BitFieldValue bMarkForDestruction() { return { this, "APrimalCharacter.bMarkForDestruction" }; } @@ -2953,6 +2991,12 @@ struct APrimalCharacter : ACharacter BitFieldValue bServerBPNotifyInventoryItemChanges() { return { this, "APrimalCharacter.bServerBPNotifyInventoryItemChanges" }; } BitFieldValue bAllowRun() { return { this, "APrimalCharacter.bAllowRun" }; } BitFieldValue bIsAtMaxInventoryItems() { return { this, "APrimalCharacter.bIsAtMaxInventoryItems" }; } + BitFieldValue bUseBPOnStaminaDrained() { return { this, "APrimalCharacter.bUseBPOnStaminaDrained" }; } + BitFieldValue bStaminaIsGreaterThanZero() { return { this, "APrimalCharacter.bStaminaIsGreaterThanZero" }; } + BitFieldValue bUseBPGrabDebugSnapshot() { return { this, "APrimalCharacter.bUseBPGrabDebugSnapshot" }; } + BitFieldValue bIsAttachedOtherCharacter() { return { this, "APrimalCharacter.bIsAttachedOtherCharacter" }; } + BitFieldValue bUseBPOnLethalDamage() { return { this, "APrimalCharacter.bUseBPOnLethalDamage" }; } + BitFieldValue bUseBPAdjustTorpidityDamage() { return { this, "APrimalCharacter.bUseBPAdjustTorpidityDamage" }; } BitFieldValue bIsReplicatedRagdoll() { return { this, "APrimalCharacter.bIsReplicatedRagdoll" }; } BitFieldValue bWasAllBodiesSleeping() { return { this, "APrimalCharacter.bWasAllBodiesSleeping" }; } BitFieldValue bInRagdoll() { return { this, "APrimalCharacter.bInRagdoll" }; } @@ -2980,8 +3024,19 @@ struct APrimalCharacter : ACharacter BitFieldValue bPreventLiveBlinking() { return { this, "APrimalCharacter.bPreventLiveBlinking" }; } BitFieldValue bIgnoreSeatingDetachment() { return { this, "APrimalCharacter.bIgnoreSeatingDetachment" }; } BitFieldValue bForceAlwaysUpdateMeshAndCollision() { return { this, "APrimalCharacter.bForceAlwaysUpdateMeshAndCollision" }; } + BitFieldValue bUseBPGetHUDElements() { return { this, "APrimalCharacter.bUseBPGetHUDElements" }; } BitFieldValue bPreventHurtAnim() { return { this, "APrimalCharacter.bPreventHurtAnim" }; } BitFieldValue bUseBPCanBeBaseForCharacter() { return { this, "APrimalCharacter.bUseBPCanBeBaseForCharacter" }; } + BitFieldValue bUseBPCanBaseOnCharacter() { return { this, "APrimalCharacter.bUseBPCanBaseOnCharacter" }; } + BitFieldValue bUseBPOnLanded() { return { this, "APrimalCharacter.bUseBPOnLanded" }; } + BitFieldValue bUseBPCheckJumpInput() { return { this, "APrimalCharacter.bUseBPCheckJumpInput" }; } + BitFieldValue bUseBPOverrideHurtAnim() { return { this, "APrimalCharacter.bUseBPOverrideHurtAnim" }; } + BitFieldValue bUseBPOverrideDamageCauserHitMarker() { return { this, "APrimalCharacter.bUseBPOverrideDamageCauserHitMarker" }; } + BitFieldValue bIsSkinned() { return { this, "APrimalCharacter.bIsSkinned" }; } + BitFieldValue bUseBPAdjustImpulseFromDamage() { return { this, "APrimalCharacter.bUseBPAdjustImpulseFromDamage" }; } + BitFieldValue bUseBPAdjustCharacterMovementImpulse() { return { this, "APrimalCharacter.bUseBPAdjustCharacterMovementImpulse" }; } + BitFieldValue bUseBPModifyFOVInterpSpeed() { return { this, "APrimalCharacter.bUseBPModifyFOVInterpSpeed" }; } + BitFieldValue bVerifyBasingForSaddleStructures() { return { this, "APrimalCharacter.bVerifyBasingForSaddleStructures" }; } // Functions @@ -3083,6 +3138,7 @@ struct APrimalCharacter : ACharacter void PlayLandedAnim() { NativeCall(this, "APrimalCharacter.PlayLandedAnim"); } void OnJumped_Implementation() { NativeCall(this, "APrimalCharacter.OnJumped_Implementation"); } void NetOnJumped_Implementation() { NativeCall(this, "APrimalCharacter.NetOnJumped_Implementation"); } + void OnVoiceTalkingStateChanged(bool isTalking) { NativeCall(this, "APrimalCharacter.OnVoiceTalkingStateChanged", isTalking); } void OnStopJump() { NativeCall(this, "APrimalCharacter.OnStopJump"); } void GetLifetimeReplicatedProps(TArray * OutLifetimeProps) { NativeCall *>(this, "APrimalCharacter.GetLifetimeReplicatedProps", OutLifetimeProps); } float GetRunningSpeedModifier(bool bIsForDefaultSpeed) { return NativeCall(this, "APrimalCharacter.GetRunningSpeedModifier", bIsForDefaultSpeed); } @@ -3104,10 +3160,12 @@ struct APrimalCharacter : ACharacter float GetLowHealthPercentage() { return NativeCall(this, "APrimalCharacter.GetLowHealthPercentage"); } bool IsAlive() { return NativeCall(this, "APrimalCharacter.IsAlive"); } FString * GetDescriptiveName(FString * result) { return NativeCall(this, "APrimalCharacter.GetDescriptiveName", result); } + FString * GetShortName(FString * result) { return NativeCall(this, "APrimalCharacter.GetShortName", result); } TArray * GetDetailedDescription(TArray * result, FString * IndentPrefix) { return NativeCall *, TArray *, FString *>(this, "APrimalCharacter.GetDetailedDescription", result, IndentPrefix); } float GetHealthPercentage() { return NativeCall(this, "APrimalCharacter.GetHealthPercentage"); } float GetHealth() { return NativeCall(this, "APrimalCharacter.GetHealth"); } FVector * GetInterpolatedLocation(FVector * result) { return NativeCall(this, "APrimalCharacter.GetInterpolatedLocation", result); } + void DrawFloatingChatMessage(AShooterHUD * HUD, FString Message, long double receivedChatTime) { NativeCall(this, "APrimalCharacter.DrawFloatingChatMessage", HUD, Message, receivedChatTime); } FRotator * GetInterpolatedRotation(FRotator * result) { return NativeCall(this, "APrimalCharacter.GetInterpolatedRotation", result); } float GetClientRotationInterpSpeed(FVector * RootLoc) { return NativeCall(this, "APrimalCharacter.GetClientRotationInterpSpeed", RootLoc); } FRotator * GetAimOffsets(FRotator * result, float DeltaTime, FRotator * RootRotOffset, float * RootYawSpeed, float MaxYawAimClamp, FVector * RootLocOffset) { return NativeCall(this, "APrimalCharacter.GetAimOffsets", result, DeltaTime, RootRotOffset, RootYawSpeed, MaxYawAimClamp, RootLocOffset); } @@ -3168,6 +3226,7 @@ struct APrimalCharacter : ACharacter void EnableIK(bool bEnable, bool bForceOnDedicated) { NativeCall(this, "APrimalCharacter.EnableIK", bEnable, bForceOnDedicated); } bool TryMultiUse(APlayerController * ForPC, int UseIndex) { return NativeCall(this, "APrimalCharacter.TryMultiUse", ForPC, UseIndex); } void ClientMultiUse(APlayerController * ForPC, int UseIndex) { NativeCall(this, "APrimalCharacter.ClientMultiUse", ForPC, UseIndex); } + void GetHUDElements(APlayerController * ForPC, TArray * OutElements) { NativeCall *>(this, "APrimalCharacter.GetHUDElements", ForPC, OutElements); } void ForceTickPoseDelta() { NativeCall(this, "APrimalCharacter.ForceTickPoseDelta"); } void CheckJumpOutOfWater() { NativeCall(this, "APrimalCharacter.CheckJumpOutOfWater"); } bool IsTargetableDead() { return NativeCall(this, "APrimalCharacter.IsTargetableDead"); } @@ -3229,6 +3288,7 @@ struct APrimalCharacter : ACharacter void TryCallStayOne() { NativeCall(this, "APrimalCharacter.TryCallStayOne"); } void TryCallFollowOne() { NativeCall(this, "APrimalCharacter.TryCallFollowOne"); } void TryCallFollowDistanceCycleOne() { NativeCall(this, "APrimalCharacter.TryCallFollowDistanceCycleOne"); } + void TryCallFlyerLandOne() { NativeCall(this, "APrimalCharacter.TryCallFlyerLandOne"); } void OnRep_AttachmentReplication() { NativeCall(this, "APrimalCharacter.OnRep_AttachmentReplication"); } FString * GetDebugInfoString(FString * result) { return NativeCall(this, "APrimalCharacter.GetDebugInfoString", result); } bool SimulatedPreventBasedPhysics() { return NativeCall(this, "APrimalCharacter.SimulatedPreventBasedPhysics"); } @@ -3284,18 +3344,20 @@ struct APrimalCharacter : ACharacter bool ShouldDealDamageTo(APrimalCharacter * OtherCharacter, bool bAllowDamageToSelf, bool bAllowDamageToTribe, bool bAllowDamageToAlliedTribes) { return NativeCall(this, "APrimalCharacter.ShouldDealDamageTo", OtherCharacter, bAllowDamageToSelf, bAllowDamageToTribe, bAllowDamageToAlliedTribes); } bool TeleportTo(FVector * DestLocation, FRotator * DestRotation, bool bIsATest, bool bNoCheck) { return NativeCall(this, "APrimalCharacter.TeleportTo", DestLocation, DestRotation, bIsATest, bNoCheck); } UObject * GetUObjectInterfaceTargetableInterface() { return NativeCall(this, "APrimalCharacter.GetUObjectInterfaceTargetableInterface"); } + long double GetLastStartedTalkingTime() { return NativeCall(this, "APrimalCharacter.GetLastStartedTalkingTime"); } float GetStasisConsumerRangeMultiplier() { return NativeCall(this, "APrimalCharacter.GetStasisConsumerRangeMultiplier"); } UAnimMontage * GetPoopAnimation(bool bForcePoop) { return NativeCall(this, "APrimalCharacter.GetPoopAnimation", bForcePoop); } float GetBaseDragWeight() { return NativeCall(this, "APrimalCharacter.GetBaseDragWeight"); } + bool IsVoiceTalking() { return NativeCall(this, "APrimalCharacter.IsVoiceTalking"); } static void StaticRegisterNativesAPrimalCharacter() { NativeCall(nullptr, "APrimalCharacter.StaticRegisterNativesAPrimalCharacter"); } void BP_OnSetDeath() { NativeCall(this, "APrimalCharacter.BP_OnSetDeath"); } float BPAdjustDamage(float IncomingDamage, FDamageEvent TheDamageEvent, AController * EventInstigator, AActor * DamageCauser, bool bIsPointDamage, FHitResult PointHitInfo) { return NativeCall(this, "APrimalCharacter.BPAdjustDamage", IncomingDamage, TheDamageEvent, EventInstigator, DamageCauser, bIsPointDamage, PointHitInfo); } FVector * BPAdjustImpulseFromDamage(FVector * result, FVector DesiredImpulse, float DamageTaken, FDamageEvent TheDamageEvent, APawn * PawnInstigator, AActor * DamageCauser, bool bIsPointDamage, FHitResult PointHitInfo) { return NativeCall(this, "APrimalCharacter.BPAdjustImpulseFromDamage", result, DesiredImpulse, DamageTaken, TheDamageEvent, PawnInstigator, DamageCauser, bIsPointDamage, PointHitInfo); } FRotator * BPCameraBaseOrientation(FRotator * result, APrimalCharacter * viewingCharacter) { return NativeCall(this, "APrimalCharacter.BPCameraBaseOrientation", result, viewingCharacter); } FRotator * BPCameraRotationFinal(FRotator * result, APrimalCharacter * viewingCharacter, FRotator * InCurrentFinalRot) { return NativeCall(this, "APrimalCharacter.BPCameraRotationFinal", result, viewingCharacter, InCurrentFinalRot); } - bool BPCanNotifyTeamAggroAI(APrimalDinoCharacter * Dino) { return NativeCall(this, "APrimalCharacter.BPCanNotifyTeamAggroAI", Dino); } FVector * BPGetFPVViewLocation(FVector * result, APrimalCharacter * viewingCharacter) { return NativeCall(this, "APrimalCharacter.BPGetFPVViewLocation", result, viewingCharacter); } void BPGetOverrideCameraInterpSpeed(float DefaultTPVCameraSpeedInterpolationMultiplier, float DefaultTPVOffsetInterpSpeed, float * TPVCameraSpeedInterpolationMultiplier, float * TPVOffsetInterpSpeed) { NativeCall(this, "APrimalCharacter.BPGetOverrideCameraInterpSpeed", DefaultTPVCameraSpeedInterpolationMultiplier, DefaultTPVOffsetInterpSpeed, TPVCameraSpeedInterpolationMultiplier, TPVOffsetInterpSpeed); } + FRotator * BPLimitPlayerRotation(FRotator * result, APrimalCharacter * viewingCharacter, FRotator InViewRotation) { return NativeCall(this, "APrimalCharacter.BPLimitPlayerRotation", result, viewingCharacter, InViewRotation); } float BPModifyViewHitDir(APrimalCharacter * viewingCharacter, float InViewHitDir) { return NativeCall(this, "APrimalCharacter.BPModifyViewHitDir", viewingCharacter, InViewHitDir); } void BPNotifyLevelUp(int ExtraCharacterLevel) { NativeCall(this, "APrimalCharacter.BPNotifyLevelUp", ExtraCharacterLevel); } void BPOnStaminaDrained() { NativeCall(this, "APrimalCharacter.BPOnStaminaDrained"); } @@ -3344,8 +3406,6 @@ struct AShooterCharacter : APrimalCharacter UAnimMontage * DraggingCharacterAnimField() { return *GetNativePointerField(this, "AShooterCharacter.DraggingCharacterAnim"); } bool& bWasProneField() { return *GetNativePointerField(this, "AShooterCharacter.bWasProne"); } bool& bIsPreviewCharacterField() { return *GetNativePointerField(this, "AShooterCharacter.bIsPreviewCharacter"); } - bool& bIsVoiceTalkingField() { return *GetNativePointerField(this, "AShooterCharacter.bIsVoiceTalking"); } - long double& LastStartedTalkingTimeField() { return *GetNativePointerField(this, "AShooterCharacter.LastStartedTalkingTime"); } long double& DontTargetUntilTimeField() { return *GetNativePointerField(this, "AShooterCharacter.DontTargetUntilTime"); } float& OriginalCollisionHeightField() { return *GetNativePointerField(this, "AShooterCharacter.OriginalCollisionHeight"); } float& WalkBobMagnitudeField() { return *GetNativePointerField(this, "AShooterCharacter.WalkBobMagnitude"); } @@ -3615,7 +3675,6 @@ struct AShooterCharacter : APrimalCharacter void FinishWeaponSwitch() { NativeCall(this, "AShooterCharacter.FinishWeaponSwitch"); } float GetMaxCursorHUDDistance(AShooterPlayerController * PC) { return NativeCall(this, "AShooterCharacter.GetMaxCursorHUDDistance", PC); } void DrawFloatingHUD(AShooterHUD * HUD) { NativeCall(this, "AShooterCharacter.DrawFloatingHUD", HUD); } - void DrawFloatingChatMessage(AShooterHUD * HUD, FString Message, long double receivedChatTime) { NativeCall(this, "AShooterCharacter.DrawFloatingChatMessage", HUD, Message, receivedChatTime); } void SetCurrentWeapon(AShooterWeapon * NewWeapon, AShooterWeapon * LastWeapon) { NativeCall(this, "AShooterCharacter.SetCurrentWeapon", NewWeapon, LastWeapon); } void ForceSleep() { NativeCall(this, "AShooterCharacter.ForceSleep"); } bool CanFire() { return NativeCall(this, "AShooterCharacter.CanFire"); } @@ -3744,9 +3803,12 @@ struct AShooterCharacter : APrimalCharacter void ClientOrderedMoveTo_Implementation(FVector MoveToLoc) { NativeCall(this, "AShooterCharacter.ClientOrderedMoveTo_Implementation", MoveToLoc); } void ClientOrderedAttackTarget_Implementation(AActor * attackTarget) { NativeCall(this, "AShooterCharacter.ClientOrderedAttackTarget_Implementation", attackTarget); } void ServerCallMoveTo_Implementation(FVector MoveToLoc) { NativeCall(this, "AShooterCharacter.ServerCallMoveTo_Implementation", MoveToLoc); } + void ServerCallLandFlyerOne_Implementation(APrimalDinoCharacter * ForDinoChar) { NativeCall(this, "AShooterCharacter.ServerCallLandFlyerOne_Implementation", ForDinoChar); } bool TryAccessInventory() { return NativeCall(this, "AShooterCharacter.TryAccessInventory"); } void PlayEmoteAnimation_Implementation(char EmoteIndex) { NativeCall(this, "AShooterCharacter.PlayEmoteAnimation_Implementation", EmoteIndex); } void OnVoiceTalkingStateChanged(bool talking) { NativeCall(this, "AShooterCharacter.OnVoiceTalkingStateChanged", talking); } + ACharacter * GetTalkerCharacter() { return NativeCall(this, "AShooterCharacter.GetTalkerCharacter"); } + FVector * GetTalkerLocation(FVector * result) { return NativeCall(this, "AShooterCharacter.GetTalkerLocation", result); } void OnFailedJumped() { NativeCall(this, "AShooterCharacter.OnFailedJumped"); } float GetRecoilMultiplier() { return NativeCall(this, "AShooterCharacter.GetRecoilMultiplier"); } void StasisingCharacter() { NativeCall(this, "AShooterCharacter.StasisingCharacter"); } @@ -3784,7 +3846,7 @@ struct AShooterCharacter : APrimalCharacter FVector * GetPawnViewLocation(FVector * result, bool bAllTransforms) { return NativeCall(this, "AShooterCharacter.GetPawnViewLocation", result, bAllTransforms); } FRotator * GetPassengerAttachedRotation(FRotator * result) { return NativeCall(this, "AShooterCharacter.GetPassengerAttachedRotation", result); } void ClientInviteToAlliance_Implementation(int RequestingTeam, unsigned int AllianceID, FString * AllianceName, FString * InviteeName) { NativeCall(this, "AShooterCharacter.ClientInviteToAlliance_Implementation", RequestingTeam, AllianceID, AllianceName, InviteeName); } - void InviteToAlliance(int RequestingTeam, unsigned int AllianceID, FString AllianceName, FString InviteeName) { NativeCall(this, "AShooterCharacter.InviteToAlliance", RequestingTeam, AllianceID, AllianceName, InviteeName); } + void InviteToAlliance(int RequestingTeam, unsigned int AllianceID, FString AllianceName, FString InviterName) { NativeCall(this, "AShooterCharacter.InviteToAlliance", RequestingTeam, AllianceID, AllianceName, InviterName); } bool CanDragCharacter(APrimalCharacter * Character) { return NativeCall(this, "AShooterCharacter.CanDragCharacter", Character); } void GiveDefaultWeaponTimer() { NativeCall(this, "AShooterCharacter.GiveDefaultWeaponTimer"); } bool IsCarryingSomething(bool bNotForRunning) { return NativeCall(this, "AShooterCharacter.IsCarryingSomething", bNotForRunning); } @@ -3826,6 +3888,7 @@ struct AShooterCharacter : APrimalCharacter bool IsGrapplingHardAttached() { return NativeCall(this, "AShooterCharacter.IsGrapplingHardAttached"); } bool TeleportTo(FVector * DestLocation, FRotator * DestRotation, bool bIsATest, bool bNoCheck) { return NativeCall(this, "AShooterCharacter.TeleportTo", DestLocation, DestRotation, bIsATest, bNoCheck); } FString * GetDebugInfoString(FString * result) { return NativeCall(this, "AShooterCharacter.GetDebugInfoString", result); } + unsigned __int64 GetLinkedPlayerDataID() { return NativeCall(this, "AShooterCharacter.GetLinkedPlayerDataID"); } unsigned int GetUniqueNetIdTypeHash() { return NativeCall(this, "AShooterCharacter.GetUniqueNetIdTypeHash"); } bool IsSitting(bool bIgnoreLockedToSeat) { return NativeCall(this, "AShooterCharacter.IsSitting", bIgnoreLockedToSeat); } bool IsProneOrSitting(bool bIgnoreLockedToSeat) { return NativeCall(this, "AShooterCharacter.IsProneOrSitting", bIgnoreLockedToSeat); } @@ -4100,6 +4163,7 @@ struct UPrimalCharacterStatusComponent BitFieldValue bWalkingConsumesStamina() { return { this, "UPrimalCharacterStatusComponent.bWalkingConsumesStamina" }; } BitFieldValue bRunningConsumesStamina() { return { this, "UPrimalCharacterStatusComponent.bRunningConsumesStamina" }; } BitFieldValue bConsumeFoodAutomatically() { return { this, "UPrimalCharacterStatusComponent.bConsumeFoodAutomatically" }; } + BitFieldValue bInfiniteFood() { return { this, "UPrimalCharacterStatusComponent.bInfiniteFood" }; } BitFieldValue bAddExperienceAutomatically() { return { this, "UPrimalCharacterStatusComponent.bAddExperienceAutomatically" }; } BitFieldValue bConsumeWaterAutomatically() { return { this, "UPrimalCharacterStatusComponent.bConsumeWaterAutomatically" }; } BitFieldValue bAutomaticallyUpdateTemperature() { return { this, "UPrimalCharacterStatusComponent.bAutomaticallyUpdateTemperature" }; } @@ -4120,6 +4184,7 @@ struct UPrimalCharacterStatusComponent BitFieldValue bUseBPAdjustStatusValueModification() { return { this, "UPrimalCharacterStatusComponent.bUseBPAdjustStatusValueModification" }; } BitFieldValue bForceDefaultSpeed() { return { this, "UPrimalCharacterStatusComponent.bForceDefaultSpeed" }; } BitFieldValue bForceRefreshWeight() { return { this, "UPrimalCharacterStatusComponent.bForceRefreshWeight" }; } + BitFieldValue bHideFoodStatusFromHUD() { return { this, "UPrimalCharacterStatusComponent.bHideFoodStatusFromHUD" }; } BitFieldValue bForceGainOxygen() { return { this, "UPrimalCharacterStatusComponent.bForceGainOxygen" }; } BitFieldValue bFreezeStatusValues() { return { this, "UPrimalCharacterStatusComponent.bFreezeStatusValues" }; } BitFieldValue bTicked() { return { this, "UPrimalCharacterStatusComponent.bTicked" }; } @@ -4163,6 +4228,7 @@ struct UPrimalCharacterStatusComponent void ServerApplyLevelUp(EPrimalCharacterStatusValue::Type LevelUpValueType, AShooterPlayerController * ByPC) { NativeCall(this, "UPrimalCharacterStatusComponent.ServerApplyLevelUp", LevelUpValueType, ByPC); } void SetBaseLevel(int Level, bool bDontCurrentSetToMax) { NativeCall(this, "UPrimalCharacterStatusComponent.SetBaseLevel", Level, bDontCurrentSetToMax); } void SetBaseLevelNoStatChange(int Level) { NativeCall(this, "UPrimalCharacterStatusComponent.SetBaseLevelNoStatChange", Level); } + void SetBaseLevelCustomized(int Level, TArray * CustomBaseStats, TArray> * PrioritizeStats, bool bDontCurrentSetToMax) { NativeCall *, TArray> *, bool>(this, "UPrimalCharacterStatusComponent.SetBaseLevelCustomized", Level, CustomBaseStats, PrioritizeStats, bDontCurrentSetToMax); } void SetTameable(bool bTameable) { NativeCall(this, "UPrimalCharacterStatusComponent.SetTameable", bTameable); } void SetTamed(float TameIneffectivenessModifier, bool bSkipAddingTamedLevels) { NativeCall(this, "UPrimalCharacterStatusComponent.SetTamed", TameIneffectivenessModifier, bSkipAddingTamedLevels); } void ApplyTamingStatModifiers(float TameIneffectivenessModifier) { NativeCall(this, "UPrimalCharacterStatusComponent.ApplyTamingStatModifiers", TameIneffectivenessModifier); } @@ -4203,7 +4269,6 @@ struct APrimalDinoCharacter : APrimalCharacter int& MeleeDamageAmountField() { return *GetNativePointerField(this, "APrimalDinoCharacter.MeleeDamageAmount"); } float& MeleeDamageImpulseField() { return *GetNativePointerField(this, "APrimalDinoCharacter.MeleeDamageImpulse"); } float& MeleeSwingRadiusField() { return *GetNativePointerField(this, "APrimalDinoCharacter.MeleeSwingRadius"); } - TArray& AttackInfosField() { return *GetNativePointerField*>(this, "APrimalDinoCharacter.AttackInfos"); } char& CurrentAttackIndexField() { return *GetNativePointerField(this, "APrimalDinoCharacter.CurrentAttackIndex"); } char& LastAttackIndexField() { return *GetNativePointerField(this, "APrimalDinoCharacter.LastAttackIndex"); } TSubclassOf& MeleeDamageTypeField() { return *GetNativePointerField*>(this, "APrimalDinoCharacter.MeleeDamageType"); } @@ -4296,10 +4361,14 @@ struct APrimalDinoCharacter : APrimalCharacter FieldArray AllowPaintingColorRegionsField() { return { this, "APrimalDinoCharacter.AllowPaintingColorRegions" }; } FieldArray ColorSetIndicesField() { return { this, "APrimalDinoCharacter.ColorSetIndices" }; } FieldArray ColorSetIntensityMultipliersField() { return { this, "APrimalDinoCharacter.ColorSetIntensityMultipliers" }; } + TWeakObjectPtr& ColorOverrideBuffField() { return *GetNativePointerField*>(this, "APrimalDinoCharacter.ColorOverrideBuff"); } + long double& ColorOverrideBuffDeactivateTimeField() { return *GetNativePointerField(this, "APrimalDinoCharacter.ColorOverrideBuffDeactivateTime"); } + float& ColorOverrideBuffInterpSpeedField() { return *GetNativePointerField(this, "APrimalDinoCharacter.ColorOverrideBuffInterpSpeed"); } float& MeleeAttackStaminaCostField() { return *GetNativePointerField(this, "APrimalDinoCharacter.MeleeAttackStaminaCost"); } UAnimMontage * WakingTameAnimationField() { return *GetNativePointerField(this, "APrimalDinoCharacter.WakingTameAnimation"); } TWeakObjectPtr& TargetField() { return *GetNativePointerField*>(this, "APrimalDinoCharacter.Target"); } TWeakObjectPtr& TamedFollowTargetField() { return *GetNativePointerField*>(this, "APrimalDinoCharacter.TamedFollowTarget"); } + TWeakObjectPtr& TamedLandTargetField() { return *GetNativePointerField*>(this, "APrimalDinoCharacter.TamedLandTarget"); } float& PercentChanceFemaleField() { return *GetNativePointerField(this, "APrimalDinoCharacter.PercentChanceFemale"); } TArray>& DeathGiveItemClassesField() { return *GetNativePointerField>*>(this, "APrimalDinoCharacter.DeathGiveItemClasses"); } TArray& DeathGiveItemChanceToBeBlueprintField() { return *GetNativePointerField*>(this, "APrimalDinoCharacter.DeathGiveItemChanceToBeBlueprint"); } @@ -4480,6 +4549,7 @@ struct APrimalDinoCharacter : APrimalCharacter float& WildAmbientHarvestingRadiusField() { return *GetNativePointerField(this, "APrimalDinoCharacter.WildAmbientHarvestingRadius"); } int& FlyerNumUnderGroundFailField() { return *GetNativePointerField(this, "APrimalDinoCharacter.FlyerNumUnderGroundFail"); } int& AbsoluteBaseLevelField() { return *GetNativePointerField(this, "APrimalDinoCharacter.AbsoluteBaseLevel"); } + TArray& OverrideBaseStatLevelsOnSpawnField() { return *GetNativePointerField*>(this, "APrimalDinoCharacter.OverrideBaseStatLevelsOnSpawn"); } TArray>& OverrideStatPriorityOnSpawnField() { return *GetNativePointerField>*>(this, "APrimalDinoCharacter.OverrideStatPriorityOnSpawn"); } TSubclassOf& TamedHarvestDamageTypeField() { return *GetNativePointerField*>(this, "APrimalDinoCharacter.TamedHarvestDamageType"); } TArray DraggedRagdollsField() { return *GetNativePointerField*>(this, "APrimalDinoCharacter.DraggedRagdolls"); } @@ -4721,8 +4791,11 @@ struct APrimalDinoCharacter : APrimalCharacter BitFieldValue bWakingTameConsumeEntireStack() { return { this, "APrimalDinoCharacter.bWakingTameConsumeEntireStack" }; } BitFieldValue bAllowCarryCharacterWithoutRider() { return { this, "APrimalDinoCharacter.bAllowCarryCharacterWithoutRider" }; } BitFieldValue bWildDinoPreventWeight() { return { this, "APrimalDinoCharacter.bWildDinoPreventWeight" }; } + BitFieldValue bDebugMeleeAttacks() { return { this, "APrimalDinoCharacter.bDebugMeleeAttacks" }; } BitFieldValue bRetainCarriedCharacterOnDismount() { return { this, "APrimalDinoCharacter.bRetainCarriedCharacterOnDismount" }; } BitFieldValue bUseBPOnTamedProcessOrder() { return { this, "APrimalDinoCharacter.bUseBPOnTamedProcessOrder" }; } + BitFieldValue bUseBPCanCryo() { return { this, "APrimalDinoCharacter.bUseBPCanCryo" }; } + BitFieldValue bUseBPCheckCanSpawnFromLocation() { return { this, "APrimalDinoCharacter.bUseBPCheckCanSpawnFromLocation" }; } BitFieldValue bIsLanding() { return { this, "APrimalDinoCharacter.bIsLanding" }; } BitFieldValue bCanCharge() { return { this, "APrimalDinoCharacter.bCanCharge" }; } BitFieldValue bCancelInterpolation() { return { this, "APrimalDinoCharacter.bCancelInterpolation" }; } @@ -4738,6 +4811,7 @@ struct APrimalDinoCharacter : APrimalCharacter BitFieldValue bAllowCarryFlyerDinos() { return { this, "APrimalDinoCharacter.bAllowCarryFlyerDinos" }; } BitFieldValue bForcedLanding() { return { this, "APrimalDinoCharacter.bForcedLanding" }; } BitFieldValue bFlyerForceNoPitch() { return { this, "APrimalDinoCharacter.bFlyerForceNoPitch" }; } + BitFieldValue bFlyerForceLimitPitch() { return { this, "APrimalDinoCharacter.bFlyerForceLimitPitch" }; } BitFieldValue bPreventStasis() { return { this, "APrimalDinoCharacter.bPreventStasis" }; } BitFieldValue bAutoTameable() { return { this, "APrimalDinoCharacter.bAutoTameable" }; } BitFieldValue bAlwaysSetTamingTeamOnItemAdd() { return { this, "APrimalDinoCharacter.bAlwaysSetTamingTeamOnItemAdd" }; } @@ -4768,6 +4842,7 @@ struct APrimalDinoCharacter : APrimalCharacter BitFieldValue bTargetEverything() { return { this, "APrimalDinoCharacter.bTargetEverything" }; } BitFieldValue bTamedWanderHarvestNonUsableHarvesting() { return { this, "APrimalDinoCharacter.bTamedWanderHarvestNonUsableHarvesting" }; } BitFieldValue bEnableTamedWandering() { return { this, "APrimalDinoCharacter.bEnableTamedWandering" }; } + BitFieldValue bEnableTamedMating() { return { this, "APrimalDinoCharacter.bEnableTamedMating" }; } BitFieldValue bCollectVictimItems() { return { this, "APrimalDinoCharacter.bCollectVictimItems" }; } BitFieldValue bServerInitializedDino() { return { this, "APrimalDinoCharacter.bServerInitializedDino" }; } BitFieldValue bNPCSpawnerOverrideLevel() { return { this, "APrimalDinoCharacter.bNPCSpawnerOverrideLevel" }; } @@ -4778,6 +4853,7 @@ struct APrimalDinoCharacter : APrimalCharacter BitFieldValue bAnimIsMoving() { return { this, "APrimalDinoCharacter.bAnimIsMoving" }; } BitFieldValue bDoStepDamage() { return { this, "APrimalDinoCharacter.bDoStepDamage" }; } BitFieldValue bPreventBasingWhenUntamed() { return { this, "APrimalDinoCharacter.bPreventBasingWhenUntamed" }; } + BitFieldValue bForceAlwaysAllowBasing() { return { this, "APrimalDinoCharacter.bForceAlwaysAllowBasing" }; } BitFieldValue bChargingRequiresWalking() { return { this, "APrimalDinoCharacter.bChargingRequiresWalking" }; } BitFieldValue bUseRootLocSwimOffset() { return { this, "APrimalDinoCharacter.bUseRootLocSwimOffset" }; } BitFieldValue bUseLowQualityAnimationTick() { return { this, "APrimalDinoCharacter.bUseLowQualityAnimationTick" }; } @@ -4786,6 +4862,7 @@ struct APrimalDinoCharacter : APrimalCharacter BitFieldValue bUseBPGetAttackWeight() { return { this, "APrimalDinoCharacter.bUseBPGetAttackWeight" }; } BitFieldValue bServerForceUpdateDinoGameplayMeshNearPlayer() { return { this, "APrimalDinoCharacter.bServerForceUpdateDinoGameplayMeshNearPlayer" }; } BitFieldValue bPreventAllRiderWeapons() { return { this, "APrimalDinoCharacter.bPreventAllRiderWeapons" }; } + BitFieldValue bPreventAllRiderWeaponsOnReequip() { return { this, "APrimalDinoCharacter.bPreventAllRiderWeaponsOnReequip" }; } BitFieldValue bAllowDeathAutoGrab() { return { this, "APrimalDinoCharacter.bAllowDeathAutoGrab" }; } BitFieldValue bSupportWakingTame() { return { this, "APrimalDinoCharacter.bSupportWakingTame" }; } BitFieldValue bAllowAutoUnstasisDestroy() { return { this, "APrimalDinoCharacter.bAllowAutoUnstasisDestroy" }; } @@ -4848,6 +4925,17 @@ struct APrimalDinoCharacter : APrimalCharacter BitFieldValue bFlyerAllowRidingInCaves() { return { this, "APrimalDinoCharacter.bFlyerAllowRidingInCaves" }; } BitFieldValue bScaleExtraRunningSpeedModifier() { return { this, "APrimalDinoCharacter.bScaleExtraRunningSpeedModifier" }; } BitFieldValue bOverrideCrosshairAlpha() { return { this, "APrimalDinoCharacter.bOverrideCrosshairAlpha" }; } + BitFieldValue bOverrideCrosshairColor() { return { this, "APrimalDinoCharacter.bOverrideCrosshairColor" }; } + BitFieldValue bUseBPGetCrosshairLocation() { return { this, "APrimalDinoCharacter.bUseBPGetCrosshairLocation" }; } + BitFieldValue bCenterOffscreenFloatingHUDWidgets() { return { this, "APrimalDinoCharacter.bCenterOffscreenFloatingHUDWidgets" }; } + BitFieldValue bClampOffscreenFloatingHUDWidgets() { return { this, "APrimalDinoCharacter.bClampOffscreenFloatingHUDWidgets" }; } + BitFieldValue bUseFixedSpawnLevel() { return { this, "APrimalDinoCharacter.bUseFixedSpawnLevel" }; } + BitFieldValue bTreatCrouchInputAsAttack() { return { this, "APrimalDinoCharacter.bTreatCrouchInputAsAttack" }; } + BitFieldValue bUseBPGetRiderUnboardLocation() { return { this, "APrimalDinoCharacter.bUseBPGetRiderUnboardLocation" }; } + BitFieldValue bUniqueDino() { return { this, "APrimalDinoCharacter.bUniqueDino" }; } + BitFieldValue bModifyBasedCamera() { return { this, "APrimalDinoCharacter.bModifyBasedCamera" }; } + BitFieldValue bUseBPOnRefreshColorization() { return { this, "APrimalDinoCharacter.bUseBPOnRefreshColorization" }; } + BitFieldValue bHideAncestorsButton() { return { this, "APrimalDinoCharacter.bHideAncestorsButton" }; } BitFieldValue bMeleeSwingDamageBlockedByAllStationaryObjects() { return { this, "APrimalDinoCharacter.bMeleeSwingDamageBlockedByAllStationaryObjects" }; } BitFieldValue bUseBPChargingModifyInputAcceleration() { return { this, "APrimalDinoCharacter.bUseBPChargingModifyInputAcceleration" }; } BitFieldValue bUseBPOnRepIsCharging() { return { this, "APrimalDinoCharacter.bUseBPOnRepIsCharging" }; } @@ -4856,6 +4944,10 @@ struct APrimalDinoCharacter : APrimalCharacter BitFieldValue bUsesPassengerAnimOnDinos() { return { this, "APrimalDinoCharacter.bUsesPassengerAnimOnDinos" }; } BitFieldValue bOverrideRotationOnCarriedCharacter() { return { this, "APrimalDinoCharacter.bOverrideRotationOnCarriedCharacter" }; } BitFieldValue bAdvancedCarryRelease() { return { this, "APrimalDinoCharacter.bAdvancedCarryRelease" }; } + BitFieldValue bUseBPUnstasisConsumeFood() { return { this, "APrimalDinoCharacter.bUseBPUnstasisConsumeFood" }; } + BitFieldValue bUseBPOnDinoStartled() { return { this, "APrimalDinoCharacter.bUseBPOnDinoStartled" }; } + BitFieldValue bSimulateRootMotion() { return { this, "APrimalDinoCharacter.bSimulateRootMotion" }; } + BitFieldValue bUseBPOverrideStencilAllianceForTarget() { return { this, "APrimalDinoCharacter.bUseBPOverrideStencilAllianceForTarget" }; } BitFieldValue bOnlyDoStepDamageWhenRunning() { return { this, "APrimalDinoCharacter.bOnlyDoStepDamageWhenRunning" }; } BitFieldValue bShouldNotifyClientWhenLanded() { return { this, "APrimalDinoCharacter.bShouldNotifyClientWhenLanded" }; } BitFieldValue bPreventPlatformSaddleMultiFloors() { return { this, "APrimalDinoCharacter.bPreventPlatformSaddleMultiFloors" }; } @@ -4891,6 +4983,7 @@ struct APrimalDinoCharacter : APrimalCharacter BitFieldValue bDontPlayAttackingMusic() { return { this, "APrimalDinoCharacter.bDontPlayAttackingMusic" }; } BitFieldValue bForceIgnoreRagdollHarvesting() { return { this, "APrimalDinoCharacter.bForceIgnoreRagdollHarvesting" }; } BitFieldValue bBPModifyAimOffsetTargetLocation() { return { this, "APrimalDinoCharacter.bBPModifyAimOffsetTargetLocation" }; } + BitFieldValue bBPModifyAimOffsetNoTarget() { return { this, "APrimalDinoCharacter.bBPModifyAimOffsetNoTarget" }; } BitFieldValue bIsVehicle() { return { this, "APrimalDinoCharacter.bIsVehicle" }; } BitFieldValue bDisallowPostNetReplication() { return { this, "APrimalDinoCharacter.bDisallowPostNetReplication" }; } BitFieldValue bTakingOff() { return { this, "APrimalDinoCharacter.bTakingOff" }; } @@ -4947,6 +5040,8 @@ struct APrimalDinoCharacter : APrimalCharacter BitFieldValue bUseLocalSpaceDesiredRotationWithRider() { return { this, "APrimalDinoCharacter.bUseLocalSpaceDesiredRotationWithRider" }; } BitFieldValue bUseBPDesiredRotationIsLocalSpace() { return { this, "APrimalDinoCharacter.bUseBPDesiredRotationIsLocalSpace" }; } BitFieldValue bForcedLandingClearRider() { return { this, "APrimalDinoCharacter.bForcedLandingClearRider" }; } + BitFieldValue bUseBPOverrideCameraViewTarget() { return { this, "APrimalDinoCharacter.bUseBPOverrideCameraViewTarget" }; } + BitFieldValue bIsRobot() { return { this, "APrimalDinoCharacter.bIsRobot" }; } BitFieldValue bUseBP_CustomModifier_RotationRate() { return { this, "APrimalDinoCharacter.bUseBP_CustomModifier_RotationRate" }; } BitFieldValue bUseBP_CustomModifier_MaxSpeed() { return { this, "APrimalDinoCharacter.bUseBP_CustomModifier_MaxSpeed" }; } BitFieldValue bUseBP_OnStartLandingNotify() { return { this, "APrimalDinoCharacter.bUseBP_OnStartLandingNotify" }; } @@ -4979,6 +5074,10 @@ struct APrimalDinoCharacter : APrimalCharacter BitFieldValue bUseBP_OnPostNetReplication() { return { this, "APrimalDinoCharacter.bUseBP_OnPostNetReplication" }; } BitFieldValue bPassiveFlee() { return { this, "APrimalDinoCharacter.bPassiveFlee" }; } BitFieldValue bOnlyTargetConscious() { return { this, "APrimalDinoCharacter.bOnlyTargetConscious" }; } + BitFieldValue bBPManagedFPVViewLocationNoRider() { return { this, "APrimalDinoCharacter.bBPManagedFPVViewLocationNoRider" }; } + BitFieldValue bHideSaddleInFPV() { return { this, "APrimalDinoCharacter.bHideSaddleInFPV" }; } + BitFieldValue bPreventCloning() { return { this, "APrimalDinoCharacter.bPreventCloning" }; } + BitFieldValue bPreventStasisOnDedi() { return { this, "APrimalDinoCharacter.bPreventStasisOnDedi" }; } BitFieldValue bUseBPOnMountStateChanged() { return { this, "APrimalDinoCharacter.bUseBPOnMountStateChanged" }; } BitFieldValue bHandleUseButtonPressBP() { return { this, "APrimalDinoCharacter.bHandleUseButtonPressBP" }; } BitFieldValue bGlideWhenFalling() { return { this, "APrimalDinoCharacter.bGlideWhenFalling" }; } @@ -5005,11 +5104,16 @@ struct APrimalDinoCharacter : APrimalCharacter BitFieldValue bSuppressDeathNotification() { return { this, "APrimalDinoCharacter.bSuppressDeathNotification" }; } BitFieldValue bUseCustomHealthBarColor() { return { this, "APrimalDinoCharacter.bUseCustomHealthBarColor" }; } BitFieldValue bUseOnUpdateMountedDinoMeshHiding() { return { this, "APrimalDinoCharacter.bUseOnUpdateMountedDinoMeshHiding" }; } + BitFieldValue bUseBPInterceptTurnInputEvents() { return { this, "APrimalDinoCharacter.bUseBPInterceptTurnInputEvents" }; } BitFieldValue bUseBPInterceptMoveInputEvents() { return { this, "APrimalDinoCharacter.bUseBPInterceptMoveInputEvents" }; } BitFieldValue bUseBPAdjustAttackIndex() { return { this, "APrimalDinoCharacter.bUseBPAdjustAttackIndex" }; } BitFieldValue bCheckBPAllowCarryCharacter() { return { this, "APrimalDinoCharacter.bCheckBPAllowCarryCharacter" }; } BitFieldValue bUseBPOnEndCharging() { return { this, "APrimalDinoCharacter.bUseBPOnEndCharging" }; } BitFieldValue bUseBPNotifyMateBoostChanged() { return { this, "APrimalDinoCharacter.bUseBPNotifyMateBoostChanged" }; } + BitFieldValue bForceAllowBackwardsMovementWithNoRider() { return { this, "APrimalDinoCharacter.bForceAllowBackwardsMovementWithNoRider" }; } + BitFieldValue bIsCorrupted() { return { this, "APrimalDinoCharacter.bIsCorrupted" }; } + BitFieldValue bIsHordeDino() { return { this, "APrimalDinoCharacter.bIsHordeDino" }; } + BitFieldValue bBPOverrideHealthBarOffset() { return { this, "APrimalDinoCharacter.bBPOverrideHealthBarOffset" }; } // Functions @@ -5026,6 +5130,7 @@ struct APrimalDinoCharacter : APrimalCharacter void Stasis() { NativeCall(this, "APrimalDinoCharacter.Stasis"); } void Unstasis() { NativeCall(this, "APrimalDinoCharacter.Unstasis"); } void HandleUnstasised(bool bWasFromHibernation) { NativeCall(this, "APrimalDinoCharacter.HandleUnstasised", bWasFromHibernation); } + bool IsRemoteDino() { return NativeCall(this, "APrimalDinoCharacter.IsRemoteDino"); } bool IsValidUnStasisCaster() { return NativeCall(this, "APrimalDinoCharacter.IsValidUnStasisCaster"); } void PostInitializeComponents() { NativeCall(this, "APrimalDinoCharacter.PostInitializeComponents"); } void PostInitProperties() { NativeCall(this, "APrimalDinoCharacter.PostInitProperties"); } @@ -5083,6 +5188,7 @@ struct APrimalDinoCharacter : APrimalCharacter UMaterialInterface * GetEntryIconMaterial(UObject * AssociatedDataObject, bool bIsEnabled) { return NativeCall(this, "APrimalDinoCharacter.GetEntryIconMaterial", AssociatedDataObject, bIsEnabled); } UObject * GetUObjectInterfaceDataListEntryInterface() { return NativeCall(this, "APrimalDinoCharacter.GetUObjectInterfaceDataListEntryInterface"); } FString * GetEntryDescription(FString * result) { return NativeCall(this, "APrimalDinoCharacter.GetEntryDescription", result); } + UTexture * GetDinoEntryIcon() { return NativeCall(this, "APrimalDinoCharacter.GetDinoEntryIcon"); } void DrawHUD(AShooterHUD * HUD) { NativeCall(this, "APrimalDinoCharacter.DrawHUD", HUD); } bool CanOrder(APrimalCharacter * FromCharacter, bool bBuildingStructures) { return NativeCall(this, "APrimalDinoCharacter.CanOrder", FromCharacter, bBuildingStructures); } bool TamedProcessOrder(APrimalCharacter * FromCharacter, EDinoTamedOrder::Type OrderType, bool bForce, AActor * enemyTarget) { return NativeCall(this, "APrimalDinoCharacter.TamedProcessOrder", FromCharacter, OrderType, bForce, enemyTarget); } @@ -5132,7 +5238,6 @@ struct APrimalDinoCharacter : APrimalCharacter void MoveUp(float Val) { NativeCall(this, "APrimalDinoCharacter.MoveUp", Val); } void TurnInput(float Val) { NativeCall(this, "APrimalDinoCharacter.TurnInput", Val); } void SetCurrentAttackIndex(char index) { NativeCall(this, "APrimalDinoCharacter.SetCurrentAttackIndex", index); } - bool GetCurrentAttackInfo(int * AttackIndex, FDinoAttackInfo * AttackInfo) { return NativeCall(this, "APrimalDinoCharacter.GetCurrentAttackInfo", AttackIndex, AttackInfo); } char GetWiegthedAttack(float distance, float attackRangeOffset, AActor * OtherTarget) { return NativeCall(this, "APrimalDinoCharacter.GetWiegthedAttack", distance, attackRangeOffset, OtherTarget); } void FireProjectileLocal(FVector Origin, FVector_NetQuantizeNormal ShootDir, bool bScaleProjDamageByDinoDamage) { NativeCall(this, "APrimalDinoCharacter.FireProjectileLocal", Origin, ShootDir, bScaleProjDamageByDinoDamage); } void FireProjectile_Implementation(FVector Origin, FVector_NetQuantizeNormal ShootDir, bool bScaleProjDamageByDinoDamage) { NativeCall(this, "APrimalDinoCharacter.FireProjectile_Implementation", Origin, ShootDir, bScaleProjDamageByDinoDamage); } @@ -5182,9 +5287,10 @@ struct APrimalDinoCharacter : APrimalCharacter void ForceRefreshTransform() { NativeCall(this, "APrimalDinoCharacter.ForceRefreshTransform"); } void AutoTame() { NativeCall(this, "APrimalDinoCharacter.AutoTame"); } void SetupColorization() { NativeCall(this, "APrimalDinoCharacter.SetupColorization"); } + TArray * GetColorizationData(TArray * result) { return NativeCall *, TArray *>(this, "APrimalDinoCharacter.GetColorizationData", result); } void ModifyFirstPersonCameraLocation(FVector * Loc, float DeltaTime) { NativeCall(this, "APrimalDinoCharacter.ModifyFirstPersonCameraLocation", Loc, DeltaTime); } void ServerRequestUseItemWithActor(APlayerController * ForPC, UObject * anItem, int AdditionalData) { NativeCall(this, "APrimalDinoCharacter.ServerRequestUseItemWithActor", ForPC, anItem, AdditionalData); } - void RefreshColorization() { NativeCall(this, "APrimalDinoCharacter.RefreshColorization"); } + void RefreshColorization(bool bForceRefresh) { NativeCall(this, "APrimalDinoCharacter.RefreshColorization", bForceRefresh); } bool CanTarget(ITargetableInterface * Victim) { return NativeCall(this, "APrimalDinoCharacter.CanTarget", Victim); } int GetOriginalTargetingTeam() { return NativeCall(this, "APrimalDinoCharacter.GetOriginalTargetingTeam"); } float GetTargetingDesirability(ITargetableInterface * Attacker) { return NativeCall(this, "APrimalDinoCharacter.GetTargetingDesirability", Attacker); } @@ -5207,6 +5313,7 @@ struct APrimalDinoCharacter : APrimalCharacter void ServerCallStay_Implementation() { NativeCall(this, "APrimalDinoCharacter.ServerCallStay_Implementation"); } void ServerCallStayOne_Implementation(APrimalDinoCharacter * ForDinoChar) { NativeCall(this, "APrimalDinoCharacter.ServerCallStayOne_Implementation", ForDinoChar); } void ServerCallFollowDistanceCycleOne_Implementation(APrimalDinoCharacter * ForDinoChar) { NativeCall(this, "APrimalDinoCharacter.ServerCallFollowDistanceCycleOne_Implementation", ForDinoChar); } + void ServerCallLandFlyerOne_Implementation(APrimalDinoCharacter * ForDinoChar) { NativeCall(this, "APrimalDinoCharacter.ServerCallLandFlyerOne_Implementation", ForDinoChar); } void ServerCallAggressive_Implementation() { NativeCall(this, "APrimalDinoCharacter.ServerCallAggressive_Implementation"); } void ServerCallSetAggressive_Implementation() { NativeCall(this, "APrimalDinoCharacter.ServerCallSetAggressive_Implementation"); } void ServerCallNeutral_Implementation() { NativeCall(this, "APrimalDinoCharacter.ServerCallNeutral_Implementation"); } @@ -5233,6 +5340,7 @@ struct APrimalDinoCharacter : APrimalCharacter void ApplyCharacterSnapshot(UPrimalItem * Item, AActor * To, FVector Offset, float MaxExtent, int Pose) { NativeCall(this, "APrimalDinoCharacter.ApplyCharacterSnapshot", Item, To, Offset, MaxExtent, Pose); } void TamedDinoUnstasisConsumeFood(long double ForceTimeSinceStasis) { NativeCall(this, "APrimalDinoCharacter.TamedDinoUnstasisConsumeFood", ForceTimeSinceStasis); } AActor * GetTamedFollowTarget() { return NativeCall(this, "APrimalDinoCharacter.GetTamedFollowTarget"); } + AActor * GetTamedLandTarget() { return NativeCall(this, "APrimalDinoCharacter.GetTamedLandTarget"); } void DinoKillerTransferItemsToInventory(UPrimalInventoryComponent * FromInventory) { NativeCall(this, "APrimalDinoCharacter.DinoKillerTransferItemsToInventory", FromInventory); } bool FlyingUseHighQualityCollision() { return NativeCall(this, "APrimalDinoCharacter.FlyingUseHighQualityCollision"); } bool AllowWalkableSlopeOverride() { return NativeCall(this, "APrimalDinoCharacter.AllowWalkableSlopeOverride"); } @@ -5247,6 +5355,7 @@ struct APrimalDinoCharacter : APrimalCharacter void ClearMountCharacter(bool bFromMountCharacter) { NativeCall(this, "APrimalDinoCharacter.ClearMountCharacter", bFromMountCharacter); } bool CanMount(APrimalCharacter * aCharacter) { return NativeCall(this, "APrimalDinoCharacter.CanMount", aCharacter); } static APrimalDinoCharacter * SpawnDino(UWorld * World, TSubclassOf DinoClass, FVector SpawnLoc, FRotator SpawnRot, float LevelMultiplier, int ExtraLevelOffset, bool AddLevelOffsetBeforeMultiplier, bool bOverrideBaseNPCLevel, int BaseLevelOverrideValue, bool bNPCDontWander, float NPCAIRangeMultiplier, int NPCAbsoluteBaseLevel, bool bSpawnWithoutCapsuleOffset) { return NativeCall, FVector, FRotator, float, int, bool, bool, int, bool, float, int, bool>(nullptr, "APrimalDinoCharacter.SpawnDino", World, DinoClass, SpawnLoc, SpawnRot, LevelMultiplier, ExtraLevelOffset, AddLevelOffsetBeforeMultiplier, bOverrideBaseNPCLevel, BaseLevelOverrideValue, bNPCDontWander, NPCAIRangeMultiplier, NPCAbsoluteBaseLevel, bSpawnWithoutCapsuleOffset); } + void UpdateNextAllowedMatingTime(long double fromTime) { NativeCall(this, "APrimalDinoCharacter.UpdateNextAllowedMatingTime", fromTime); } void InitDownloadedTamedDino(AShooterPlayerController * TamerController, int AltTeam) { NativeCall(this, "APrimalDinoCharacter.InitDownloadedTamedDino", TamerController, AltTeam); } void NetUpdateDinoOwnerData_Implementation(FString * NewOwningPlayerName, int NewOwningPlayerID) { NativeCall(this, "APrimalDinoCharacter.NetUpdateDinoOwnerData_Implementation", NewOwningPlayerName, NewOwningPlayerID); } bool RemoteInventoryAllowViewing(APlayerController * ForPC) { return NativeCall(this, "APrimalDinoCharacter.RemoteInventoryAllowViewing", ForPC); } @@ -5316,6 +5425,7 @@ struct APrimalDinoCharacter : APrimalCharacter void SetAnimWeightsForAttackAtIndex(int attackIndex, TArray newWeights) { NativeCall>(this, "APrimalDinoCharacter.SetAnimWeightsForAttackAtIndex", attackIndex, newWeights); } void AddDinoReferenceInLatchingStructure(APrimalStructure * Structure) { NativeCall(this, "APrimalDinoCharacter.AddDinoReferenceInLatchingStructure", Structure); } void RemoveDinoReferenceFromLatchingStructure() { NativeCall(this, "APrimalDinoCharacter.RemoveDinoReferenceFromLatchingStructure"); } + bool HasTarget() { return NativeCall(this, "APrimalDinoCharacter.HasTarget"); } UPrimalItem * GiveSaddle(TSubclassOf SaddleType, float Quality, float MinRandomQuality, bool bAutoEquip) { return NativeCall, float, float, bool>(this, "APrimalDinoCharacter.GiveSaddle", SaddleType, Quality, MinRandomQuality, bAutoEquip); } UPrimalItem * GiveSaddleFromString(FString * BlueprintPath, float Quality, float MinRandomQuality, bool bAutoEquip) { return NativeCall(this, "APrimalDinoCharacter.GiveSaddleFromString", BlueprintPath, Quality, MinRandomQuality, bAutoEquip); } void StartSurfaceCameraForPassengers(float yaw, float pitch, float roll) { NativeCall(this, "APrimalDinoCharacter.StartSurfaceCameraForPassengers", yaw, pitch, roll); } @@ -5395,7 +5505,7 @@ struct APrimalDinoCharacter : APrimalCharacter void BPNotifyWildHarvestAttack(int harvestIndex) { NativeCall(this, "APrimalDinoCharacter.BPNotifyWildHarvestAttack", harvestIndex); } void BPOnClearMountedDino() { NativeCall(this, "APrimalDinoCharacter.BPOnClearMountedDino"); } int BPOverrideGetAttackAnimationIndex(int AttackIndex, TArray * AnimationArray) { return NativeCall *>(this, "APrimalDinoCharacter.BPOverrideGetAttackAnimationIndex", AttackIndex, AnimationArray); } - bool BPPreventRiding(AShooterCharacter * byPawn, bool bDontCheckDistance) { return NativeCall(this, "APrimalDinoCharacter.BPPreventRiding", byPawn, bDontCheckDistance); } + float BPOverrideHealthBarOffset(APlayerController * forPC) { return NativeCall(this, "APrimalDinoCharacter.BPOverrideHealthBarOffset", forPC); } void FireProjectile(FVector Origin, FVector_NetQuantizeNormal ShootDir, bool bScaleProjDamageByDinoDamage) { NativeCall(this, "APrimalDinoCharacter.FireProjectile", Origin, ShootDir, bScaleProjDamageByDinoDamage); } void ForceUpdateColorSets(int ColorRegion, int ColorSet) { NativeCall(this, "APrimalDinoCharacter.ForceUpdateColorSets", ColorRegion, ColorSet); } void InterruptLatching() { NativeCall(this, "APrimalDinoCharacter.InterruptLatching"); } @@ -5613,6 +5723,7 @@ struct AShooterWeapon : AActor BitFieldValue bTargetUnTargetWithClick() { return { this, "AShooterWeapon.bTargetUnTargetWithClick" }; } BitFieldValue bDontActuallyConsumeItemAmmo() { return { this, "AShooterWeapon.bDontActuallyConsumeItemAmmo" }; } BitFieldValue bBPUseWeaponCanFire() { return { this, "AShooterWeapon.bBPUseWeaponCanFire" }; } + BitFieldValue bBPUseTargetingEvents() { return { this, "AShooterWeapon.bBPUseTargetingEvents" }; } BitFieldValue bIsEquipped() { return { this, "AShooterWeapon.bIsEquipped" }; } BitFieldValue bWantsToFire() { return { this, "AShooterWeapon.bWantsToFire" }; } BitFieldValue bWantsToAltFire() { return { this, "AShooterWeapon.bWantsToAltFire" }; } @@ -5633,6 +5744,7 @@ struct AShooterWeapon : AActor BitFieldValue bIsDefaultWeapon() { return { this, "AShooterWeapon.bIsDefaultWeapon" }; } BitFieldValue bOnlyAllowUseWhenRidingDino() { return { this, "AShooterWeapon.bOnlyAllowUseWhenRidingDino" }; } BitFieldValue bPrimaryFireDoesMeleeAttack() { return { this, "AShooterWeapon.bPrimaryFireDoesMeleeAttack" }; } + BitFieldValue bMeleeHitCaptureDermis() { return { this, "AShooterWeapon.bMeleeHitCaptureDermis" }; } BitFieldValue bIsAccessoryActive() { return { this, "AShooterWeapon.bIsAccessoryActive" }; } BitFieldValue bCanAccessoryBeSetOn() { return { this, "AShooterWeapon.bCanAccessoryBeSetOn" }; } BitFieldValue bConsumeAmmoItemOnReload() { return { this, "AShooterWeapon.bConsumeAmmoItemOnReload" }; } @@ -5645,6 +5757,8 @@ struct AShooterWeapon : AActor BitFieldValue bUseBPShouldDealDamage() { return { this, "AShooterWeapon.bUseBPShouldDealDamage" }; } BitFieldValue bDoesntUsePrimalItem() { return { this, "AShooterWeapon.bDoesntUsePrimalItem" }; } BitFieldValue bUseCanAccessoryBeSetOn() { return { this, "AShooterWeapon.bUseCanAccessoryBeSetOn" }; } + BitFieldValue bUseBPGetActorForTargetingTooltip() { return { this, "AShooterWeapon.bUseBPGetActorForTargetingTooltip" }; } + BitFieldValue bUseBPIsValidUnstasisActor() { return { this, "AShooterWeapon.bUseBPIsValidUnstasisActor" }; } BitFieldValue bLoopingSimulateWeaponFire() { return { this, "AShooterWeapon.bLoopingSimulateWeaponFire" }; } BitFieldValue bFiredFirstBurstShot() { return { this, "AShooterWeapon.bFiredFirstBurstShot" }; } BitFieldValue bClientTriggersHandleFiring() { return { this, "AShooterWeapon.bClientTriggersHandleFiring" }; } @@ -5688,6 +5802,7 @@ struct AShooterWeapon : AActor BitFieldValue bForceFirstPersonWhileTargeting() { return { this, "AShooterWeapon.bForceFirstPersonWhileTargeting" }; } BitFieldValue bUseBPStartEquippedNotify() { return { this, "AShooterWeapon.bUseBPStartEquippedNotify" }; } BitFieldValue bDirectPrimaryFireToSecondaryAction() { return { this, "AShooterWeapon.bDirectPrimaryFireToSecondaryAction" }; } + BitFieldValue bUseAlternateAimOffset() { return { this, "AShooterWeapon.bUseAlternateAimOffset" }; } BitFieldValue bOverrideStandingAnim() { return { this, "AShooterWeapon.bOverrideStandingAnim" }; } BitFieldValue bUseCustomSeatedAnim() { return { this, "AShooterWeapon.bUseCustomSeatedAnim" }; } BitFieldValue bUseBPForceTPVTargetingAnimation() { return { this, "AShooterWeapon.bUseBPForceTPVTargetingAnimation" }; } @@ -5818,6 +5933,8 @@ struct AShooterWeapon : AActor bool ForceFirstPerson() { return NativeCall(this, "AShooterWeapon.ForceFirstPerson"); } bool TryFireWeapon() { return NativeCall(this, "AShooterWeapon.TryFireWeapon"); } bool ForcesTPVCameraOffset_Implementation() { return NativeCall(this, "AShooterWeapon.ForcesTPVCameraOffset_Implementation"); } + FString * GetDebugInfoString(FString * result) { return NativeCall(this, "AShooterWeapon.GetDebugInfoString", result); } + FString * BPGetDebugInfoString(FString * result) { return NativeCall(this, "AShooterWeapon.BPGetDebugInfoString", result); } static void StaticRegisterNativesAShooterWeapon() { NativeCall(nullptr, "AShooterWeapon.StaticRegisterNativesAShooterWeapon"); } bool BPConstrainAspectRatio(float * OutAspectRatio) { return NativeCall(this, "AShooterWeapon.BPConstrainAspectRatio", OutAspectRatio); } FText * BPGetTargetingTooltipInfoLabel(FText * result) { return NativeCall(this, "AShooterWeapon.BPGetTargetingTooltipInfoLabel", result); } @@ -5852,6 +5969,7 @@ struct AAIController : AController BitFieldValue bAllowStrafe() { return { this, "AAIController.bAllowStrafe" }; } BitFieldValue bWantsPlayerState() { return { this, "AAIController.bWantsPlayerState" }; } BitFieldValue bUse3DGoalRadius() { return { this, "AAIController.bUse3DGoalRadius" }; } + BitFieldValue bForceInputAcceptanceRadius() { return { this, "AAIController.bForceInputAcceptanceRadius" }; } BitFieldValue bCurrentStopOnOverlap() { return { this, "AAIController.bCurrentStopOnOverlap" }; } BitFieldValue bLastMoveReachedGoal() { return { this, "AAIController.bLastMoveReachedGoal" }; } BitFieldValue bLastRequestedMoveToLocationWasPlayerCommand() { return { this, "AAIController.bLastRequestedMoveToLocationWasPlayerCommand" }; } @@ -6098,6 +6216,7 @@ struct ADroppedItem : AActor { FItemNetInfo& MyItemInfoField() { return *GetNativePointerField(this, "ADroppedItem.MyItemInfo"); } UPrimalItem * MyItemField() { return *GetNativePointerField(this, "ADroppedItem.MyItem"); } + int& AssignedToTribeIDField() { return *GetNativePointerField(this, "ADroppedItem.AssignedToTribeID"); } float& ImpulseMagnitudeField() { return *GetNativePointerField(this, "ADroppedItem.ImpulseMagnitude"); } float& ForceSleepTimerField() { return *GetNativePointerField(this, "ADroppedItem.ForceSleepTimer"); } FVector& DroppedItemScaleField() { return *GetNativePointerField(this, "ADroppedItem.DroppedItemScale"); } @@ -6106,6 +6225,7 @@ struct ADroppedItem : AActor FString& DroppedByNameField() { return *GetNativePointerField(this, "ADroppedItem.DroppedByName"); } unsigned __int64& DroppedByPlayerIDField() { return *GetNativePointerField(this, "ADroppedItem.DroppedByPlayerID"); } long double& DroppedItemDestructionTimeField() { return *GetNativePointerField(this, "ADroppedItem.DroppedItemDestructionTime"); } + FVector& DroppedItemInterpTargetField() { return *GetNativePointerField(this, "ADroppedItem.DroppedItemInterpTarget"); } bool& bClientDisablePhysicsField() { return *GetNativePointerField(this, "ADroppedItem.bClientDisablePhysics"); } UStaticMesh * NetDroppedMeshOverrideField() { return *GetNativePointerField(this, "ADroppedItem.NetDroppedMeshOverride"); } UMaterialInterface * NetDroppedMeshMaterialOverrideField() { return *GetNativePointerField(this, "ADroppedItem.NetDroppedMeshMaterialOverride"); } @@ -6129,15 +6249,18 @@ struct ADroppedItem : AActor BitFieldValue bDestroyOutOfWater() { return { this, "ADroppedItem.bDestroyOutOfWater" }; } BitFieldValue bIsUnderwater() { return { this, "ADroppedItem.bIsUnderwater" }; } BitFieldValue bNotifyPreviousOwnerOfPickup() { return { this, "ADroppedItem.bNotifyPreviousOwnerOfPickup" }; } + BitFieldValue bAssignedToTribePickupOnly() { return { this, "ADroppedItem.bAssignedToTribePickupOnly" }; } + BitFieldValue bLowQuality() { return { this, "ADroppedItem.bLowQuality" }; } // Functions void Tick(float DeltaSeconds) { NativeCall(this, "ADroppedItem.Tick", DeltaSeconds); } + void FreezePhysics() { NativeCall(this, "ADroppedItem.FreezePhysics"); } void Stasis() { NativeCall(this, "ADroppedItem.Stasis"); } float GetDroppedItemLifeTime(bool bIgnoreTrueBlack, bool bUseGrayscale) { return NativeCall(this, "ADroppedItem.GetDroppedItemLifeTime", bIgnoreTrueBlack, bUseGrayscale); } bool TryMultiUse(APlayerController * ForPC, int UseIndex) { return NativeCall(this, "ADroppedItem.TryMultiUse", ForPC, UseIndex); } void BeginPlay() { NativeCall(this, "ADroppedItem.BeginPlay"); } - void FreezePhysics() { NativeCall(this, "ADroppedItem.FreezePhysics"); } + void PostNetReceiveLocationAndRotation() { NativeCall(this, "ADroppedItem.PostNetReceiveLocationAndRotation"); } void DrawHUD(AShooterHUD * HUD) { NativeCall(this, "ADroppedItem.DrawHUD", HUD); } void GetLifetimeReplicatedProps(TArray * OutLifetimeProps) { NativeCall *>(this, "ADroppedItem.GetLifetimeReplicatedProps", OutLifetimeProps); } void ForceSleep() { NativeCall(this, "ADroppedItem.ForceSleep"); } @@ -6303,7 +6426,11 @@ struct UCharacterMovementComponent int& AvoidanceUIDField() { return *GetNativePointerField(this, "UCharacterMovementComponent.AvoidanceUID"); } float& AvoidanceWeightField() { return *GetNativePointerField(this, "UCharacterMovementComponent.AvoidanceWeight"); } FVector& PendingLaunchVelocityField() { return *GetNativePointerField(this, "UCharacterMovementComponent.PendingLaunchVelocity"); } + FNetworkPredictionData_Client_Character * ClientPredictionDataField() { return *GetNativePointerField(this, "UCharacterMovementComponent.ClientPredictionData"); } + FNetworkPredictionData_Server_Character * ServerPredictionDataField() { return *GetNativePointerField(this, "UCharacterMovementComponent.ServerPredictionData"); } + TArray& PendingAsyncTracesField() { return *GetNativePointerField*>(this, "UCharacterMovementComponent.PendingAsyncTraces"); } float& MinTimeBetweenTimeStampResetsField() { return *GetNativePointerField(this, "UCharacterMovementComponent.MinTimeBetweenTimeStampResets"); } + TArray& ClientMovedDataField() { return *GetNativePointerField*>(this, "UCharacterMovementComponent.ClientMovedData"); } bool& bWasSimulatingRootMotionField() { return *GetNativePointerField(this, "UCharacterMovementComponent.bWasSimulatingRootMotion"); } FVector& LastCheckedFloorAtRelativeLocField() { return *GetNativePointerField(this, "UCharacterMovementComponent.LastCheckedFloorAtRelativeLoc"); } @@ -6338,6 +6465,7 @@ struct UCharacterMovementComponent BitFieldValue bCanWalkOffLedges() { return { this, "UCharacterMovementComponent.bCanWalkOffLedges" }; } BitFieldValue bCanWalkOffLedgesWhenCrouching() { return { this, "UCharacterMovementComponent.bCanWalkOffLedgesWhenCrouching" }; } BitFieldValue bDeferUpdateMoveComponent() { return { this, "UCharacterMovementComponent.bDeferUpdateMoveComponent" }; } + BitFieldValue bUseRootMotionForLocomotion() { return { this, "UCharacterMovementComponent.bUseRootMotionForLocomotion" }; } BitFieldValue bForceBraking_DEPRECATED() { return { this, "UCharacterMovementComponent.bForceBraking_DEPRECATED" }; } BitFieldValue bMaintainHorizontalGroundVelocity() { return { this, "UCharacterMovementComponent.bMaintainHorizontalGroundVelocity" }; } BitFieldValue bImpartBaseVelocityX() { return { this, "UCharacterMovementComponent.bImpartBaseVelocityX" }; } @@ -6400,13 +6528,13 @@ struct UCharacterMovementComponent void SetDefaultMovementMode() { NativeCall(this, "UCharacterMovementComponent.SetDefaultMovementMode"); } void SetMovementMode(EMovementMode NewMovementMode, char NewCustomMode) { NativeCall(this, "UCharacterMovementComponent.SetMovementMode", NewMovementMode, NewCustomMode); } void OnMovementModeChanged(EMovementMode PreviousMovementMode, char PreviousCustomMode) { NativeCall(this, "UCharacterMovementComponent.OnMovementModeChanged", PreviousMovementMode, PreviousCustomMode); } + bool MoveUpdatedComponentImpl(FVector * Delta, FQuat * NewRotation, bool bSweep, FHitResult * OutHit) { return NativeCall(this, "UCharacterMovementComponent.MoveUpdatedComponentImpl", Delta, NewRotation, bSweep, OutHit); } void ApplyNetworkMovementMode(const char ReceivedMode) { NativeCall(this, "UCharacterMovementComponent.ApplyNetworkMovementMode", ReceivedMode); } void PerformAirControl(FVector Direction, float ZDiff) { NativeCall(this, "UCharacterMovementComponent.PerformAirControl", Direction, ZDiff); } void PerformAirControlForPathFollowing(FVector Direction, float ZDiff) { NativeCall(this, "UCharacterMovementComponent.PerformAirControlForPathFollowing", Direction, ZDiff); } void ExecuteStoredMoves() { NativeCall(this, "UCharacterMovementComponent.ExecuteStoredMoves"); } void AdjustProxyCapsuleSize() { NativeCall(this, "UCharacterMovementComponent.AdjustProxyCapsuleSize"); } void SimulatedTick(float DeltaSeconds) { NativeCall(this, "UCharacterMovementComponent.SimulatedTick", DeltaSeconds); } - void SimulateRootMotion(float DeltaSeconds, FTransform * LocalRootMotionTransform) { NativeCall(this, "UCharacterMovementComponent.SimulateRootMotion", DeltaSeconds, LocalRootMotionTransform); } void SimulateMovement(float DeltaSeconds) { NativeCall(this, "UCharacterMovementComponent.SimulateMovement", DeltaSeconds); } UPrimitiveComponent * GetMovementBase() { return NativeCall(this, "UCharacterMovementComponent.GetMovementBase"); } void SetBase(UPrimitiveComponent * NewBase, FName BoneName, bool bNotifyActor) { NativeCall(this, "UCharacterMovementComponent.SetBase", NewBase, BoneName, bNotifyActor); } @@ -6503,6 +6631,10 @@ struct UCharacterMovementComponent float ComputeAnalogInputModifier() { return NativeCall(this, "UCharacterMovementComponent.ComputeAnalogInputModifier"); } bool ClientUpdatePositionAfterServerUpdate() { return NativeCall(this, "UCharacterMovementComponent.ClientUpdatePositionAfterServerUpdate"); } void ForcePositionUpdate(float DeltaTime) { NativeCall(this, "UCharacterMovementComponent.ForcePositionUpdate", DeltaTime); } + FNetworkPredictionData_Client * GetPredictionData_Client() { return NativeCall(this, "UCharacterMovementComponent.GetPredictionData_Client"); } + FNetworkPredictionData_Server * GetPredictionData_Server() { return NativeCall(this, "UCharacterMovementComponent.GetPredictionData_Server"); } + FNetworkPredictionData_Client_Character * GetPredictionData_Client_Character() { return NativeCall(this, "UCharacterMovementComponent.GetPredictionData_Client_Character"); } + FNetworkPredictionData_Server_Character * GetPredictionData_Server_Character() { return NativeCall(this, "UCharacterMovementComponent.GetPredictionData_Server_Character"); } void ResetPredictionData_Client() { NativeCall(this, "UCharacterMovementComponent.ResetPredictionData_Client"); } void ResetPredictionData_Server() { NativeCall(this, "UCharacterMovementComponent.ResetPredictionData_Server"); } void ReplicateMoveToServer(float DeltaTime, FVector * NewAcceleration) { NativeCall(this, "UCharacterMovementComponent.ReplicateMoveToServer", DeltaTime, NewAcceleration); } @@ -6512,6 +6644,9 @@ struct UCharacterMovementComponent void ServerMoveDualWithRotation_Implementation(float TimeStamp0, FVector_NetQuantize100 InAccel0, char PendingFlags, unsigned int View0, float TimeStamp, FVector_NetQuantize100 InAccel, FVector_NetQuantize100 ClientLoc, char NewFlags, char ClientRoll, unsigned int View, UPrimitiveComponent * ClientMovementBase, FName ClientBaseBone, char ClientMovementMode, FRotator InRotation0, FRotator InRotation) { NativeCall(this, "UCharacterMovementComponent.ServerMoveDualWithRotation_Implementation", TimeStamp0, InAccel0, PendingFlags, View0, TimeStamp, InAccel, ClientLoc, NewFlags, ClientRoll, View, ClientMovementBase, ClientBaseBone, ClientMovementMode, InRotation0, InRotation); } void ServerMoveHandleClientErrorForDinos(float TimeStamp, float DeltaTime, FVector * Accel, FVector * RelativeClientLoc, UPrimitiveComponent * ClientMovementBase, FName ClientBaseBoneName, char ClientMovementMode, FRotator * InClientRot) { NativeCall(this, "UCharacterMovementComponent.ServerMoveHandleClientErrorForDinos", TimeStamp, DeltaTime, Accel, RelativeClientLoc, ClientMovementBase, ClientBaseBoneName, ClientMovementMode, InClientRot); } void ServerMoveDual_Implementation(float TimeStamp0, FVector_NetQuantize100 InAccel0, char PendingFlags, unsigned int View0, float TimeStamp, FVector_NetQuantize100 InAccel, FVector_NetQuantize100 ClientLoc, char NewFlags, char ClientRoll, unsigned int View, UPrimitiveComponent * ClientMovementBase, FName ClientBaseBone, char ClientMovementMode) { NativeCall(this, "UCharacterMovementComponent.ServerMoveDual_Implementation", TimeStamp0, InAccel0, PendingFlags, View0, TimeStamp, InAccel, ClientLoc, NewFlags, ClientRoll, View, ClientMovementBase, ClientBaseBone, ClientMovementMode); } + bool VerifyClientTimeStamp(float TimeStamp, FNetworkPredictionData_Server_Character * ServerData) { return NativeCall(this, "UCharacterMovementComponent.VerifyClientTimeStamp", TimeStamp, ServerData); } + void ReadjustClientPositionToCurrent(float TimeStamp, FNetworkPredictionData_Server_Character * ServerData) { NativeCall(this, "UCharacterMovementComponent.ReadjustClientPositionToCurrent", TimeStamp, ServerData); } + bool ProcessClientTimeStamp(float TimeStamp, FNetworkPredictionData_Server_Character * ServerData) { return NativeCall(this, "UCharacterMovementComponent.ProcessClientTimeStamp", TimeStamp, ServerData); } void ServerMove_Implementation(float TimeStamp, FVector_NetQuantize100 InAccel, FVector_NetQuantize100 ClientLoc, char MoveFlags, char ClientRoll, unsigned int View, UPrimitiveComponent * ClientMovementBase, FName ClientBaseBoneName, char ClientMovementMode) { NativeCall(this, "UCharacterMovementComponent.ServerMove_Implementation", TimeStamp, InAccel, ClientLoc, MoveFlags, ClientRoll, View, ClientMovementBase, ClientBaseBoneName, ClientMovementMode); } void ServerMoveHandleClientError(float TimeStamp, float DeltaTime, FVector * Accel, FVector * RelativeClientLoc, UPrimitiveComponent * ClientMovementBase, FName ClientBaseBoneName, char ClientMovementMode) { NativeCall(this, "UCharacterMovementComponent.ServerMoveHandleClientError", TimeStamp, DeltaTime, Accel, RelativeClientLoc, ClientMovementBase, ClientBaseBoneName, ClientMovementMode); } void ServerMoveOnlyRotation_Implementation(float TimeStamp, char ClientRoll, unsigned int View) { NativeCall(this, "UCharacterMovementComponent.ServerMoveOnlyRotation_Implementation", TimeStamp, ClientRoll, View); } @@ -6528,7 +6663,9 @@ struct UCharacterMovementComponent void ApplyAccumulatedForces(float DeltaSeconds) { NativeCall(this, "UCharacterMovementComponent.ApplyAccumulatedForces", DeltaSeconds); } void AddRadialForce(FVector * Origin, float Radius, float Strength, ERadialImpulseFalloff Falloff) { NativeCall(this, "UCharacterMovementComponent.AddRadialForce", Origin, Radius, Strength, Falloff); } void AddRadialImpulse(FVector * Origin, float Radius, float Strength, ERadialImpulseFalloff Falloff, bool bVelChange) { NativeCall(this, "UCharacterMovementComponent.AddRadialImpulse", Origin, Radius, Strength, Falloff, bVelChange); } + bool IsFlyingOrControlledFalling() { return NativeCall(this, "UCharacterMovementComponent.IsFlyingOrControlledFalling"); } void RegisterComponentTickFunctions(bool bRegister, bool bSaveAndRestoreComponentTickState) { NativeCall(this, "UCharacterMovementComponent.RegisterComponentTickFunctions", bRegister, bSaveAndRestoreComponentTickState); } + void TickCharacterPose(float DeltaTime) { NativeCall(this, "UCharacterMovementComponent.TickCharacterPose", DeltaTime); } void UpdateFromCompressedFlags(char Flags) { NativeCall(this, "UCharacterMovementComponent.UpdateFromCompressedFlags", Flags); } void Prone(bool bClientSimulation) { NativeCall(this, "UCharacterMovementComponent.Prone", bClientSimulation); } void UnProne(bool bClientSimulation, bool bForce) { NativeCall(this, "UCharacterMovementComponent.UnProne", bClientSimulation, bForce); } diff --git a/version/Core/Public/API/ARK/Enums.h b/version/Core/Public/API/ARK/Enums.h index bff65d7..fccc103 100644 --- a/version/Core/Public/API/ARK/Enums.h +++ b/version/Core/Public/API/ARK/Enums.h @@ -1,4 +1,5 @@ #pragma once + namespace EPrimalEquipmentType { enum Type @@ -12,7 +13,9 @@ namespace EPrimalEquipmentType Trophy = 0x6, Costume = 0x7, Shield = 0x8, - MAX = 0x9, + Weapon = 0x9, + Snapshot = 0xA, + MAX = 0xB }; } @@ -28,7 +31,7 @@ namespace EPrimalItemStat HypothermalInsulation = 0x5, Weight = 0x6, HyperthermalInsulation = 0x7, - MAX = 0x8, + MAX = 0x8 }; } @@ -48,7 +51,7 @@ namespace EPrimalCharacterStatusValue SpeedMultiplier = 0x9, TemperatureFortitude = 0xA, CraftingSpeedMultiplier = 0xB, - MAX = 0xC, + MAX = 0xC }; } @@ -70,7 +73,7 @@ namespace EPrimalCharacterStatusState Cold = 0xB, Hot = 0xC, Crafting = 0xD, - MAX = 0xE, + MAX = 0xE }; } @@ -87,7 +90,7 @@ namespace EPrimalItemType Skin = 0x6, WeaponAttachment = 0x7, Artifact = 0x8, - MAX = 0x9, + MAX = 0x9 }; } @@ -95,11 +98,11 @@ namespace EPrimalConsumableType { enum Type { - Food, - Water, - Medicine, - Other, - MAX + Food = 0x0, + Water = 0x1, + Medicine = 0x2, + Other = 0x3, + MAX = 0x4 }; } @@ -107,9 +110,9 @@ namespace EPrimalItemMessage { enum Type { - Broken, - Repaired, - MAX + Broken = 0x0, + Repaired = 0x1, + MAX = 0x2 }; } @@ -122,7 +125,7 @@ namespace EXPType XP_HARVEST = 0x2, XP_CRAFT = 0x3, XP_SPECIAL = 0x4, - MAX = 0x5, + MAX = 0x5 }; } @@ -130,10 +133,10 @@ namespace EBabyCuddleType { enum Type { - Pet, - Food, - Walk, - MAX + PET = 0x0, + FOOD = 0x1, + WALK = 0x2, + MAX = 0x3 }; } @@ -141,9 +144,9 @@ namespace EAttachLocation { enum Type { - KeepRelativeOffset, - KeepWorldPosition, - SnapToTarget + KeepRelativeOffset = 0x0, + KeepWorldPosition = 0x1, + SnapToTarget = 0x2 }; } @@ -152,11 +155,11 @@ namespace EEndPlayReason { enum Type { - ActorDestroyed, - LevelTransition, - EndPlayInEditor, - RemovedFromWorld, - Quit + ActorDestroyed = 0x0, + LevelTransition = 0x1, + EndPlayInEditor = 0x2, + RemovedFromWorld = 0x3, + Quit = 0x4 }; } @@ -164,10 +167,10 @@ namespace EPrimalARKTributeDataType { enum Type { - Items, - TamedDinos, - CharacterData, - MAX + Items = 0x0, + TamedDinos = 0x1, + CharacterData = 0x2, + MAX = 0x3 }; } @@ -175,11 +178,11 @@ namespace ESTOFNotificationType { enum Type { - Death, - TribeEliminated, - MatchVictory, - MatchDraw, - MAX + Death = 0x0, + TribeEliminated = 0x1, + MatchVictory = 0x2, + MatchDraw = 0x3, + MAX = 0x4 }; } @@ -196,7 +199,8 @@ namespace EDinoTamedOrder StopFollowing = 0x6, CycleFollowDistance = 0x7, SetAggressionPassiveFlee = 0x8, - MAX = 0x9, + LandingToMe = 0x9, + MAX = 0xA }; } @@ -242,11 +246,11 @@ namespace EWeaponState { enum Type { - Idle, - Firing, - Reloading, - Equipping, - UnEquipping + Idle = 0x0, + Firing = 0x1, + Reloading = 0x2, + Equipping = 0x3, + UnEquipping = 0x4 }; } @@ -326,7 +330,7 @@ namespace ELevelExperienceRampType DinoEasy = 0x1, DinoMedium = 0x2, DinoHard = 0x3, - MAX = 0x4, + MAX = 0x4 }; } @@ -339,7 +343,8 @@ namespace EEngramGroup ARK_TEK = 0x8, ARK_UNLEARNED = 0x10, ARK_ABERRATION = 0x20, - MAX = 0x21, + ARK_EXTINCTION = 0x40, + MAX = 0x41 }; } @@ -354,6 +359,31 @@ namespace EPrimalStatsValueTypes HitsDinoCritical = 0x4, HitsPlayerBody = 0x5, HitsPlayerCritical = 0x6, - MAX = 0x7, + MAX = 0x7 + }; +} + +namespace EChatSendMode +{ + enum Type + { + GlobalChat = 0x0, + GlobalTribeChat = 0x1, + LocalChat = 0x2, + AllianceChat = 0x3, + MAX = 0x4 + }; +} + +namespace EChatType +{ + enum Type + { + GlobalChat = 0x0, + ProximityChat = 0x1, + RadioChat = 0x2, + GlobalTribeChat = 0x3, + AllianceChat = 0x4, + MAX = 0x5 }; } \ No newline at end of file diff --git a/version/Core/Public/API/ARK/GameMode.h b/version/Core/Public/API/ARK/GameMode.h index 005d400..ce5d99c 100644 --- a/version/Core/Public/API/ARK/GameMode.h +++ b/version/Core/Public/API/ARK/GameMode.h @@ -66,6 +66,9 @@ struct UGameViewportClient static void StaticRegisterNativesUGameViewportClient() { NativeCall(nullptr, "UGameViewportClient.StaticRegisterNativesUGameViewportClient"); } }; +struct UGameInstance; +struct FChatMessage; + struct UWorld : UObject { struct InitializationValues @@ -96,6 +99,7 @@ struct UWorld : UObject TArray LevelsField() { return *GetNativePointerField*>(this, "UWorld.Levels"); } TArray NetworkActorsField() { return *GetNativePointerField*>(this, "UWorld.NetworkActors"); } ULevel * CurrentLevelField() { return *GetNativePointerField(this, "UWorld.CurrentLevel"); } + UGameInstance * OwningGameInstanceField() { return *GetNativePointerField(this, "UWorld.OwningGameInstance"); } int& FrameCounterField() { return *GetNativePointerField(this, "UWorld.FrameCounter"); } bool& GamePreviewField() { return *GetNativePointerField(this, "UWorld.GamePreview"); } TMap>>, FDefaultSetAllocator, TDefaultMapKeyFuncs>>, 0> >& LocalInstancedStaticMeshComponentInstancesVisibilityStateField() { return *GetNativePointerField>>, FDefaultSetAllocator, TDefaultMapKeyFuncs>>, 0> >*>(this, "UWorld.LocalInstancedStaticMeshComponentInstancesVisibilityState"); } @@ -196,7 +200,6 @@ struct UWorld : UObject bool AreAlwaysLoadedLevelsLoaded() { return NativeCall(this, "UWorld.AreAlwaysLoadedLevelsLoaded"); } bool AllowLevelLoadRequests() { return NativeCall(this, "UWorld.AllowLevelLoadRequests"); } void CleanupWorld(bool bSessionEnded, bool bCleanupResources, UWorld * NewWorld) { NativeCall(this, "UWorld.CleanupWorld", bSessionEnded, bCleanupResources, NewWorld); } - UGameViewportClient * GetGameViewport() { return NativeCall(this, "UWorld.GetGameViewport"); } APlayerController * GetFirstPlayerController() { return NativeCall(this, "UWorld.GetFirstPlayerController"); } ULocalPlayer * GetFirstLocalPlayerFromController() { return NativeCall(this, "UWorld.GetFirstLocalPlayerFromController"); } void AddController(AController * Controller) { NativeCall(this, "UWorld.AddController", Controller); } @@ -244,16 +247,39 @@ struct UEngine : UObject { TWeakObjectPtr& ActiveMatineeField() { return *GetNativePointerField*>(this, "UEngine.ActiveMatinee"); } TArray& AdditionalFontNamesField() { return *GetNativePointerField*>(this, "UEngine.AdditionalFontNames"); } - TSubclassOf& GameViewportClientClassField() { return *GetNativePointerField*>(this, "UEngine.GameViewportClientClass"); } + TSubclassOf& ConsoleClassField() { return *GetNativePointerField*>(this, "UEngine.ConsoleClass"); } TSubclassOf& LocalPlayerClassField() { return *GetNativePointerField*>(this, "UEngine.LocalPlayerClass"); } TSubclassOf& WorldSettingsClassField() { return *GetNativePointerField*>(this, "UEngine.WorldSettingsClass"); } - UPrimalGlobals * GameSingletonField() { return *GetNativePointerField(this, "UEngine.GameSingleton"); } + TSubclassOf& GameUserSettingsClassField() { return *GetNativePointerField*>(this, "UEngine.GameUserSettingsClass"); } + UGameUserSettings * GameUserSettingsField() { return *GetNativePointerField(this, "UEngine.GameUserSettings"); } + TSubclassOf& LevelScriptActorClassField() { return *GetNativePointerField*>(this, "UEngine.LevelScriptActorClass"); } + UObject * GameSingletonField() { return *GetNativePointerField(this, "UEngine.GameSingleton"); } + UTireType * DefaultTireTypeField() { return *GetNativePointerField(this, "UEngine.DefaultTireType"); } TSubclassOf& DefaultPreviewPawnClassField() { return *GetNativePointerField*>(this, "UEngine.DefaultPreviewPawnClass"); } FString& PlayOnConsoleSaveDirField() { return *GetNativePointerField(this, "UEngine.PlayOnConsoleSaveDir"); } UTexture2D * DefaultTextureField() { return *GetNativePointerField(this, "UEngine.DefaultTexture"); } + UTexture * DefaultDiffuseTextureField() { return *GetNativePointerField(this, "UEngine.DefaultDiffuseTexture"); } UTexture2D * DefaultBSPVertexTextureField() { return *GetNativePointerField(this, "UEngine.DefaultBSPVertexTexture"); } UTexture2D * HighFrequencyNoiseTextureField() { return *GetNativePointerField(this, "UEngine.HighFrequencyNoiseTexture"); } UTexture2D * DefaultBokehTextureField() { return *GetNativePointerField(this, "UEngine.DefaultBokehTexture"); } + UMaterial * WireframeMaterialField() { return *GetNativePointerField(this, "UEngine.WireframeMaterial"); } + UMaterial * DebugMeshMaterialField() { return *GetNativePointerField(this, "UEngine.DebugMeshMaterial"); } + UMaterial * LevelColorationLitMaterialField() { return *GetNativePointerField(this, "UEngine.LevelColorationLitMaterial"); } + UMaterial * LevelColorationUnlitMaterialField() { return *GetNativePointerField(this, "UEngine.LevelColorationUnlitMaterial"); } + UMaterial * LightingTexelDensityMaterialField() { return *GetNativePointerField(this, "UEngine.LightingTexelDensityMaterial"); } + UMaterial * ShadedLevelColorationLitMaterialField() { return *GetNativePointerField(this, "UEngine.ShadedLevelColorationLitMaterial"); } + UMaterial * ShadedLevelColorationUnlitMaterialField() { return *GetNativePointerField(this, "UEngine.ShadedLevelColorationUnlitMaterial"); } + UMaterial * RemoveSurfaceMaterialField() { return *GetNativePointerField(this, "UEngine.RemoveSurfaceMaterial"); } + UMaterial * VertexColorMaterialField() { return *GetNativePointerField(this, "UEngine.VertexColorMaterial"); } + UMaterial * VertexColorViewModeMaterial_ColorOnlyField() { return *GetNativePointerField(this, "UEngine.VertexColorViewModeMaterial_ColorOnly"); } + UMaterial * VertexColorViewModeMaterial_AlphaAsColorField() { return *GetNativePointerField(this, "UEngine.VertexColorViewModeMaterial_AlphaAsColor"); } + UMaterial * VertexColorViewModeMaterial_RedOnlyField() { return *GetNativePointerField(this, "UEngine.VertexColorViewModeMaterial_RedOnly"); } + UMaterial * VertexColorViewModeMaterial_GreenOnlyField() { return *GetNativePointerField(this, "UEngine.VertexColorViewModeMaterial_GreenOnly"); } + UMaterial * VertexColorViewModeMaterial_BlueOnlyField() { return *GetNativePointerField(this, "UEngine.VertexColorViewModeMaterial_BlueOnly"); } + UMaterial * ConstraintLimitMaterialField() { return *GetNativePointerField(this, "UEngine.ConstraintLimitMaterial"); } + UMaterial * InvalidLightmapSettingsMaterialField() { return *GetNativePointerField(this, "UEngine.InvalidLightmapSettingsMaterial"); } + UMaterial * PreviewShadowsIndicatorMaterialField() { return *GetNativePointerField(this, "UEngine.PreviewShadowsIndicatorMaterial"); } + UMaterial * ArrowMaterialField() { return *GetNativePointerField(this, "UEngine.ArrowMaterial"); } FLinearColor& LightingOnlyBrightnessField() { return *GetNativePointerField(this, "UEngine.LightingOnlyBrightness"); } TArray& LightComplexityColorsField() { return *GetNativePointerField*>(this, "UEngine.LightComplexityColors"); } TArray& ShaderComplexityColorsField() { return *GetNativePointerField*>(this, "UEngine.ShaderComplexityColors"); } @@ -267,11 +293,17 @@ struct UEngine : UObject float& RenderLightMapDensityColorScaleField() { return *GetNativePointerField(this, "UEngine.RenderLightMapDensityColorScale"); } FLinearColor& LightMapDensityVertexMappedColorField() { return *GetNativePointerField(this, "UEngine.LightMapDensityVertexMappedColor"); } FLinearColor& LightMapDensitySelectedColorField() { return *GetNativePointerField(this, "UEngine.LightMapDensitySelectedColor"); } + TArray& StatColorMappingsField() { return *GetNativePointerField*>(this, "UEngine.StatColorMappings"); } UPhysicalMaterial * DefaultPhysMaterialField() { return *GetNativePointerField(this, "UEngine.DefaultPhysMaterial"); } + TArray& ActiveGameNameRedirectsField() { return *GetNativePointerField*>(this, "UEngine.ActiveGameNameRedirects"); } + TArray& ActiveClassRedirectsField() { return *GetNativePointerField*>(this, "UEngine.ActiveClassRedirects"); } + TArray& ActivePluginRedirectsField() { return *GetNativePointerField*>(this, "UEngine.ActivePluginRedirects"); } + TArray& ActiveStructRedirectsField() { return *GetNativePointerField*>(this, "UEngine.ActiveStructRedirects"); } UTexture2D * PreIntegratedSkinBRDFTextureField() { return *GetNativePointerField(this, "UEngine.PreIntegratedSkinBRDFTexture"); } UTexture2D * MiniFontTextureField() { return *GetNativePointerField(this, "UEngine.MiniFontTexture"); } + UTexture * WeightMapPlaceholderTextureField() { return *GetNativePointerField(this, "UEngine.WeightMapPlaceholderTexture"); } UTexture2D * LightMapDensityTextureField() { return *GetNativePointerField(this, "UEngine.LightMapDensityTexture"); } - UGameViewportClient * GameViewportField() { return *GetNativePointerField(this, "UEngine.GameViewport"); } + IEngineLoop * EngineLoopField() { return *GetNativePointerField(this, "UEngine.EngineLoop"); } TArray& DeferredCommandsField() { return *GetNativePointerField*>(this, "UEngine.DeferredCommands"); } int& TickCyclesField() { return *GetNativePointerField(this, "UEngine.TickCycles"); } int& GameCyclesField() { return *GetNativePointerField(this, "UEngine.GameCycles"); } @@ -308,6 +340,8 @@ struct UEngine : UObject float& MaxOcclusionPixelsFractionField() { return *GetNativePointerField(this, "UEngine.MaxOcclusionPixelsFraction"); } int& MaxParticleResizeField() { return *GetNativePointerField(this, "UEngine.MaxParticleResize"); } int& MaxParticleResizeWarnField() { return *GetNativePointerField(this, "UEngine.MaxParticleResizeWarn"); } + TArray& PendingDroppedNotesField() { return *GetNativePointerField*>(this, "UEngine.PendingDroppedNotes"); } + FRigidBodyErrorCorrection& PhysicErrorCorrectionField() { return *GetNativePointerField(this, "UEngine.PhysicErrorCorrection"); } float& NetClientTicksPerSecondField() { return *GetNativePointerField(this, "UEngine.NetClientTicksPerSecond"); } float& DisplayGammaField() { return *GetNativePointerField(this, "UEngine.DisplayGamma"); } float& MinDesiredFrameRateField() { return *GetNativePointerField(this, "UEngine.MinDesiredFrameRate"); } @@ -317,12 +351,14 @@ struct UEngine : UObject FLinearColor& SelectedMaterialColorOverrideField() { return *GetNativePointerField(this, "UEngine.SelectedMaterialColorOverride"); } bool& bIsOverridingSelectedColorField() { return *GetNativePointerField(this, "UEngine.bIsOverridingSelectedColor"); } unsigned int& bEnableVisualLogRecordingOnStartField() { return *GetNativePointerField(this, "UEngine.bEnableVisualLogRecordingOnStart"); } + UDeviceProfileManager * DeviceProfileManagerField() { return *GetNativePointerField(this, "UEngine.DeviceProfileManager"); } int& ScreenSaverInhibitorSemaphoreField() { return *GetNativePointerField(this, "UEngine.ScreenSaverInhibitorSemaphore"); } FString& MatineeCaptureNameField() { return *GetNativePointerField(this, "UEngine.MatineeCaptureName"); } FString& MatineePackageCaptureNameField() { return *GetNativePointerField(this, "UEngine.MatineePackageCaptureName"); } int& MatineeCaptureFPSField() { return *GetNativePointerField(this, "UEngine.MatineeCaptureFPS"); } bool& bNoTextureStreamingField() { return *GetNativePointerField(this, "UEngine.bNoTextureStreaming"); } FString& ParticleEventManagerClassPathField() { return *GetNativePointerField(this, "UEngine.ParticleEventManagerClassPath"); } + TArray& PriorityScreenMessagesField() { return *GetNativePointerField*>(this, "UEngine.PriorityScreenMessages"); } float& SelectionHighlightIntensityField() { return *GetNativePointerField(this, "UEngine.SelectionHighlightIntensity"); } float& BSPSelectionHighlightIntensityField() { return *GetNativePointerField(this, "UEngine.BSPSelectionHighlightIntensity"); } float& HoverHighlightIntensityField() { return *GetNativePointerField(this, "UEngine.HoverHighlightIntensity"); } @@ -330,9 +366,21 @@ struct UEngine : UObject FString& LastModDownloadTextField() { return *GetNativePointerField(this, "UEngine.LastModDownloadText"); } FString& PrimalNetAuth_MyIPStrField() { return *GetNativePointerField(this, "UEngine.PrimalNetAuth_MyIPStr"); } FString& PrimalNetAuth_TokenField() { return *GetNativePointerField(this, "UEngine.PrimalNetAuth_Token"); } + bool& bIsInitializedField() { return *GetNativePointerField(this, "UEngine.bIsInitialized"); } + TMap >& ScreenMessagesField() { return *GetNativePointerField >*>(this, "UEngine.ScreenMessages"); } + FAudioDevice * AudioDeviceField() { return *GetNativePointerField(this, "UEngine.AudioDevice"); } + TSharedPtr& StereoRenderingDeviceField() { return *GetNativePointerField*>(this, "UEngine.StereoRenderingDevice"); } + TSharedPtr& HMDDeviceField() { return *GetNativePointerField*>(this, "UEngine.HMDDevice"); } + FRunnableThread * ScreenSaverInhibitorField() { return *GetNativePointerField(this, "UEngine.ScreenSaverInhibitor"); } + FScreenSaverInhibitor * ScreenSaverInhibitorRunnableField() { return *GetNativePointerField(this, "UEngine.ScreenSaverInhibitorRunnable"); } + bool& bPendingHardwareSurveyResultsField() { return *GetNativePointerField(this, "UEngine.bPendingHardwareSurveyResults"); } + TArray& NetDriverDefinitionsField() { return *GetNativePointerField*>(this, "UEngine.NetDriverDefinitions"); } + TArray& ServerActorsField() { return *GetNativePointerField*>(this, "UEngine.ServerActors"); } + int& NextWorldContextHandleField() { return *GetNativePointerField(this, "UEngine.NextWorldContextHandle"); } // Functions + FAudioDevice * GetAudioDevice() { return NativeCall(this, "UEngine.GetAudioDevice"); } bool IsInitialized() { return NativeCall(this, "UEngine.IsInitialized"); } FString * GetLastModDownloadText(FString * result) { return NativeCall(this, "UEngine.GetLastModDownloadText", result); } void TickFPSChart(float DeltaSeconds) { NativeCall(this, "UEngine.TickFPSChart", DeltaSeconds); } @@ -341,6 +389,8 @@ struct UEngine : UObject void DumpFPSChartToLog(float TotalTime, float DeltaTime, int NumFrames, FString * InMapName) { NativeCall(this, "UEngine.DumpFPSChartToLog", TotalTime, DeltaTime, NumFrames, InMapName); } void DumpFPSChart(FString * InMapName, bool bForceDump) { NativeCall(this, "UEngine.DumpFPSChart", InMapName, bForceDump); } void Tick(float DeltaSeconds, bool bIdleMode) { NativeCall(this, "UEngine.Tick", DeltaSeconds, bIdleMode); } + void Init(IEngineLoop * InEngineLoop) { NativeCall(this, "UEngine.Init", InEngineLoop); } + void RequestAuthTokenThenNotifyPendingNetGame(UPendingNetGame * PendingNetGameToNotify) { NativeCall(this, "UEngine.RequestAuthTokenThenNotifyPendingNetGame", PendingNetGameToNotify); } void OnExternalUIChange(bool bInIsOpening) { NativeCall(this, "UEngine.OnExternalUIChange", bInIsOpening); } void ShutdownAudioDevice() { NativeCall(this, "UEngine.ShutdownAudioDevice"); } void PreExit() { NativeCall(this, "UEngine.PreExit"); } @@ -353,7 +403,6 @@ struct UEngine : UObject bool InitializeHMDDevice() { return NativeCall(this, "UEngine.InitializeHMDDevice"); } void RecordHMDAnalytics() { NativeCall(this, "UEngine.RecordHMDAnalytics"); } bool IsSplitScreen(UWorld * InWorld) { return NativeCall(this, "UEngine.IsSplitScreen", InWorld); } - ULocalPlayer * GetLocalPlayerFromControllerId(UGameViewportClient * InViewport, int ControllerId) { return NativeCall(this, "UEngine.GetLocalPlayerFromControllerId", InViewport, ControllerId); } ULocalPlayer * GetLocalPlayerFromControllerId(UWorld * InWorld, int ControllerId) { return NativeCall(this, "UEngine.GetLocalPlayerFromControllerId", InWorld, ControllerId); } void SwapControllerId(ULocalPlayer * NewPlayer, int CurrentControllerId, int NewControllerID) { NativeCall(this, "UEngine.SwapControllerId", NewPlayer, CurrentControllerId, NewControllerID); } APlayerController * GetFirstLocalPlayerController(UWorld * InWorld) { return NativeCall(this, "UEngine.GetFirstLocalPlayerController", InWorld); } @@ -363,6 +412,7 @@ struct UEngine : UObject static FString * HardwareSurveyBucketRAM(FString * result, unsigned int MemoryMB) { return NativeCall(nullptr, "UEngine.HardwareSurveyBucketRAM", result, MemoryMB); } static FString * HardwareSurveyBucketVRAM(FString * result, unsigned int VidMemoryMB) { return NativeCall(nullptr, "UEngine.HardwareSurveyBucketVRAM", result, VidMemoryMB); } static FString * HardwareSurveyBucketResolution(FString * result, unsigned int DisplayWidth, unsigned int DisplayHeight) { return NativeCall(nullptr, "UEngine.HardwareSurveyBucketResolution", result, DisplayWidth, DisplayHeight); } + void OnHardwareSurveyComplete(FHardwareSurveyResults * SurveyResults) { NativeCall(this, "UEngine.OnHardwareSurveyComplete", SurveyResults); } float GetMaxTickRate(float DeltaTime, bool bAllowFrameRateSmoothing) { return NativeCall(this, "UEngine.GetMaxTickRate", DeltaTime, bAllowFrameRateSmoothing); } void EnableScreenSaver(bool bEnable) { NativeCall(this, "UEngine.EnableScreenSaver", bEnable); } static FGuid * GetPackageGuid(FGuid * result, FName PackageName) { return NativeCall(nullptr, "UEngine.GetPackageGuid", result, PackageName); } @@ -371,28 +421,56 @@ struct UEngine : UObject void WorldDestroyed(UWorld * InWorld) { NativeCall(this, "UEngine.WorldDestroyed", InWorld); } TIndexedContainerIterator const, ULocalPlayer * const, int> * GetLocalPlayerIterator(TIndexedContainerIterator const, ULocalPlayer * const, int> * result, UWorld * World) { return NativeCall const, ULocalPlayer * const, int> *, TIndexedContainerIterator const, ULocalPlayer * const, int> *, UWorld *>(this, "UEngine.GetLocalPlayerIterator", result, World); } TArray * GetGamePlayers(UWorld * World) { return NativeCall *, UWorld *>(this, "UEngine.GetGamePlayers", World); } - TArray * GetGamePlayers(UGameViewportClient * Viewport) { return NativeCall *, UGameViewportClient *>(this, "UEngine.GetGamePlayers", Viewport); } ULocalPlayer * FindFirstLocalPlayerFromControllerId(int ControllerId) { return NativeCall(this, "UEngine.FindFirstLocalPlayerFromControllerId", ControllerId); } int GetNumGamePlayers(UWorld * InWorld) { return NativeCall(this, "UEngine.GetNumGamePlayers", InWorld); } ULocalPlayer * GetFirstGamePlayer(UWorld * InWorld) { return NativeCall(this, "UEngine.GetFirstGamePlayer", InWorld); } + ULocalPlayer * GetFirstGamePlayer(UPendingNetGame * PendingNetGame) { return NativeCall(this, "UEngine.GetFirstGamePlayer", PendingNetGame); } ULocalPlayer * GetDebugLocalPlayer() { return NativeCall(this, "UEngine.GetDebugLocalPlayer"); } bool CreateNamedNetDriver(UWorld * InWorld, FName NetDriverName, FName NetDriverDefinition) { return NativeCall(this, "UEngine.CreateNamedNetDriver", InWorld, NetDriverName, NetDriverDefinition); } void DestroyNamedNetDriver(UWorld * InWorld, FName NetDriverName) { NativeCall(this, "UEngine.DestroyNamedNetDriver", InWorld, NetDriverName); } void SpawnServerActors(UWorld * World) { NativeCall(this, "UEngine.SpawnServerActors", World); } bool MakeSureMapNameIsValid(FString * InOutMapName) { return NativeCall(this, "UEngine.MakeSureMapNameIsValid", InOutMapName); } + void CancelPending(FWorldContext * Context) { NativeCall(this, "UEngine.CancelPending", Context); } + void CancelPending(UWorld * InWorld, UPendingNetGame * NewPendingNetGame) { NativeCall(this, "UEngine.CancelPending", InWorld, NewPendingNetGame); } + void CancelAllPending() { NativeCall(this, "UEngine.CancelAllPending"); } + void BrowseToDefaultMap(FWorldContext * Context) { NativeCall(this, "UEngine.BrowseToDefaultMap", Context); } + bool TickWorldTravel(FWorldContext * Context, float DeltaSeconds) { return NativeCall(this, "UEngine.TickWorldTravel", Context, DeltaSeconds); } + void CancelPendingMapChange(FWorldContext * Context) { NativeCall(this, "UEngine.CancelPendingMapChange", Context); } + void ClearDebugDisplayProperties() { NativeCall(this, "UEngine.ClearDebugDisplayProperties"); } + void MovePendingLevel(FWorldContext * Context) { NativeCall(this, "UEngine.MovePendingLevel", Context); } void UpdateTransitionType(UWorld * CurrentWorld) { NativeCall(this, "UEngine.UpdateTransitionType", CurrentWorld); } + FWorldContext * CreateNewWorldContext(EWorldType::Type WorldType) { return NativeCall(this, "UEngine.CreateNewWorldContext", WorldType); } + FWorldContext * GetWorldContextFromHandleChecked(FName WorldContextHandle) { return NativeCall(this, "UEngine.GetWorldContextFromHandleChecked", WorldContextHandle); } + FWorldContext * GetWorldContextFromWorldChecked(UWorld * InWorld) { return NativeCall(this, "UEngine.GetWorldContextFromWorldChecked", InWorld); } void DestroyWorldContext(UWorld * InWorld) { NativeCall(this, "UEngine.DestroyWorldContext", InWorld); } void VerifyLoadMapWorldCleanup() { NativeCall(this, "UEngine.VerifyLoadMapWorldCleanup"); } + bool PrepareMapChange(FWorldContext * Context, TArray * LevelNames) { return NativeCall *>(this, "UEngine.PrepareMapChange", Context, LevelNames); } + void ConditionalCommitMapChange(FWorldContext * Context) { NativeCall(this, "UEngine.ConditionalCommitMapChange", Context); } + bool CommitMapChange(FWorldContext * Context) { return NativeCall(this, "UEngine.CommitMapChange", Context); } + FSeamlessTravelHandler * SeamlessTravelHandlerForWorld(UWorld * World) { return NativeCall(this, "UEngine.SeamlessTravelHandlerForWorld", World); } void CreateGameUserSettings() { NativeCall(this, "UEngine.CreateGameUserSettings"); } + UGameUserSettings * GetGameUserSettings() { return NativeCall(this, "UEngine.GetGameUserSettings"); } bool ShouldAbsorbAuthorityOnlyEvent() { return NativeCall(this, "UEngine.ShouldAbsorbAuthorityOnlyEvent"); } bool ShouldAbsorbCosmeticOnlyEvent() { return NativeCall(this, "UEngine.ShouldAbsorbCosmeticOnlyEvent"); } bool IsEngineStat(FString * InName) { return NativeCall(this, "UEngine.IsEngineStat", InName); } + void RenderEngineStats(UWorld * World, FViewport * Viewport, FCanvas * Canvas, int LHSX, int * InOutLHSY, int RHSX, int * InOutRHSY, FVector * ViewLocation, FRotator * ViewRotation) { NativeCall(this, "UEngine.RenderEngineStats", World, Viewport, Canvas, LHSX, InOutLHSY, RHSX, InOutRHSY, ViewLocation, ViewRotation); } + int RenderStatFPS(UWorld * World, FViewport * Viewport, FCanvas * Canvas, int X, int Y, FVector * ViewLocation, FRotator * ViewRotation) { return NativeCall(this, "UEngine.RenderStatFPS", World, Viewport, Canvas, X, Y, ViewLocation, ViewRotation); } + int RenderStatTexture(UWorld * World, FViewport * Viewport, FCanvas * Canvas, int X, int Y, FVector * ViewLocation, FRotator * ViewRotation) { return NativeCall(this, "UEngine.RenderStatTexture", World, Viewport, Canvas, X, Y, ViewLocation, ViewRotation); } + int RenderStatHitches(UWorld * World, FViewport * Viewport, FCanvas * Canvas, int X, int Y, FVector * ViewLocation, FRotator * ViewRotation) { return NativeCall(this, "UEngine.RenderStatHitches", World, Viewport, Canvas, X, Y, ViewLocation, ViewRotation); } + int RenderStatSummary(UWorld * World, FViewport * Viewport, FCanvas * Canvas, int X, int Y, FVector * ViewLocation, FRotator * ViewRotation) { return NativeCall(this, "UEngine.RenderStatSummary", World, Viewport, Canvas, X, Y, ViewLocation, ViewRotation); } + int RenderStatNamedEvents(UWorld * World, FViewport * Viewport, FCanvas * Canvas, int X, int Y, FVector * ViewLocation, FRotator * ViewRotation) { return NativeCall(this, "UEngine.RenderStatNamedEvents", World, Viewport, Canvas, X, Y, ViewLocation, ViewRotation); } + int RenderStatColorList(UWorld * World, FViewport * Viewport, FCanvas * Canvas, int X, int Y, FVector * ViewLocation, FRotator * ViewRotation) { return NativeCall(this, "UEngine.RenderStatColorList", World, Viewport, Canvas, X, Y, ViewLocation, ViewRotation); } + int RenderStatLevels(UWorld * World, FViewport * Viewport, FCanvas * Canvas, int X, int Y, FVector * ViewLocation, FRotator * ViewRotation) { return NativeCall(this, "UEngine.RenderStatLevels", World, Viewport, Canvas, X, Y, ViewLocation, ViewRotation); } + int RenderStatUnit(UWorld * World, FViewport * Viewport, FCanvas * Canvas, int X, int Y, FVector * ViewLocation, FRotator * ViewRotation) { return NativeCall(this, "UEngine.RenderStatUnit", World, Viewport, Canvas, X, Y, ViewLocation, ViewRotation); } + int RenderStatSounds(UWorld * World, FViewport * Viewport, FCanvas * Canvas, int X, int Y, FVector * ViewLocation, FRotator * ViewRotation) { return NativeCall(this, "UEngine.RenderStatSounds", World, Viewport, Canvas, X, Y, ViewLocation, ViewRotation); } + int RenderStatAI(UWorld * World, FViewport * Viewport, FCanvas * Canvas, int X, int Y, FVector * ViewLocation, FRotator * ViewRotation) { return NativeCall(this, "UEngine.RenderStatAI", World, Viewport, Canvas, X, Y, ViewLocation, ViewRotation); } }; -struct UPrimalGlobals : UObject +struct UPrimalGlobals { UPrimalGameData * PrimalGameDataField() { return *GetNativePointerField(this, "UPrimalGlobals.PrimalGameData"); } UPrimalGameData * PrimalGameDataOverrideField() { return *GetNativePointerField(this, "UPrimalGlobals.PrimalGameDataOverride"); } + TSubclassOf& GlobalGenericConfirmationDialogField() { return *GetNativePointerField*>(this, "UPrimalGlobals.GlobalGenericConfirmationDialog"); } bool& bAllowSingleplayerField() { return *GetNativePointerField(this, "UPrimalGlobals.bAllowSingleplayer"); } bool& bAllowNonDedicatedHostField() { return *GetNativePointerField(this, "UPrimalGlobals.bAllowNonDedicatedHost"); } TArray& UIOnlyShowMapFileNamesField() { return *GetNativePointerField*>(this, "UPrimalGlobals.UIOnlyShowMapFileNames"); } @@ -401,6 +479,7 @@ struct UPrimalGlobals : UObject FString& CreditStringField() { return *GetNativePointerField(this, "UPrimalGlobals.CreditString"); } bool& bGameMediaLoadedField() { return *GetNativePointerField(this, "UPrimalGlobals.bGameMediaLoaded"); } bool& bStartedAsyncLoadField() { return *GetNativePointerField(this, "UPrimalGlobals.bStartedAsyncLoad"); } + FStreamableManager& StreamableManagerField() { return *GetNativePointerField(this, "UPrimalGlobals.StreamableManager"); } // Functions @@ -409,8 +488,8 @@ struct UPrimalGlobals : UObject void FinishedLoadingGameMedia() { NativeCall(this, "UPrimalGlobals.FinishedLoadingGameMedia"); } void LoadNextTick(UWorld * ForWorld) { NativeCall(this, "UPrimalGlobals.LoadNextTick", ForWorld); } void OnConfirmationDialogClosed(bool bAccept) { NativeCall(this, "UPrimalGlobals.OnConfirmationDialogClosed", bAccept); } - //static ADayCycleManager * GetDayCycleManager(UWorld * World) { return NativeCall(nullptr, "UPrimalGlobals.GetDayCycleManager", World); } - //static ASOTFNotification * GetSOTFNotificationManager(UWorld * World) { return NativeCall(nullptr, "UPrimalGlobals.GetSOTFNotificationManager", World); } + static ADayCycleManager * GetDayCycleManager(UWorld * World) { return NativeCall(nullptr, "UPrimalGlobals.GetDayCycleManager", World); } + static ASOTFNotification * GetSOTFNotificationManager(UWorld * World) { return NativeCall(nullptr, "UPrimalGlobals.GetSOTFNotificationManager", World); } static void StaticRegisterNativesUPrimalGlobals() { NativeCall(nullptr, "UPrimalGlobals.StaticRegisterNativesUPrimalGlobals"); } }; @@ -640,7 +719,10 @@ struct AShooterGameMode : AGameMode float& AutoSavePeriodMinutesField() { return *GetNativePointerField(this, "AShooterGameMode.AutoSavePeriodMinutes"); } float& XPMultiplierField() { return *GetNativePointerField(this, "AShooterGameMode.XPMultiplier"); } FName& ActiveEventField() { return *GetNativePointerField(this, "AShooterGameMode.ActiveEvent"); } + TSubclassOf& ActiveEventTimedSpawnActorField() { return *GetNativePointerField*>(this, "AShooterGameMode.ActiveEventTimedSpawnActor"); } + bool& bTimedEventActorIsActiveField() { return *GetNativePointerField(this, "AShooterGameMode.bTimedEventActorIsActive"); } float& TribeNameChangeCooldownField() { return *GetNativePointerField(this, "AShooterGameMode.TribeNameChangeCooldown"); } + float& StructurePickupTimeAfterPlacementField() { return *GetNativePointerField(this, "AShooterGameMode.StructurePickupTimeAfterPlacement"); } bool& bAllowHideDamageSourceFromLogsField() { return *GetNativePointerField(this, "AShooterGameMode.bAllowHideDamageSourceFromLogs"); } float& KillXPMultiplierField() { return *GetNativePointerField(this, "AShooterGameMode.KillXPMultiplier"); } float& HarvestXPMultiplierField() { return *GetNativePointerField(this, "AShooterGameMode.HarvestXPMultiplier"); } @@ -700,17 +782,17 @@ struct AShooterGameMode : AGameMode TArray& LevelExperienceRampOverridesField() { return *GetNativePointerField*>(this, "AShooterGameMode.LevelExperienceRampOverrides"); } TArray& OverridePlayerLevelEngramPointsField() { return *GetNativePointerField*>(this, "AShooterGameMode.OverridePlayerLevelEngramPoints"); } TArray& ExcludeItemIndicesField() { return *GetNativePointerField*>(this, "AShooterGameMode.ExcludeItemIndices"); } - //TArray& OverrideEngramEntriesField() { return *GetNativePointerField*>(this, "AShooterGameMode.OverrideEngramEntries"); } - //TArray& OverrideNamedEngramEntriesField() { return *GetNativePointerField*>(this, "AShooterGameMode.OverrideNamedEngramEntries"); } + TArray& OverrideEngramEntriesField() { return *GetNativePointerField*>(this, "AShooterGameMode.OverrideEngramEntries"); } + TArray& OverrideNamedEngramEntriesField() { return *GetNativePointerField*>(this, "AShooterGameMode.OverrideNamedEngramEntries"); } TArray& EngramEntryAutoUnlocksField() { return *GetNativePointerField*>(this, "AShooterGameMode.EngramEntryAutoUnlocks"); } TArray& PreventDinoTameClassNamesField() { return *GetNativePointerField*>(this, "AShooterGameMode.PreventDinoTameClassNames"); } - //TArray& DinoSpawnWeightMultipliersField() { return *GetNativePointerField*>(this, "AShooterGameMode.DinoSpawnWeightMultipliers"); } - //TArray& DinoClassResistanceMultipliersField() { return *GetNativePointerField*>(this, "AShooterGameMode.DinoClassResistanceMultipliers"); } - //TArray& TamedDinoClassResistanceMultipliersField() { return *GetNativePointerField*>(this, "AShooterGameMode.TamedDinoClassResistanceMultipliers"); } - //TArray& DinoClassDamageMultipliersField() { return *GetNativePointerField*>(this, "AShooterGameMode.DinoClassDamageMultipliers"); } - //TArray& TamedDinoClassDamageMultipliersField() { return *GetNativePointerField*>(this, "AShooterGameMode.TamedDinoClassDamageMultipliers"); } - //TArray& HarvestResourceItemAmountClassMultipliersField() { return *GetNativePointerField*>(this, "AShooterGameMode.HarvestResourceItemAmountClassMultipliers"); } -// TArray& NPCReplacementsField() { return *GetNativePointerField*>(this, "AShooterGameMode.NPCReplacements"); } + TArray& DinoSpawnWeightMultipliersField() { return *GetNativePointerField*>(this, "AShooterGameMode.DinoSpawnWeightMultipliers"); } + TArray& DinoClassResistanceMultipliersField() { return *GetNativePointerField*>(this, "AShooterGameMode.DinoClassResistanceMultipliers"); } + TArray& TamedDinoClassResistanceMultipliersField() { return *GetNativePointerField*>(this, "AShooterGameMode.TamedDinoClassResistanceMultipliers"); } + TArray& DinoClassDamageMultipliersField() { return *GetNativePointerField*>(this, "AShooterGameMode.DinoClassDamageMultipliers"); } + TArray& TamedDinoClassDamageMultipliersField() { return *GetNativePointerField*>(this, "AShooterGameMode.TamedDinoClassDamageMultipliers"); } + TArray& HarvestResourceItemAmountClassMultipliersField() { return *GetNativePointerField*>(this, "AShooterGameMode.HarvestResourceItemAmountClassMultipliers"); } + TArray& NPCReplacementsField() { return *GetNativePointerField*>(this, "AShooterGameMode.NPCReplacements"); } float& PvPZoneStructureDamageMultiplierField() { return *GetNativePointerField(this, "AShooterGameMode.PvPZoneStructureDamageMultiplier"); } bool& bOnlyAllowSpecifiedEngramsField() { return *GetNativePointerField(this, "AShooterGameMode.bOnlyAllowSpecifiedEngrams"); } int& OverrideMaxExperiencePointsPlayerField() { return *GetNativePointerField(this, "AShooterGameMode.OverrideMaxExperiencePointsPlayer"); } @@ -808,7 +890,6 @@ struct AShooterGameMode : AGameMode bool& bOverideStructurePlatformPreventionField() { return *GetNativePointerField(this, "AShooterGameMode.bOverideStructurePlatformPrevention"); } bool& bAllowAnyoneBabyImprintCuddleField() { return *GetNativePointerField(this, "AShooterGameMode.bAllowAnyoneBabyImprintCuddle"); } bool& bDisableImprintDinoBuffField() { return *GetNativePointerField(this, "AShooterGameMode.bDisableImprintDinoBuff"); } - bool& bShowFloatingDamageTextField() { return *GetNativePointerField(this, "AShooterGameMode.bShowFloatingDamageText"); } bool& bOnlyDecayUnsnappedCoreStructuresField() { return *GetNativePointerField(this, "AShooterGameMode.bOnlyDecayUnsnappedCoreStructures"); } bool& bFastDecayUnsnappedCoreStructuresField() { return *GetNativePointerField(this, "AShooterGameMode.bFastDecayUnsnappedCoreStructures"); } bool& bDestroyUnconnectedWaterPipesField() { return *GetNativePointerField(this, "AShooterGameMode.bDestroyUnconnectedWaterPipes"); } @@ -816,12 +897,14 @@ struct AShooterGameMode : AGameMode bool& bNotifyAdminCommandsInChatField() { return *GetNativePointerField(this, "AShooterGameMode.bNotifyAdminCommandsInChat"); } bool& bRandomSupplyCratePointsField() { return *GetNativePointerField(this, "AShooterGameMode.bRandomSupplyCratePoints"); } float& PreventOfflinePvPIntervalField() { return *GetNativePointerField(this, "AShooterGameMode.PreventOfflinePvPInterval"); } - //TArray& OverrideItemCraftingCostsField() { return *GetNativePointerField*>(this, "AShooterGameMode.OverrideItemCraftingCosts"); } - //TArray& ConfigOverrideItemCraftingCostsField() { return *GetNativePointerField*>(this, "AShooterGameMode.ConfigOverrideItemCraftingCosts"); } - //TArray& ConfigOverrideSupplyCrateItemsField() { return *GetNativePointerField*>(this, "AShooterGameMode.ConfigOverrideSupplyCrateItems"); } - //TArray& ConfigOverrideNPCSpawnEntriesContainerField() { return *GetNativePointerField*>(this, "AShooterGameMode.ConfigOverrideNPCSpawnEntriesContainer"); } - //TArray& ConfigAddNPCSpawnEntriesContainerField() { return *GetNativePointerField*>(this, "AShooterGameMode.ConfigAddNPCSpawnEntriesContainer"); } - //TArray& ConfigSubtractNPCSpawnEntriesContainerField() { return *GetNativePointerField*>(this, "AShooterGameMode.ConfigSubtractNPCSpawnEntriesContainer"); } + bool& bShowFloatingDamageTextField() { return *GetNativePointerField(this, "AShooterGameMode.bShowFloatingDamageText"); } + TArray& OverrideItemCraftingCostsField() { return *GetNativePointerField*>(this, "AShooterGameMode.OverrideItemCraftingCosts"); } + TArray& ConfigOverrideItemCraftingCostsField() { return *GetNativePointerField*>(this, "AShooterGameMode.ConfigOverrideItemCraftingCosts"); } + TArray& ConfigOverrideItemMaxQuantityField() { return *GetNativePointerField*>(this, "AShooterGameMode.ConfigOverrideItemMaxQuantity"); } + TArray& ConfigOverrideSupplyCrateItemsField() { return *GetNativePointerField*>(this, "AShooterGameMode.ConfigOverrideSupplyCrateItems"); } + TArray& ConfigOverrideNPCSpawnEntriesContainerField() { return *GetNativePointerField*>(this, "AShooterGameMode.ConfigOverrideNPCSpawnEntriesContainer"); } + TArray& ConfigAddNPCSpawnEntriesContainerField() { return *GetNativePointerField*>(this, "AShooterGameMode.ConfigAddNPCSpawnEntriesContainer"); } + TArray& ConfigSubtractNPCSpawnEntriesContainerField() { return *GetNativePointerField*>(this, "AShooterGameMode.ConfigSubtractNPCSpawnEntriesContainer"); } float& BabyImprintingStatScaleMultiplierField() { return *GetNativePointerField(this, "AShooterGameMode.BabyImprintingStatScaleMultiplier"); } float& BabyCuddleIntervalMultiplierField() { return *GetNativePointerField(this, "AShooterGameMode.BabyCuddleIntervalMultiplier"); } float& BabyCuddleGracePeriodMultiplierField() { return *GetNativePointerField(this, "AShooterGameMode.BabyCuddleGracePeriodMultiplier"); } @@ -829,11 +912,11 @@ struct AShooterGameMode : AGameMode float& HairGrowthSpeedMultiplierField() { return *GetNativePointerField(this, "AShooterGameMode.HairGrowthSpeedMultiplier"); } bool& bPreventDiseasesField() { return *GetNativePointerField(this, "AShooterGameMode.bPreventDiseases"); } bool& bNonPermanentDiseasesField() { return *GetNativePointerField(this, "AShooterGameMode.bNonPermanentDiseases"); } - //UAllClustersInventory * AllClustersInventoryField() { return *GetNativePointerField(this, "AShooterGameMode.AllClustersInventory"); } int& SaveForceRespawnDinosVersionField() { return *GetNativePointerField(this, "AShooterGameMode.SaveForceRespawnDinosVersion"); } unsigned __int64& ServerIDField() { return *GetNativePointerField(this, "AShooterGameMode.ServerID"); } int& LoadForceRespawnDinosVersionField() { return *GetNativePointerField(this, "AShooterGameMode.LoadForceRespawnDinosVersion"); } bool& bIsLoadedServerField() { return *GetNativePointerField(this, "AShooterGameMode.bIsLoadedServer"); } + TMap >& TributePlayerTribeInfosField() { return *GetNativePointerField >*>(this, "AShooterGameMode.TributePlayerTribeInfos"); } TArray& SupportedSpawnRegionsField() { return *GetNativePointerField*>(this, "AShooterGameMode.SupportedSpawnRegions"); } bool& bServerUseDinoListField() { return *GetNativePointerField(this, "AShooterGameMode.bServerUseDinoList"); } float& MaxAllowedRespawnIntervalField() { return *GetNativePointerField(this, "AShooterGameMode.MaxAllowedRespawnInterval"); } @@ -855,6 +938,7 @@ struct AShooterGameMode : AGameMode bool& bForceUseInventoryAppendsField() { return *GetNativePointerField(this, "AShooterGameMode.bForceUseInventoryAppends"); } float& SupplyCrateLootQualityMultiplierField() { return *GetNativePointerField(this, "AShooterGameMode.SupplyCrateLootQualityMultiplier"); } float& FishingLootQualityMultiplierField() { return *GetNativePointerField(this, "AShooterGameMode.FishingLootQualityMultiplier"); } + float& ItemStackSizeMultiplierField() { return *GetNativePointerField(this, "AShooterGameMode.ItemStackSizeMultiplier"); } float& CraftingSkillBonusMultiplierField() { return *GetNativePointerField(this, "AShooterGameMode.CraftingSkillBonusMultiplier"); } bool& bAllowPlatformSaddleMultiFloorsField() { return *GetNativePointerField(this, "AShooterGameMode.bAllowPlatformSaddleMultiFloors"); } bool& bAllowUnlimitedRespecsField() { return *GetNativePointerField(this, "AShooterGameMode.bAllowUnlimitedRespecs"); } @@ -893,10 +977,13 @@ struct AShooterGameMode : AGameMode int& ChatLogFlushIntervalSecondsField() { return *GetNativePointerField(this, "AShooterGameMode.ChatLogFlushIntervalSeconds"); } int& ChatLogFileSplitIntervalSecondsField() { return *GetNativePointerField(this, "AShooterGameMode.ChatLogFileSplitIntervalSeconds"); } int& ChatLogMaxAgeInDaysField() { return *GetNativePointerField(this, "AShooterGameMode.ChatLogMaxAgeInDays"); } - //TArray>& ChatMessageBufferField() { return *GetNativePointerField>*>(this, "AShooterGameMode.ChatMessageBuffer"); } + TArray>& ChatMessageBufferField() { return *GetNativePointerField>*>(this, "AShooterGameMode.ChatMessageBuffer"); } FString& CurrentChatLogFilenameField() { return *GetNativePointerField(this, "AShooterGameMode.CurrentChatLogFilename"); } FDateTime& LastChatLogFlushTimeField() { return *GetNativePointerField(this, "AShooterGameMode.LastChatLogFlushTime"); } FDateTime& LastChatLogFileCreateTimeField() { return *GetNativePointerField(this, "AShooterGameMode.LastChatLogFileCreateTime"); } + bool& bDamageEventLoggingEnabledField() { return *GetNativePointerField(this, "AShooterGameMode.bDamageEventLoggingEnabled"); } + TArray>& DamageEventBufferField() { return *GetNativePointerField>*>(this, "AShooterGameMode.DamageEventBuffer"); } + FString& CurrentDamageEventLogFilenameField() { return *GetNativePointerField(this, "AShooterGameMode.CurrentDamageEventLogFilename"); } FName& UseStructurePreventionVolumeTagField() { return *GetNativePointerField(this, "AShooterGameMode.UseStructurePreventionVolumeTag"); } bool& bHasCovertedToStoreField() { return *GetNativePointerField(this, "AShooterGameMode.bHasCovertedToStore"); } bool& bAllowStoredDatasField() { return *GetNativePointerField(this, "AShooterGameMode.bAllowStoredDatas"); } @@ -1010,6 +1097,9 @@ struct AShooterGameMode : AGameMode void ListenServerClampPlayerLocations() { NativeCall(this, "AShooterGameMode.ListenServerClampPlayerLocations"); } FString * ValidateTribeName(FString * result, FString theTribeName) { return NativeCall(this, "AShooterGameMode.ValidateTribeName", result, theTribeName); } void AdjustDamage(AActor * Victim, float * Damage, FDamageEvent * DamageEvent, AController * EventInstigator, AActor * DamageCauser) { NativeCall(this, "AShooterGameMode.AdjustDamage", Victim, Damage, DamageEvent, EventInstigator, DamageCauser); } + void NotifyDamage(AActor * Victim, float DamageAmount, FDamageEvent * Event, AController * EventInstigator, AActor * DamageCauser) { NativeCall(this, "AShooterGameMode.NotifyDamage", Victim, DamageAmount, Event, EventInstigator, DamageCauser); } + void DamageEventLogFlush() { NativeCall(this, "AShooterGameMode.DamageEventLogFlush"); } + void SetDamageEventLoggingEnabled(bool bEnabled) { NativeCall(this, "AShooterGameMode.SetDamageEventLoggingEnabled", bEnabled); } void SetTimeOfDay(FString * timeString) { NativeCall(this, "AShooterGameMode.SetTimeOfDay", timeString); } void KickAllPlayersAndReload() { NativeCall(this, "AShooterGameMode.KickAllPlayersAndReload"); } bool PlayerCanRestart(APlayerController * Player) { return NativeCall(this, "AShooterGameMode.PlayerCanRestart", Player); } @@ -1047,6 +1137,7 @@ struct AShooterGameMode : AGameMode void SendAllCachedArkMetrics() { NativeCall(this, "AShooterGameMode.SendAllCachedArkMetrics"); } void HttpSendAllCachedArkMetricsRequestComplete(TSharedPtr HttpRequest, TSharedPtr HttpResponse, bool bSucceeded) { NativeCall, TSharedPtr, bool>(this, "AShooterGameMode.HttpSendAllCachedArkMetricsRequestComplete", HttpRequest, HttpResponse, bSucceeded); } FString * GetServerName(FString * result, bool bNumbersAndLettersOnly) { return NativeCall(this, "AShooterGameMode.GetServerName", result, bNumbersAndLettersOnly); } + void ChatLogAppend(AShooterPlayerController * SenderController, FChatMessage * Msg) { NativeCall(this, "AShooterGameMode.ChatLogAppend", SenderController, Msg); } void ChatLogFlush(bool bFinalize) { NativeCall(this, "AShooterGameMode.ChatLogFlush", bFinalize); } void ChatLogFlushOnTick() { NativeCall(this, "AShooterGameMode.ChatLogFlushOnTick"); } void BPPreSpawnedDino(APrimalDinoCharacter * theDino) { NativeCall(this, "AShooterGameMode.BPPreSpawnedDino", theDino); } @@ -1058,20 +1149,23 @@ struct ACustomGameMode : AShooterGameMode // Game Data + + struct UPrimalGameData : UObject { FString& ModNameField() { return *GetNativePointerField(this, "UPrimalGameData.ModName"); } FString& ModDescriptionField() { return *GetNativePointerField(this, "UPrimalGameData.ModDescription"); } - //FieldArray StatusValueDefinitionsField() { return { this, "UPrimalGameData.StatusValueDefinitions" }; } - //FieldArray StatusStateDefinitionsField() { return { this, "UPrimalGameData.StatusStateDefinitions" }; } - //FieldArray ItemStatDefinitionsField() { return { this, "UPrimalGameData.ItemStatDefinitions" }; } - //FieldArray ItemTypeDefinitionsField() { return { this, "UPrimalGameData.ItemTypeDefinitions" }; } - //FieldArray EquipmentTypeDefinitionsField() { return { this, "UPrimalGameData.EquipmentTypeDefinitions" }; } + FieldArray StatusValueDefinitionsField() { return { this, "UPrimalGameData.StatusValueDefinitions" }; } + FieldArray StatusStateDefinitionsField() { return { this, "UPrimalGameData.StatusStateDefinitions" }; } + FieldArray ItemStatDefinitionsField() { return { this, "UPrimalGameData.ItemStatDefinitions" }; } + FieldArray ItemTypeDefinitionsField() { return { this, "UPrimalGameData.ItemTypeDefinitions" }; } + FieldArray EquipmentTypeDefinitionsField() { return { this, "UPrimalGameData.EquipmentTypeDefinitions" }; } TArray>& MasterItemListField() { return *GetNativePointerField>*>(this, "UPrimalGameData.MasterItemList"); } -// TArray& ItemQualityDefinitionsField() { return *GetNativePointerField*>(this, "UPrimalGameData.ItemQualityDefinitions"); } + TArray& ItemQualityDefinitionsField() { return *GetNativePointerField*>(this, "UPrimalGameData.ItemQualityDefinitions"); } TArray>& EngramBlueprintClassesField() { return *GetNativePointerField>*>(this, "UPrimalGameData.EngramBlueprintClasses"); } TArray>& AdditionalEngramBlueprintClassesField() { return *GetNativePointerField>*>(this, "UPrimalGameData.AdditionalEngramBlueprintClasses"); } TArray>& RemoveEngramBlueprintClassesField() { return *GetNativePointerField>*>(this, "UPrimalGameData.RemoveEngramBlueprintClasses"); } + TArray& StatusValueModifierDescriptionsField() { return *GetNativePointerField*>(this, "UPrimalGameData.StatusValueModifierDescriptions"); } TArray& PlayerSpawnRegionsField() { return *GetNativePointerField*>(this, "UPrimalGameData.PlayerSpawnRegions"); } USoundBase * TutorialDisplaySoundField() { return *GetNativePointerField(this, "UPrimalGameData.TutorialDisplaySound"); } USoundBase * Sound_StartItemDragField() { return *GetNativePointerField(this, "UPrimalGameData.Sound_StartItemDrag"); } @@ -1110,13 +1204,21 @@ struct UPrimalGameData : UObject USoundBase * Sound_TribeWarEndField() { return *GetNativePointerField(this, "UPrimalGameData.Sound_TribeWarEnd"); } USoundBase * Sound_DropInventoryItemField() { return *GetNativePointerField(this, "UPrimalGameData.Sound_DropInventoryItem"); } USoundBase * Sound_RefillWaterContainerField() { return *GetNativePointerField(this, "UPrimalGameData.Sound_RefillWaterContainer"); } + TArray& CoreAppIDItemsField() { return *GetNativePointerField*>(this, "UPrimalGameData.CoreAppIDItems"); } + TArray& AppIDItemsField() { return *GetNativePointerField*>(this, "UPrimalGameData.AppIDItems"); } TArray EngramBlueprintEntriesField() { return *GetNativePointerField*>(this, "UPrimalGameData.EngramBlueprintEntries"); } + TArray ExplorerNoteEntriesObjectsField() { return *GetNativePointerField*>(this, "UPrimalGameData.ExplorerNoteEntriesObjects"); } + TArray HeadHairStylesEntriesObjectsField() { return *GetNativePointerField*>(this, "UPrimalGameData.HeadHairStylesEntriesObjects"); } + TArray FacialHairStylesEntriesObjectsField() { return *GetNativePointerField*>(this, "UPrimalGameData.FacialHairStylesEntriesObjects"); } + TSubclassOf& DefaultToolTipWidgetField() { return *GetNativePointerField*>(this, "UPrimalGameData.DefaultToolTipWidget"); } TSubclassOf& StarterNoteItemField() { return *GetNativePointerField*>(this, "UPrimalGameData.StarterNoteItem"); } TArray>& PrimaryResourcesField() { return *GetNativePointerField>*>(this, "UPrimalGameData.PrimaryResources"); } TSubclassOf& GenericDroppedItemTemplateField() { return *GetNativePointerField*>(this, "UPrimalGameData.GenericDroppedItemTemplate"); } UMaterialInterface * PostProcess_KnockoutBlurField() { return *GetNativePointerField(this, "UPrimalGameData.PostProcess_KnockoutBlur"); } TArray BuffPostProcessEffectsField() { return *GetNativePointerField*>(this, "UPrimalGameData.BuffPostProcessEffects"); } TArray AdditionalBuffPostProcessEffectsField() { return *GetNativePointerField*>(this, "UPrimalGameData.AdditionalBuffPostProcessEffects"); } + TSubclassOf& GenericDroppedItemTemplateLowQualityField() { return *GetNativePointerField*>(this, "UPrimalGameData.GenericDroppedItemTemplateLowQuality"); } + TArray& TutorialDefinitionsField() { return *GetNativePointerField*>(this, "UPrimalGameData.TutorialDefinitions"); } UTexture2D * UnknownIconField() { return *GetNativePointerField(this, "UPrimalGameData.UnknownIcon"); } UMaterialInterface * UnknownMaterialField() { return *GetNativePointerField(this, "UPrimalGameData.UnknownMaterial"); } UTexture2D * WhiteTextureField() { return *GetNativePointerField(this, "UPrimalGameData.WhiteTexture"); } @@ -1132,6 +1234,7 @@ struct UPrimalGameData : UObject float& GlobalSpecificArmorRatingMultiplierField() { return *GetNativePointerField(this, "UPrimalGameData.GlobalSpecificArmorRatingMultiplier"); } float& GlobalGeneralArmorRatingMultiplierField() { return *GetNativePointerField(this, "UPrimalGameData.GlobalGeneralArmorRatingMultiplier"); } float& EnemyFoundationPreventionRadiusField() { return *GetNativePointerField(this, "UPrimalGameData.EnemyFoundationPreventionRadius"); } + TArray& ColorDefinitionsField() { return *GetNativePointerField*>(this, "UPrimalGameData.ColorDefinitions"); } TArray ExtraResourcesField() { return *GetNativePointerField*>(this, "UPrimalGameData.ExtraResources"); } TArray BaseExtraResourcesField() { return *GetNativePointerField*>(this, "UPrimalGameData.BaseExtraResources"); } USoundBase * CombatMusicDayField() { return *GetNativePointerField(this, "UPrimalGameData.CombatMusicDay"); } @@ -1139,21 +1242,26 @@ struct UPrimalGameData : UObject USoundBase * CombatMusicDay_HeavyField() { return *GetNativePointerField(this, "UPrimalGameData.CombatMusicDay_Heavy"); } USoundBase * CombatMusicNight_HeavyField() { return *GetNativePointerField(this, "UPrimalGameData.CombatMusicNight_Heavy"); } USoundBase * LevelUpStingerSoundField() { return *GetNativePointerField(this, "UPrimalGameData.LevelUpStingerSound"); } + FieldArray PlayerCharacterGenderDefinitionsField() { return { this, "UPrimalGameData.PlayerCharacterGenderDefinitions" }; } TSubclassOf& DefaultGameModeField() { return *GetNativePointerField*>(this, "UPrimalGameData.DefaultGameMode"); } FieldArray LevelExperienceRampsField() { return { this, "UPrimalGameData.LevelExperienceRamps" }; } FieldArray SinglePlayerLevelExperienceRampsField() { return { this, "UPrimalGameData.SinglePlayerLevelExperienceRamps" }; } + TArray& NamedTeamDefinitionsField() { return *GetNativePointerField*>(this, "UPrimalGameData.NamedTeamDefinitions"); } TArray& PlayerLevelEngramPointsField() { return *GetNativePointerField*>(this, "UPrimalGameData.PlayerLevelEngramPoints"); } TArray& PlayerLevelEngramPointsSPField() { return *GetNativePointerField*>(this, "UPrimalGameData.PlayerLevelEngramPointsSP"); } TArray& PreventBuildStructureReasonStringsField() { return *GetNativePointerField*>(this, "UPrimalGameData.PreventBuildStructureReasonStrings"); } - //TArray& Remap_NPCField() { return *GetNativePointerField*>(this, "UPrimalGameData.Remap_NPC"); } - //TArray& Remap_SupplyCratesField() { return *GetNativePointerField*>(this, "UPrimalGameData.Remap_SupplyCrates"); } - //TArray& Remap_ResourceComponentsField() { return *GetNativePointerField*>(this, "UPrimalGameData.Remap_ResourceComponents"); } - //TArray& Remap_NPCSpawnEntriesField() { return *GetNativePointerField*>(this, "UPrimalGameData.Remap_NPCSpawnEntries"); } - //TArray& Remap_EngramsField() { return *GetNativePointerField*>(this, "UPrimalGameData.Remap_Engrams"); } - //TArray& Remap_ItemsField() { return *GetNativePointerField*>(this, "UPrimalGameData.Remap_Items"); } - //TArray& AdditionalStructureEngramsField() { return *GetNativePointerField*>(this, "UPrimalGameData.AdditionalStructureEngrams"); } + TArray& ExplorerNoteAchievementsField() { return *GetNativePointerField*>(this, "UPrimalGameData.ExplorerNoteAchievements"); } + TArray& Remap_NPCField() { return *GetNativePointerField*>(this, "UPrimalGameData.Remap_NPC"); } + TArray& Remap_SupplyCratesField() { return *GetNativePointerField*>(this, "UPrimalGameData.Remap_SupplyCrates"); } + TArray& Remap_ResourceComponentsField() { return *GetNativePointerField*>(this, "UPrimalGameData.Remap_ResourceComponents"); } + TArray& Remap_NPCSpawnEntriesField() { return *GetNativePointerField*>(this, "UPrimalGameData.Remap_NPCSpawnEntries"); } + TArray& Remap_EngramsField() { return *GetNativePointerField*>(this, "UPrimalGameData.Remap_Engrams"); } + TArray& Remap_ItemsField() { return *GetNativePointerField*>(this, "UPrimalGameData.Remap_Items"); } + TArray& AdditionalStructureEngramsField() { return *GetNativePointerField*>(this, "UPrimalGameData.AdditionalStructureEngrams"); } + TArray& AdditionalDefaultBuffsField() { return *GetNativePointerField*>(this, "UPrimalGameData.AdditionalDefaultBuffs"); } TSubclassOf& ActorToSpawnUponEnemyCoreStructureDeathField() { return *GetNativePointerField*>(this, "UPrimalGameData.ActorToSpawnUponEnemyCoreStructureDeath"); } TArray>& AdditionalStructuresToPlaceField() { return *GetNativePointerField>*>(this, "UPrimalGameData.AdditionalStructuresToPlace"); } + TArray>& MasterDyeListField() { return *GetNativePointerField>*>(this, "UPrimalGameData.MasterDyeList"); } TArray& MasterColorTableField() { return *GetNativePointerField*>(this, "UPrimalGameData.MasterColorTable"); } float& EnemyCoreStructureDeathActorRadiusBuildCheckField() { return *GetNativePointerField(this, "UPrimalGameData.EnemyCoreStructureDeathActorRadiusBuildCheck"); } TSubclassOf& DeathDestructionDepositInventoryClassField() { return *GetNativePointerField*>(this, "UPrimalGameData.DeathDestructionDepositInventoryClass"); } @@ -1167,6 +1275,7 @@ struct UPrimalGameData : UObject UTexture2D * GamepadFaceButtonBottomField() { return *GetNativePointerField(this, "UPrimalGameData.GamepadFaceButtonBottom"); } UTexture2D * GamepadFaceButtonLeftField() { return *GetNativePointerField(this, "UPrimalGameData.GamepadFaceButtonLeft"); } UTexture2D * GamepadFaceButtonRightField() { return *GetNativePointerField(this, "UPrimalGameData.GamepadFaceButtonRight"); } + TSubclassOf& FooterTemplateField() { return *GetNativePointerField*>(this, "UPrimalGameData.FooterTemplate"); } float& TribeXPSharePercentField() { return *GetNativePointerField(this, "UPrimalGameData.TribeXPSharePercent"); } int& OverrideServerPhysXSubstepsField() { return *GetNativePointerField(this, "UPrimalGameData.OverrideServerPhysXSubsteps"); } float& OverrideServerPhysXSubstepsDeltaTimeField() { return *GetNativePointerField(this, "UPrimalGameData.OverrideServerPhysXSubstepsDeltaTime"); } @@ -1176,10 +1285,14 @@ struct UPrimalGameData : UObject USoundBase * Sound_ItemFinishCraftingField() { return *GetNativePointerField(this, "UPrimalGameData.Sound_ItemFinishCrafting"); } USoundBase * Sound_ItemStartRepairingField() { return *GetNativePointerField(this, "UPrimalGameData.Sound_ItemStartRepairing"); } USoundBase * Sound_ItemFinishRepairingField() { return *GetNativePointerField(this, "UPrimalGameData.Sound_ItemFinishRepairing"); } + TSubclassOf& NotifClassField() { return *GetNativePointerField*>(this, "UPrimalGameData.NotifClass"); } + TSubclassOf& StructureDefaultOverlayToolTipWidgetField() { return *GetNativePointerField*>(this, "UPrimalGameData.StructureDefaultOverlayToolTipWidget"); } float& MinPaintDurationConsumptionField() { return *GetNativePointerField(this, "UPrimalGameData.MinPaintDurationConsumption"); } float& MaxPaintDurationConsumptionField() { return *GetNativePointerField(this, "UPrimalGameData.MaxPaintDurationConsumption"); } float& MinDinoRadiusForPaintConsumptionField() { return *GetNativePointerField(this, "UPrimalGameData.MinDinoRadiusForPaintConsumption"); } float& MaxDinoRadiusForPaintConsumptionField() { return *GetNativePointerField(this, "UPrimalGameData.MaxDinoRadiusForPaintConsumption"); } + TArray& DinoBabySetupsField() { return *GetNativePointerField*>(this, "UPrimalGameData.DinoBabySetups"); } + TArray& DinoGestationSetupsField() { return *GetNativePointerField*>(this, "UPrimalGameData.DinoGestationSetups"); } TSubclassOf& SoapItemTemplateField() { return *GetNativePointerField*>(this, "UPrimalGameData.SoapItemTemplate"); } UTexture2D * NameTagWildcardAdminField() { return *GetNativePointerField(this, "UPrimalGameData.NameTagWildcardAdmin"); } UTexture2D * NameTagServerAdminField() { return *GetNativePointerField(this, "UPrimalGameData.NameTagServerAdmin"); } @@ -1194,14 +1307,18 @@ struct UPrimalGameData : UObject FString& ItemAchievementsNameField() { return *GetNativePointerField(this, "UPrimalGameData.ItemAchievementsName"); } TArray>& ItemAchievementsListField() { return *GetNativePointerField>*>(this, "UPrimalGameData.ItemAchievementsList"); } TArray>& GlobalCuddleFoodListField() { return *GetNativePointerField>*>(this, "UPrimalGameData.GlobalCuddleFoodList"); } + TArray& MultiAchievementsField() { return *GetNativePointerField*>(this, "UPrimalGameData.MultiAchievements"); } USoundBase * DinoIncrementedImprintingSoundField() { return *GetNativePointerField(this, "UPrimalGameData.DinoIncrementedImprintingSound"); } USoundBase * HitMarkerCharacterSoundField() { return *GetNativePointerField(this, "UPrimalGameData.HitMarkerCharacterSound"); } USoundBase * HitMarkerStructureSoundField() { return *GetNativePointerField(this, "UPrimalGameData.HitMarkerStructureSound"); } + TArray& TheNPCSpawnEntriesContainerAdditionsField() { return *GetNativePointerField*>(this, "UPrimalGameData.TheNPCSpawnEntriesContainerAdditions"); } UMaterialInterface * PostProcess_ColorLUTField() { return *GetNativePointerField(this, "UPrimalGameData.PostProcess_ColorLUT"); } + TSubclassOf& DefaultStructureSettingsField() { return *GetNativePointerField*>(this, "UPrimalGameData.DefaultStructureSettings"); } USoundBase * Sound_DossierUnlockedField() { return *GetNativePointerField(this, "UPrimalGameData.Sound_DossierUnlocked"); } USoundBase * Sound_ItemUseOnItemField() { return *GetNativePointerField(this, "UPrimalGameData.Sound_ItemUseOnItem"); } USoundBase * Sound_RemoveItemSkinField() { return *GetNativePointerField(this, "UPrimalGameData.Sound_RemoveItemSkin"); } USoundBase * Sound_RemoveClipAmmoField() { return *GetNativePointerField(this, "UPrimalGameData.Sound_RemoveClipAmmo"); } + TArray& ExplorerNoteEntriesField() { return *GetNativePointerField*>(this, "UPrimalGameData.ExplorerNoteEntries"); } float& ExplorerNoteXPGainField() { return *GetNativePointerField(this, "UPrimalGameData.ExplorerNoteXPGain"); } FieldArray BuffTypeBackgroundsField() { return { this, "UPrimalGameData.BuffTypeBackgrounds" }; } FieldArray BuffTypeForegroundsField() { return { this, "UPrimalGameData.BuffTypeForegrounds" }; } @@ -1210,11 +1327,22 @@ struct UPrimalGameData : UObject UTexture2D * PerMapExplorerNoteLockedIconField() { return *GetNativePointerField(this, "UPrimalGameData.PerMapExplorerNoteLockedIcon"); } UTexture2D * TamedDinoUnlockedIconField() { return *GetNativePointerField(this, "UPrimalGameData.TamedDinoUnlockedIcon"); } UTexture2D * TamedDinoLockedIconField() { return *GetNativePointerField(this, "UPrimalGameData.TamedDinoLockedIcon"); } + TArray& UnlockableEmotesField() { return *GetNativePointerField*>(this, "UPrimalGameData.UnlockableEmotes"); } + TArray& GlobalNPCRandomSpawnClassWeightsField() { return *GetNativePointerField*>(this, "UPrimalGameData.GlobalNPCRandomSpawnClassWeights"); } UTexture2D * DinoOrderIconField() { return *GetNativePointerField(this, "UPrimalGameData.DinoOrderIcon"); } + TArray& AdditionalHumanMaleAnimSequenceOverridesField() { return *GetNativePointerField*>(this, "UPrimalGameData.AdditionalHumanMaleAnimSequenceOverrides"); } + TArray& AdditionalHumanFemaleAnimSequenceOverridesField() { return *GetNativePointerField*>(this, "UPrimalGameData.AdditionalHumanFemaleAnimSequenceOverrides"); } + TArray& AdditionalHumanMaleAnimMontagesOverridesField() { return *GetNativePointerField*>(this, "UPrimalGameData.AdditionalHumanMaleAnimMontagesOverrides"); } + TArray& AdditionalHumanFemaleAnimMontagesOverridesField() { return *GetNativePointerField*>(this, "UPrimalGameData.AdditionalHumanFemaleAnimMontagesOverrides"); } TArray>& ServerExtraWorldSingletonActorClassesField() { return *GetNativePointerField>*>(this, "UPrimalGameData.ServerExtraWorldSingletonActorClasses"); } bool& bForceServerUseDinoListField() { return *GetNativePointerField(this, "UPrimalGameData.bForceServerUseDinoList"); } TArray>& ExtraStackedGameDataClassesField() { return *GetNativePointerField>*>(this, "UPrimalGameData.ExtraStackedGameDataClasses"); } + TArray& HeadHairStyleDefinitionsField() { return *GetNativePointerField*>(this, "UPrimalGameData.HeadHairStyleDefinitions"); } + TArray& FacialHairStyleDefinitionsField() { return *GetNativePointerField*>(this, "UPrimalGameData.FacialHairStyleDefinitions"); } + TArray& AdditionalHeadHairStyleDefinitionsField() { return *GetNativePointerField*>(this, "UPrimalGameData.AdditionalHeadHairStyleDefinitions"); } + TArray& AdditionalFacialHairStyleDefinitionsField() { return *GetNativePointerField*>(this, "UPrimalGameData.AdditionalFacialHairStyleDefinitions"); } TSubclassOf& ExtraEggItemField() { return *GetNativePointerField*>(this, "UPrimalGameData.ExtraEggItem"); } + TSubclassOf& EventValentineDropField() { return *GetNativePointerField*>(this, "UPrimalGameData.EventValentineDrop"); } USoundBase * GenericWaterPostprocessAmbientSoundField() { return *GetNativePointerField(this, "UPrimalGameData.GenericWaterPostprocessAmbientSound"); } TSubclassOf& OverridePlayerDataClassField() { return *GetNativePointerField*>(this, "UPrimalGameData.OverridePlayerDataClass"); } TArray& AllDinosAchievementNameTagsField() { return *GetNativePointerField*>(this, "UPrimalGameData.AllDinosAchievementNameTags"); } @@ -1242,10 +1370,12 @@ struct UPrimalGameData : UObject USoundBase * GetGenericCombatMusic_Implementation(APrimalCharacter * forCharacter, APrimalCharacter * forEnemy) { return NativeCall(this, "UPrimalGameData.GetGenericCombatMusic_Implementation", forCharacter, forEnemy); } FLevelExperienceRamp * GetLevelExperienceRamp(ELevelExperienceRampType::Type levelType) { return NativeCall(this, "UPrimalGameData.GetLevelExperienceRamp", levelType); } TArray * GetPlayerLevelEngramPoints() { return NativeCall *>(this, "UPrimalGameData.GetPlayerLevelEngramPoints"); } - //static TSubclassOf * GetRemappedClass(TSubclassOf * result, TArray * RemappedClasses, TSubclassOf ForClass) { return NativeCall *, TSubclassOf *, TArray *, TSubclassOf>(nullptr, "UPrimalGameData.GetRemappedClass", result, RemappedClasses, ForClass); } + static TSubclassOf * GetRemappedClass(TSubclassOf * result, TArray * RemappedClasses, TSubclassOf ForClass) { return NativeCall *, TSubclassOf *, TArray *, TSubclassOf>(nullptr, "UPrimalGameData.GetRemappedClass", result, RemappedClasses, ForClass); } + static void GetClassAdditions(TArray> * TheClassAdditions, TArray * ClassAdditions, TSubclassOf ForClass) { NativeCall> *, TArray *, TSubclassOf>(nullptr, "UPrimalGameData.GetClassAdditions", TheClassAdditions, ClassAdditions, ForClass); } TArray * GetPlayerSpawnRegions(UWorld * ForWorld) { return NativeCall *, UWorld *>(this, "UPrimalGameData.GetPlayerSpawnRegions", ForWorld); } bool MergeModData(UPrimalGameData * InMergeCanidate) { return NativeCall(this, "UPrimalGameData.MergeModData", InMergeCanidate); } TArray * GetGlobalColorTable(TArray * result) { return NativeCall *, TArray *>(this, "UPrimalGameData.GetGlobalColorTable", result); } + FDinoBabySetup * GetDinoBabySetup(FName DinoNameTag) { return NativeCall(this, "UPrimalGameData.GetDinoBabySetup", DinoNameTag); } static bool LocalIsPerMapExplorerNoteUnlocked(int ExplorerNoteIndex) { return NativeCall(nullptr, "UPrimalGameData.LocalIsPerMapExplorerNoteUnlocked", ExplorerNoteIndex); } bool LocalIsTamedDinoTagUnlocked(FName DinoNameTag) { return NativeCall(this, "UPrimalGameData.LocalIsTamedDinoTagUnlocked", DinoNameTag); } static bool LocalIsGlobalExplorerNoteUnlocked(int ExplorerNoteIndex) { return NativeCall(nullptr, "UPrimalGameData.LocalIsGlobalExplorerNoteUnlocked", ExplorerNoteIndex); } @@ -1260,41 +1390,3 @@ struct UGameInstance : UObject //, FExec TArray LocalPlayers; FString PIEMapName;*/ }; - -struct UShooterGameInstance : UGameInstance -{ - /*FName CurrentState; - bool bCanUseUserGeneratedContent; - bool bHasCommunicationPrivilige; - TBaseDelegate_ThreeParams OnGetUserCommunicationPrivilegeCompleteDelegate; - FString WelcomeScreenMap; - FString MainMenuMap; - FName PendingState; - FShooterPendingMessage PendingMessage; - FShooterPendingInvite PendingInvite; - FString TravelURL; - bool bIsOnline; - bool bPendingEnableSplitscreen; - bool bIsLicensed; - int IgnorePairingChangeForControllerId; - EOnlineServerConnectionStatus::Type CurrentConnectionStatus; - TBaseDelegate_RetVal_OneParam TickDelegate; - TBaseDelegate_TwoParams OnEndSessionCompleteDelegate; - TWeakObjectPtr RagdollKinematicActor; - TWeakObjectPtr DayCycleManager; - TWeakObjectPtr SOTFNotificationManager; - int bOnReturnToMainMenuNotification; - FString OnReturnToMainMenuNotificationMessage; - FString OnReturnToMainMenuNotificationTitle; - FString GlobalMainMenuMessage; - FString GlobalMainMenuTitle; - TBaseDelegate_OneParam GlobalMainMenuDialogDelegate; - bool bHasReceivedNewsMessage; - bool bHasOfficialStatusMessage; - FString NewsMessage; - FString OfficialStatusMessage; - FWindowsCriticalSection TerrainGenerationMutex; - FString TerrainGenerationProgressBarMsg; - float SecondsSpentGeneratingTerrain; - bool TerrainIsGenerating;*/ -}; diff --git a/version/Core/Public/API/ARK/GameState.h b/version/Core/Public/API/ARK/GameState.h index fee00f2..e4a5f64 100644 --- a/version/Core/Public/API/ARK/GameState.h +++ b/version/Core/Public/API/ARK/GameState.h @@ -1,5 +1,7 @@ #pragma once +#include "API/Base.h" + struct AGameState { TSubclassOf& GameModeClassField() { return *GetNativePointerField*>(this, "AGameState.GameModeClass"); } @@ -111,7 +113,8 @@ struct AShooterGameState : AGameState FName& ActiveEventField() { return *GetNativePointerField(this, "AShooterGameState.ActiveEvent"); } bool& bAllowPaintingWithoutResourcesField() { return *GetNativePointerField(this, "AShooterGameState.bAllowPaintingWithoutResources"); } bool& bEnableExtraStructurePreventionVolumesField() { return *GetNativePointerField(this, "AShooterGameState.bEnableExtraStructurePreventionVolumes"); } - //TArray& OverrideItemCraftingCostsField() { return *GetNativePointerField*>(this, "AShooterGameState.OverrideItemCraftingCosts"); } + TArray& OverrideItemCraftingCostsField() { return *GetNativePointerField*>(this, "AShooterGameState.OverrideItemCraftingCosts"); } + TArray& OverrideItemMaxQuantityField() { return *GetNativePointerField*>(this, "AShooterGameState.OverrideItemMaxQuantity"); } long double& LastServerSaveTimeField() { return *GetNativePointerField(this, "AShooterGameState.LastServerSaveTime"); } float& ServerSaveIntervalField() { return *GetNativePointerField(this, "AShooterGameState.ServerSaveInterval"); } float& TribeNameChangeCooldownField() { return *GetNativePointerField(this, "AShooterGameState.TribeNameChangeCooldown"); } @@ -123,11 +126,12 @@ struct AShooterGameState : AGameState bool& bPlayingDynamicMusic2Field() { return *GetNativePointerField(this, "AShooterGameState.bPlayingDynamicMusic2"); } float& LastHadMusicTimeField() { return *GetNativePointerField(this, "AShooterGameState.LastHadMusicTime"); } TArray& LevelExperienceRampOverridesField() { return *GetNativePointerField*>(this, "AShooterGameState.LevelExperienceRampOverrides"); } - //TArray& OverrideEngramEntriesField() { return *GetNativePointerField*>(this, "AShooterGameState.OverrideEngramEntries"); } + TArray& OverrideEngramEntriesField() { return *GetNativePointerField*>(this, "AShooterGameState.OverrideEngramEntries"); } TArray& PreventDinoTameClassNamesField() { return *GetNativePointerField*>(this, "AShooterGameState.PreventDinoTameClassNames"); } float& ListenServerTetherDistanceMultiplierField() { return *GetNativePointerField(this, "AShooterGameState.ListenServerTetherDistanceMultiplier"); } FString& PGMapNameField() { return *GetNativePointerField(this, "AShooterGameState.PGMapName"); } TArray& SupportedSpawnRegionsField() { return *GetNativePointerField*>(this, "AShooterGameState.SupportedSpawnRegions"); } + UPaintingCache * PaintingCacheField() { return *GetNativePointerField(this, "AShooterGameState.PaintingCache"); } USoundBase * StaticOverrideMusicField() { return *GetNativePointerField(this, "AShooterGameState.StaticOverrideMusic"); } bool& bEnableDeathTeamSpectatorField() { return *GetNativePointerField(this, "AShooterGameState.bEnableDeathTeamSpectator"); } FVector& PlayerFloatingHUDOffsetField() { return *GetNativePointerField(this, "AShooterGameState.PlayerFloatingHUDOffset"); } @@ -148,11 +152,13 @@ struct AShooterGameState : AGameState float& ExtinctionEventPercentField() { return *GetNativePointerField(this, "AShooterGameState.ExtinctionEventPercent"); } int& ExtinctionEventSecondsRemainingField() { return *GetNativePointerField(this, "AShooterGameState.ExtinctionEventSecondsRemaining"); } bool& bDoExtinctionEventField() { return *GetNativePointerField(this, "AShooterGameState.bDoExtinctionEvent"); } + TArray& InventoryComponentAppendsField() { return *GetNativePointerField*>(this, "AShooterGameState.InventoryComponentAppends"); } bool& bPreventOfflinePvPField() { return *GetNativePointerField(this, "AShooterGameState.bPreventOfflinePvP"); } bool& bPvPDinoDecayField() { return *GetNativePointerField(this, "AShooterGameState.bPvPDinoDecay"); } bool& bAllowUnclaimDinosConfigField() { return *GetNativePointerField(this, "AShooterGameState.bAllowUnclaimDinosConfig"); } bool& bForceUseInventoryAppendsField() { return *GetNativePointerField(this, "AShooterGameState.bForceUseInventoryAppends"); } bool& bOverideStructurePlatformPreventionField() { return *GetNativePointerField(this, "AShooterGameState.bOverideStructurePlatformPrevention"); } + float& ItemStackSizeMultiplierField() { return *GetNativePointerField(this, "AShooterGameState.ItemStackSizeMultiplier"); } TArray& PreventOfflinePvPLiveTeamsField() { return *GetNativePointerField*>(this, "AShooterGameState.PreventOfflinePvPLiveTeams"); } TArray& PreventOfflinePvPExpiringTeamsField() { return *GetNativePointerField*>(this, "AShooterGameState.PreventOfflinePvPExpiringTeams"); } TArray& PreventOfflinePvPExpiringTimesField() { return *GetNativePointerField*>(this, "AShooterGameState.PreventOfflinePvPExpiringTimes"); } @@ -161,7 +167,7 @@ struct AShooterGameState : AGameState bool& bAllowAnyoneBabyImprintCuddleField() { return *GetNativePointerField(this, "AShooterGameState.bAllowAnyoneBabyImprintCuddle"); } bool& bDisableImprintDinoBuffField() { return *GetNativePointerField(this, "AShooterGameState.bDisableImprintDinoBuff"); } int& MaxPersonalTamedDinosField() { return *GetNativePointerField(this, "AShooterGameState.MaxPersonalTamedDinos"); } - //TArray& FloatingTextEntriesField() { return *GetNativePointerField*>(this, "AShooterGameState.FloatingTextEntries"); } + TArray& FloatingTextEntriesField() { return *GetNativePointerField*>(this, "AShooterGameState.FloatingTextEntries"); } bool& bIsCustomMapField() { return *GetNativePointerField(this, "AShooterGameState.bIsCustomMap"); } bool& bIsClientField() { return *GetNativePointerField(this, "AShooterGameState.bIsClient"); } bool& bIsDedicatedServerField() { return *GetNativePointerField(this, "AShooterGameState.bIsDedicatedServer"); } @@ -181,6 +187,8 @@ struct AShooterGameState : AGameState float& HairGrowthSpeedMultiplierField() { return *GetNativePointerField(this, "AShooterGameState.HairGrowthSpeedMultiplier"); } float& FastDecayIntervalField() { return *GetNativePointerField(this, "AShooterGameState.FastDecayInterval"); } float& OxygenSwimSpeedStatMultiplierField() { return *GetNativePointerField(this, "AShooterGameState.OxygenSwimSpeedStatMultiplier"); } + FOnHTTPGetProcessed& OnHTTPGetResponseField() { return *GetNativePointerField(this, "AShooterGameState.OnHTTPGetResponse"); } + FOnHTTPPostResponse& OnHTTPPostResponseField() { return *GetNativePointerField(this, "AShooterGameState.OnHTTPPostResponse"); } bool& bAllowMultipleAttachedC4Field() { return *GetNativePointerField(this, "AShooterGameState.bAllowMultipleAttachedC4"); } bool& bCrossARKAllowForeignDinoDownloadsField() { return *GetNativePointerField(this, "AShooterGameState.bCrossARKAllowForeignDinoDownloads"); } long double& LastPlayedDynamicMusic1Field() { return *GetNativePointerField(this, "AShooterGameState.LastPlayedDynamicMusic1"); } @@ -203,7 +211,7 @@ struct AShooterGameState : AGameState int& LimitTurretsNumField() { return *GetNativePointerField(this, "AShooterGameState.LimitTurretsNum"); } bool& bForceAllowAllStructuresField() { return *GetNativePointerField(this, "AShooterGameState.bForceAllowAllStructures"); } bool& bShowCreativeModeField() { return *GetNativePointerField(this, "AShooterGameState.bShowCreativeMode"); } - //TArray& PlayerLocatorEffectMapsField() { return *GetNativePointerField*>(this, "AShooterGameState.PlayerLocatorEffectMaps"); } + TArray& PlayerLocatorEffectMapsField() { return *GetNativePointerField*>(this, "AShooterGameState.PlayerLocatorEffectMaps"); } int& AmbientSoundCheckIncrementField() { return *GetNativePointerField(this, "AShooterGameState.AmbientSoundCheckIncrement"); } float& PreventOfflinePvPConnectionInvincibleIntervalField() { return *GetNativePointerField(this, "AShooterGameState.PreventOfflinePvPConnectionInvincibleInterval"); } float& PassiveTameIntervalMultiplierField() { return *GetNativePointerField(this, "AShooterGameState.PassiveTameIntervalMultiplier"); } @@ -217,6 +225,7 @@ struct AShooterGameState : AGameState static APrimalBuff * BaseSpawnBuffAndAttachToCharacter(UClass * Buff, APrimalCharacter * PrimalCharacter, float ExperiencePoints) { return NativeCall(nullptr, "AShooterGameState.BaseSpawnBuffAndAttachToCharacter", Buff, PrimalCharacter, ExperiencePoints); } void Destroyed() { NativeCall(this, "AShooterGameState.Destroyed"); } void GetLifetimeReplicatedProps(TArray * OutLifetimeProps) { NativeCall *>(this, "AShooterGameState.GetLifetimeReplicatedProps", OutLifetimeProps); } + bool GetItemMaxQuantityOverride(TSubclassOf ForClass, FMaxItemQuantityOverride * OutMaxQuantity) { return NativeCall, FMaxItemQuantityOverride *>(this, "AShooterGameState.GetItemMaxQuantityOverride", ForClass, OutMaxQuantity); } void OnRep_SupportedSpawnRegions() { NativeCall(this, "AShooterGameState.OnRep_SupportedSpawnRegions"); } void OnRep_ReplicateLocalizedChatRadius() { NativeCall(this, "AShooterGameState.OnRep_ReplicateLocalizedChatRadius"); } void Tick(float DeltaSeconds) { NativeCall(this, "AShooterGameState.Tick", DeltaSeconds); } @@ -289,10 +298,15 @@ struct AGameSession void UpdateSessionJoinability(FName InSessionName, bool bPublicSearchable, bool bAllowInvites, bool bJoinViaPresence, bool bJoinViaPresenceFriendsOnly) { NativeCall(this, "AGameSession.UpdateSessionJoinability", InSessionName, bPublicSearchable, bAllowInvites, bJoinViaPresence, bJoinViaPresenceFriendsOnly); } }; -struct AShooterGameSession : AGameSession +struct AShooterGameSession { + TArray& CachedModsField() { return *GetNativePointerField*>(this, "AShooterGameSession.CachedMods"); } + TArray& ThreadSafeSearchResultsField() { return *GetNativePointerField*>(this, "AShooterGameSession.ThreadSafeSearchResults"); } TArray FailedAuthTokenClientConnectionsField() { return *GetNativePointerField*>(this, "AShooterGameSession.FailedAuthTokenClientConnections"); } TArray& FailedAuthTokenClientUniqueIDsField() { return *GetNativePointerField*>(this, "AShooterGameSession.FailedAuthTokenClientUniqueIDs"); } + FShooterGameSessionParams& CurrentSessionParamsField() { return *GetNativePointerField(this, "AShooterGameSession.CurrentSessionParams"); } + TSharedPtr& HostSettingsField() { return *GetNativePointerField*>(this, "AShooterGameSession.HostSettings"); } + TSharedPtr& SearchSettingsField() { return *GetNativePointerField*>(this, "AShooterGameSession.SearchSettings"); } bool& bFoundSessionField() { return *GetNativePointerField(this, "AShooterGameSession.bFoundSession"); } // Functions @@ -314,6 +328,7 @@ struct AShooterGameSession : AGameSession void OnFoundSession() { NativeCall(this, "AShooterGameSession.OnFoundSession"); } void CancelFindSessions() { NativeCall(this, "AShooterGameSession.CancelFindSessions"); } bool JoinSession(TSharedPtr UserId, FName SessionName, int SessionIndexInSearchResults) { return NativeCall, FName, int>(this, "AShooterGameSession.JoinSession", UserId, SessionName, SessionIndexInSearchResults); } + bool JoinSession(TSharedPtr UserId, FName SessionName, FOnlineSessionSearchResult * SearchResult) { return NativeCall, FName, FOnlineSessionSearchResult *>(this, "AShooterGameSession.JoinSession", UserId, SessionName, SearchResult); } bool TravelToSession(int ControllerId, FName SessionName) { return NativeCall(this, "AShooterGameSession.TravelToSession", ControllerId, SessionName); } void Restart() { NativeCall(this, "AShooterGameSession.Restart"); } }; diff --git a/version/Core/Public/API/ARK/Inventory.h b/version/Core/Public/API/ARK/Inventory.h index 788d023..a03a650 100644 --- a/version/Core/Public/API/ARK/Inventory.h +++ b/version/Core/Public/API/ARK/Inventory.h @@ -195,7 +195,7 @@ struct UPrimalInventoryComponent : UActorComponent TSubclassOf& EngramRequirementClassOverrideField() { return *GetNativePointerField*>(this, "UPrimalInventoryComponent.EngramRequirementClassOverride"); } TArray>& RemoteAddItemOnlyAllowItemClassesField() { return *GetNativePointerField>*>(this, "UPrimalInventoryComponent.RemoteAddItemOnlyAllowItemClasses"); } TArray>& RemoteAddItemPreventItemClassesField() { return *GetNativePointerField>*>(this, "UPrimalInventoryComponent.RemoteAddItemPreventItemClasses"); } - //TArray& EventItemsField() { return *GetNativePointerField*>(this, "UPrimalInventoryComponent.EventItems"); } + TArray& EventItemsField() { return *GetNativePointerField*>(this, "UPrimalInventoryComponent.EventItems"); } TArray>& DefaultInventoryItemsField() { return *GetNativePointerField>*>(this, "UPrimalInventoryComponent.DefaultInventoryItems"); } TArray>& DefaultInventoryItems2Field() { return *GetNativePointerField>*>(this, "UPrimalInventoryComponent.DefaultInventoryItems2"); } TArray>& DefaultInventoryItems3Field() { return *GetNativePointerField>*>(this, "UPrimalInventoryComponent.DefaultInventoryItems3"); } @@ -294,6 +294,7 @@ struct UPrimalInventoryComponent : UActorComponent BitFieldValue bEquipmentForceIgnoreExplicitOwnerClass() { return { this, "UPrimalInventoryComponent.bEquipmentForceIgnoreExplicitOwnerClass" }; } BitFieldValue bUseBPInventoryRefresh() { return { this, "UPrimalInventoryComponent.bUseBPInventoryRefresh" }; } BitFieldValue bUseBPInitializeInventory() { return { this, "UPrimalInventoryComponent.bUseBPInitializeInventory" }; } + BitFieldValue bHideSaddleFromInventoryDisplay() { return { this, "UPrimalInventoryComponent.bHideSaddleFromInventoryDisplay" }; } BitFieldValue bCraftingEnabled() { return { this, "UPrimalInventoryComponent.bCraftingEnabled" }; } BitFieldValue bRepairingEnabled() { return { this, "UPrimalInventoryComponent.bRepairingEnabled" }; } BitFieldValue bReplicateComponent() { return { this, "UPrimalInventoryComponent.bReplicateComponent" }; } @@ -311,6 +312,7 @@ struct UPrimalInventoryComponent : UActorComponent BitFieldValue bShowItemDefaultFolders() { return { this, "UPrimalInventoryComponent.bShowItemDefaultFolders" }; } BitFieldValue bDisableDropAllItems() { return { this, "UPrimalInventoryComponent.bDisableDropAllItems" }; } BitFieldValue bIgnoreMaxInventoryItems() { return { this, "UPrimalInventoryComponent.bIgnoreMaxInventoryItems" }; } + BitFieldValue bIsSecondaryInventory() { return { this, "UPrimalInventoryComponent.bIsSecondaryInventory" }; } BitFieldValue bRemoteOnlyAllowBlueprintsOrItemClasses() { return { this, "UPrimalInventoryComponent.bRemoteOnlyAllowBlueprintsOrItemClasses" }; } BitFieldValue bPreventSendingData() { return { this, "UPrimalInventoryComponent.bPreventSendingData" }; } BitFieldValue bSupressInventoryItemNetworking() { return { this, "UPrimalInventoryComponent.bSupressInventoryItemNetworking" }; } @@ -335,6 +337,7 @@ struct UPrimalInventoryComponent : UActorComponent BitFieldValue bOverrideInventoryDepositClassDontForceDrop() { return { this, "UPrimalInventoryComponent.bOverrideInventoryDepositClassDontForceDrop" }; } BitFieldValue bUseBPIsCraftingAllowed() { return { this, "UPrimalInventoryComponent.bUseBPIsCraftingAllowed" }; } BitFieldValue bUseBPRemoteInventoryAllowCrafting() { return { this, "UPrimalInventoryComponent.bUseBPRemoteInventoryAllowCrafting" }; } + BitFieldValue bNotifyAddedOnClientReceive() { return { this, "UPrimalInventoryComponent.bNotifyAddedOnClientReceive" }; } BitFieldValue bSetsRandomWithoutReplacement() { return { this, "UPrimalInventoryComponent.bSetsRandomWithoutReplacement" }; } BitFieldValue bForceAllowAllUseInInventory() { return { this, "UPrimalInventoryComponent.bForceAllowAllUseInInventory" }; } BitFieldValue bUseBPIsValidCraftingResource() { return { this, "UPrimalInventoryComponent.bUseBPIsValidCraftingResource" }; } @@ -361,7 +364,7 @@ struct UPrimalInventoryComponent : UActorComponent void RemoveItemSpoilingTimer(UPrimalItem * theItem) { NativeCall(this, "UPrimalInventoryComponent.RemoveItemSpoilingTimer", theItem); } bool LoadAdditionalStructureEngrams() { return NativeCall(this, "UPrimalInventoryComponent.LoadAdditionalStructureEngrams"); } bool RemoveItem(FItemNetID * itemID, bool bDoDrop, bool bSecondryAction, bool bForceRemoval, bool showHUDMessage) { return NativeCall(this, "UPrimalInventoryComponent.RemoveItem", itemID, bDoDrop, bSecondryAction, bForceRemoval, showHUDMessage); } - ADroppedItem * EjectItem(FItemNetID * itemID, bool bPreventImpule, bool bForceEject, bool bSetItemLocation, FVector * LocationOverride, bool showHUDMessage, TSubclassOf TheDroppedTemplateOverride) { return NativeCall>(this, "UPrimalInventoryComponent.EjectItem", itemID, bPreventImpule, bForceEject, bSetItemLocation, LocationOverride, showHUDMessage, TheDroppedTemplateOverride); } + ADroppedItem * EjectItem(FItemNetID * itemID, bool bPreventImpule, bool bForceEject, bool bSetItemLocation, FVector * LocationOverride, bool showHUDMessage, TSubclassOf TheDroppedTemplateOverride, bool bAssignToTribeForPickup, int AssignedTribeID) { return NativeCall, bool, int>(this, "UPrimalInventoryComponent.EjectItem", itemID, bPreventImpule, bForceEject, bSetItemLocation, LocationOverride, showHUDMessage, TheDroppedTemplateOverride, bAssignToTribeForPickup, AssignedTribeID); } bool ServerEquipItem(FItemNetID * itemID) { return NativeCall(this, "UPrimalInventoryComponent.ServerEquipItem", itemID); } void DropItem(FItemNetInfo * theInfo, bool bOverrideSpawnTransform, FVector * LocationOverride, FRotator * RotationOverride, bool bPreventDropImpulse, bool bThrow, bool bSecondryAction, bool bSetItemDropLocation) { NativeCall(this, "UPrimalInventoryComponent.DropItem", theInfo, bOverrideSpawnTransform, LocationOverride, RotationOverride, bPreventDropImpulse, bThrow, bSecondryAction, bSetItemDropLocation); } static ADroppedItem * StaticDropNewItem(AActor * forActor, TSubclassOf AnItemClass, float ItemQuality, bool bForceNoBlueprint, int QuantityOverride, bool bForceBlueprint, TSubclassOf TheDroppedTemplateOverride, FRotator * DroppedRotationOffset, bool bOverrideSpawnTransform, FVector * LocationOverride, FRotator * RotationOverride, bool bPreventDropImpulse, bool bThrow, bool bSecondaryAction, bool bSetItemDropLocation, UStaticMesh * DroppedMeshOverride, FVector DroppedScaleOverride, UMaterialInterface * DroppedMaterialOverride, float DroppedLifeSpanOverride) { return NativeCall, float, bool, int, bool, TSubclassOf, FRotator *, bool, FVector *, FRotator *, bool, bool, bool, bool, UStaticMesh *, FVector, UMaterialInterface *, float>(nullptr, "UPrimalInventoryComponent.StaticDropNewItem", forActor, AnItemClass, ItemQuality, bForceNoBlueprint, QuantityOverride, bForceBlueprint, TheDroppedTemplateOverride, DroppedRotationOffset, bOverrideSpawnTransform, LocationOverride, RotationOverride, bPreventDropImpulse, bThrow, bSecondaryAction, bSetItemDropLocation, DroppedMeshOverride, DroppedScaleOverride, DroppedMaterialOverride, DroppedLifeSpanOverride); } @@ -472,7 +475,7 @@ struct UPrimalInventoryComponent : UActorComponent bool ServerAddFromArkTributeInventory(FItemNetID * itemID, int Quantity) { return NativeCall(this, "UPrimalInventoryComponent.ServerAddFromArkTributeInventory", itemID, Quantity); } void RequestAddArkTributeItem(FItemNetInfo * theItemInfo, bool bFromLoad) { NativeCall(this, "UPrimalInventoryComponent.RequestAddArkTributeItem", theItemInfo, bFromLoad); } void AddArkTributeItem(FItemNetInfo * theItemInfo, bool bFromLoad) { NativeCall(this, "UPrimalInventoryComponent.AddArkTributeItem", theItemInfo, bFromLoad); } - void LoadArkTriuteItems(TArray * ItemInfos) { NativeCall *>(this, "UPrimalInventoryComponent.LoadArkTriuteItems", ItemInfos); } + void LoadArkTriuteItems(TArray * ItemInfos, bool bClear, bool bFinalBatch) { NativeCall *, bool, bool>(this, "UPrimalInventoryComponent.LoadArkTriuteItems", ItemInfos, bClear, bFinalBatch); } void NotifyItemQuantityUpdated(UPrimalItem * anItem, int amount) { NativeCall(this, "UPrimalInventoryComponent.NotifyItemQuantityUpdated", anItem, amount); } bool IsServerCustomFolder(int InventoryCompType) { return NativeCall(this, "UPrimalInventoryComponent.IsServerCustomFolder", InventoryCompType); } void AddCustomFolder(FString CFolder, int InventoryCompType) { NativeCall(this, "UPrimalInventoryComponent.AddCustomFolder", CFolder, InventoryCompType); } @@ -759,6 +762,8 @@ struct UPrimalItem : UObject BitFieldValue bEquippedItem() { return { this, "UPrimalItem.bEquippedItem" }; } BitFieldValue bCanSlot() { return { this, "UPrimalItem.bCanSlot" }; } BitFieldValue bUseItemColors() { return { this, "UPrimalItem.bUseItemColors" }; } + BitFieldValue bUseBPInitItemColors() { return { this, "UPrimalItem.bUseBPInitItemColors" }; } + BitFieldValue bUseBPPostAddBuffToGiveOwnerCharacter() { return { this, "UPrimalItem.bUseBPPostAddBuffToGiveOwnerCharacter" }; } BitFieldValue bForceDediAttachments() { return { this, "UPrimalItem.bForceDediAttachments" }; } BitFieldValue bAllowCustomColors() { return { this, "UPrimalItem.bAllowCustomColors" }; } BitFieldValue bForceAllowRemovalWhenDead() { return { this, "UPrimalItem.bForceAllowRemovalWhenDead" }; } @@ -786,6 +791,7 @@ struct UPrimalItem : UObject BitFieldValue bValidCraftingResource() { return { this, "UPrimalItem.bValidCraftingResource" }; } BitFieldValue bDurabilityRequirementIgnoredInWater() { return { this, "UPrimalItem.bDurabilityRequirementIgnoredInWater" }; } BitFieldValue bAllowRepair() { return { this, "UPrimalItem.bAllowRepair" }; } + BitFieldValue bCustomBrokenIcon() { return { this, "UPrimalItem.bCustomBrokenIcon" }; } BitFieldValue bAllowRemovalFromInventory() { return { this, "UPrimalItem.bAllowRemovalFromInventory" }; } BitFieldValue bFromSteamInventory() { return { this, "UPrimalItem.bFromSteamInventory" }; } BitFieldValue bIsFromAllClustersInventory() { return { this, "UPrimalItem.bIsFromAllClustersInventory" }; } @@ -876,8 +882,13 @@ struct UPrimalItem : UObject BitFieldValue bIsInitialItem() { return { this, "UPrimalItem.bIsInitialItem" }; } BitFieldValue bPickupEggForceAggro() { return { this, "UPrimalItem.bPickupEggForceAggro" }; } BitFieldValue bClearSkinOnInventoryRemoval() { return { this, "UPrimalItem.bClearSkinOnInventoryRemoval" }; } + BitFieldValue bUseBPCustomAutoDecreaseDurabilityPerInterval() { return { this, "UPrimalItem.bUseBPCustomAutoDecreaseDurabilityPerInterval" }; } BitFieldValue bUseBPCustomInventoryWidgetText() { return { this, "UPrimalItem.bUseBPCustomInventoryWidgetText" }; } + BitFieldValue bUseBPCustomInventoryWidgetTextColor() { return { this, "UPrimalItem.bUseBPCustomInventoryWidgetTextColor" }; } + BitFieldValue bUseBPCustomInventoryWidgetTextForBlueprint() { return { this, "UPrimalItem.bUseBPCustomInventoryWidgetTextForBlueprint" }; } BitFieldValue bUseSkinnedBPCustomInventoryWidgetText() { return { this, "UPrimalItem.bUseSkinnedBPCustomInventoryWidgetText" }; } + BitFieldValue bUseBPCustomDurabilityText() { return { this, "UPrimalItem.bUseBPCustomDurabilityText" }; } + BitFieldValue bUseBPCustomDurabilityTextColor() { return { this, "UPrimalItem.bUseBPCustomDurabilityTextColor" }; } BitFieldValue bUseBPInitFromItemNetInfo() { return { this, "UPrimalItem.bUseBPInitFromItemNetInfo" }; } BitFieldValue bUseBPInitializeItem() { return { this, "UPrimalItem.bUseBPInitializeItem" }; } BitFieldValue bUseBPGetItemNetInfo() { return { this, "UPrimalItem.bUseBPGetItemNetInfo" }; } @@ -910,12 +921,16 @@ struct UPrimalItem : UObject BitFieldValue bUseBPOverrideCraftingConsumption() { return { this, "UPrimalItem.bUseBPOverrideCraftingConsumption" }; } BitFieldValue bIgnoreDrawingItemButtonIcon() { return { this, "UPrimalItem.bIgnoreDrawingItemButtonIcon" }; } BitFieldValue bCensoredItemSkin() { return { this, "UPrimalItem.bCensoredItemSkin" }; } + BitFieldValue bAlwaysTriggerTributeDownloaded() { return { this, "UPrimalItem.bAlwaysTriggerTributeDownloaded" }; } + BitFieldValue bDeferWeaponBeginPlayToAssociatedItemSetTime() { return { this, "UPrimalItem.bDeferWeaponBeginPlayToAssociatedItemSetTime" }; } // Functions static UClass * GetPrivateStaticClass() { return NativeCall(nullptr, "UPrimalItem.GetPrivateStaticClass"); } FItemNetInfo * GetItemNetInfo(FItemNetInfo * result, bool bIsForSendingToClient) { return NativeCall(this, "UPrimalItem.GetItemNetInfo", result, bIsForSendingToClient); } void InitFromNetInfo(FItemNetInfo * theInfo) { NativeCall(this, "UPrimalItem.InitFromNetInfo", theInfo); } + UWorld * GetWorldHelper(UObject * WorldContextObject) { return NativeCall(this, "UPrimalItem.GetWorldHelper", WorldContextObject); } + int GetMaxItemQuantity(UObject * WorldContextObject) { return NativeCall(this, "UPrimalItem.GetMaxItemQuantity", WorldContextObject); } void AddItemDurability(float durabilityToAdd) { NativeCall(this, "UPrimalItem.AddItemDurability", durabilityToAdd); } void InitNewItem(float ItemQuality, UPrimalInventoryComponent * toInventory, float MaxItemDifficultyClamp, float MinRandomQuality) { NativeCall(this, "UPrimalItem.InitNewItem", ItemQuality, toInventory, MaxItemDifficultyClamp, MinRandomQuality); } bool AllowEquipItem(UPrimalInventoryComponent * toInventory) { return NativeCall(this, "UPrimalItem.AllowEquipItem", toInventory); } @@ -963,6 +978,7 @@ struct UPrimalItem : UObject FLinearColor * GetColorForItemColorID(FLinearColor * result, int SetNum, int ID) { return NativeCall(this, "UPrimalItem.GetColorForItemColorID", result, SetNum, ID); } static FLinearColor * StaticGetColorForItemColorID(FLinearColor * result, int ID) { return NativeCall(nullptr, "UPrimalItem.StaticGetColorForItemColorID", result, ID); } static int StaticGetDinoColorSetIndexForItemColorID(int ID) { return NativeCall(nullptr, "UPrimalItem.StaticGetDinoColorSetIndexForItemColorID", ID); } + static int GetItemColorIDFromDyeItemID(int MasterItemListIndex) { return NativeCall(nullptr, "UPrimalItem.GetItemColorIDFromDyeItemID", MasterItemListIndex); } UMaterialInterface * GetEntryIconMaterial(UObject * AssociatedDataObject, bool bIsEnabled) { return NativeCall(this, "UPrimalItem.GetEntryIconMaterial", AssociatedDataObject, bIsEnabled); } int GetItemQuantity() { return NativeCall(this, "UPrimalItem.GetItemQuantity"); } float GetMiscInfoFontScale() { return NativeCall(this, "UPrimalItem.GetMiscInfoFontScale"); } @@ -1062,10 +1078,12 @@ struct UPrimalItem : UObject bool BPCanAddToInventory(UPrimalInventoryComponent * toInventory) { return NativeCall(this, "UPrimalItem.BPCanAddToInventory", toInventory); } float BPGetCustomAutoDecreaseDurabilityPerInterval() { return NativeCall(this, "UPrimalItem.BPGetCustomAutoDecreaseDurabilityPerInterval"); } FString * BPGetCustomDurabilityText(FString * result) { return NativeCall(this, "UPrimalItem.BPGetCustomDurabilityText", result); } + FColor * BPGetCustomDurabilityTextColor(FColor * result) { return NativeCall(this, "UPrimalItem.BPGetCustomDurabilityTextColor", result); } FString * BPGetCustomInventoryWidgetText(FString * result) { return NativeCall(this, "UPrimalItem.BPGetCustomInventoryWidgetText", result); } FString * BPGetItemDescription(FString * result, FString * InDescription, bool bGetLongDescription, AShooterPlayerController * ForPC) { return NativeCall(this, "UPrimalItem.BPGetItemDescription", result, InDescription, bGetLongDescription, ForPC); } FString * BPGetItemName(FString * result, FString * ItemNameIn, AShooterPlayerController * ForPC) { return NativeCall(this, "UPrimalItem.BPGetItemName", result, ItemNameIn, ForPC); } FString * BPGetSkinnedCustomInventoryWidgetText(FString * result) { return NativeCall(this, "UPrimalItem.BPGetSkinnedCustomInventoryWidgetText", result); } + void BPPostAddBuffToGiveOwnerCharacter(APrimalCharacter * OwnerCharacter, APrimalBuff * Buff) { NativeCall(this, "UPrimalItem.BPPostAddBuffToGiveOwnerCharacter", OwnerCharacter, Buff); } void BPTributeItemDownloaded(UObject * ContextObject) { NativeCall(this, "UPrimalItem.BPTributeItemDownloaded", ContextObject); } void BPTributeItemUploaded(UObject * ContextObject) { NativeCall(this, "UPrimalItem.BPTributeItemUploaded", ContextObject); } float HandleShieldDamageBlocking(AShooterCharacter * ForShooterCharacter, float DamageIn, FDamageEvent * DamageEvent, AController * EventInstigator, AActor * DamageCauser) { return NativeCall(this, "UPrimalItem.HandleShieldDamageBlocking", ForShooterCharacter, DamageIn, DamageEvent, EventInstigator, DamageCauser); } @@ -1168,5 +1186,3 @@ struct FItemStatInfo unsigned __int16 GetRandomValue(float QualityLevel, float MinRandomQuality, float * outRandonMultiplier) { return NativeCall(this, "FItemStatInfo.GetRandomValue", QualityLevel, MinRandomQuality, outRandonMultiplier); } static UScriptStruct * StaticStruct() { return NativeCall(nullptr, "FItemStatInfo.StaticStruct"); } }; - - diff --git a/version/Core/Public/API/ARK/Other.h b/version/Core/Public/API/ARK/Other.h index 1c17fc8..c521e60 100644 --- a/version/Core/Public/API/ARK/Other.h +++ b/version/Core/Public/API/ARK/Other.h @@ -403,7 +403,7 @@ struct UPrimalEngramEntry : UObject int& RequiredEngramPointsField() { return *GetNativePointerField(this, "UPrimalEngramEntry.RequiredEngramPoints"); } TSubclassOf& BluePrintEntryField() { return *GetNativePointerField*>(this, "UPrimalEngramEntry.BluePrintEntry"); } FString& ExtraEngramDescriptionField() { return *GetNativePointerField(this, "UPrimalEngramEntry.ExtraEngramDescription"); } - //TArray& EngramRequirementSetsField() { return *GetNativePointerField*>(this, "UPrimalEngramEntry.EngramRequirementSets"); } + TArray& EngramRequirementSetsField() { return *GetNativePointerField*>(this, "UPrimalEngramEntry.EngramRequirementSets"); } int& MyEngramIndexField() { return *GetNativePointerField(this, "UPrimalEngramEntry.MyEngramIndex"); } TEnumAsByte& EngramGroupField() { return *GetNativePointerField*>(this, "UPrimalEngramEntry.EngramGroup"); } diff --git a/version/Core/Public/API/ARK/PrimalStructure.h b/version/Core/Public/API/ARK/PrimalStructure.h index 35f46b0..0e55d6d 100644 --- a/version/Core/Public/API/ARK/PrimalStructure.h +++ b/version/Core/Public/API/ARK/PrimalStructure.h @@ -14,13 +14,15 @@ struct APrimalTargetableActor : AActor FVector& DestructibleMeshScaleOverrideField() { return *GetNativePointerField(this, "APrimalTargetableActor.DestructibleMeshScaleOverride"); } FRotator& DestructibleMeshRotationOffsetField() { return *GetNativePointerField(this, "APrimalTargetableActor.DestructibleMeshRotationOffset"); } FString& DescriptiveNameField() { return *GetNativePointerField(this, "APrimalTargetableActor.DescriptiveName"); } + TSubclassOf& DestroyedMeshActorClassField() { return *GetNativePointerField*>(this, "APrimalTargetableActor.DestroyedMeshActorClass"); } float& ReplicatedHealthField() { return *GetNativePointerField(this, "APrimalTargetableActor.ReplicatedHealth"); } float& HealthField() { return *GetNativePointerField(this, "APrimalTargetableActor.Health"); } float& MaxHealthField() { return *GetNativePointerField(this, "APrimalTargetableActor.MaxHealth"); } float& DestructibleMeshDeathImpulseScaleField() { return *GetNativePointerField(this, "APrimalTargetableActor.DestructibleMeshDeathImpulseScale"); } float& LastReplicatedHealthValueField() { return *GetNativePointerField(this, "APrimalTargetableActor.LastReplicatedHealthValue"); } TEnumAsByte& TargetableDamageFXDefaultPhysMaterialField() { return *GetNativePointerField*>(this, "APrimalTargetableActor.TargetableDamageFXDefaultPhysMaterial"); } - //UPrimalStructureSettings * MyStructureSettingsCDOField() { return *GetNativePointerField(this, "APrimalTargetableActor.MyStructureSettingsCDO"); } + TSubclassOf& StructureSettingsClassField() { return *GetNativePointerField*>(this, "APrimalTargetableActor.StructureSettingsClass"); } + UPrimalStructureSettings * MyStructureSettingsCDOField() { return *GetNativePointerField(this, "APrimalTargetableActor.MyStructureSettingsCDO"); } float& LastHealthBeforeTakeDamageField() { return *GetNativePointerField(this, "APrimalTargetableActor.LastHealthBeforeTakeDamage"); } long double& NextAllowRepairTimeField() { return *GetNativePointerField(this, "APrimalTargetableActor.NextAllowRepairTime"); } float& LastPreBlueprintAdjustmentActualDamageField() { return *GetNativePointerField(this, "APrimalTargetableActor.LastPreBlueprintAdjustmentActualDamage"); } @@ -43,6 +45,7 @@ struct APrimalTargetableActor : AActor BitFieldValue bIgnoreDestructionEffects() { return { this, "APrimalTargetableActor.bIgnoreDestructionEffects" }; } BitFieldValue bIgnoreDamageRepairCooldown() { return { this, "APrimalTargetableActor.bIgnoreDamageRepairCooldown" }; } BitFieldValue bUseHarvestingComponent() { return { this, "APrimalTargetableActor.bUseHarvestingComponent" }; } + BitFieldValue BPOverrideDestroyedMeshTextures() { return { this, "APrimalTargetableActor.BPOverrideDestroyedMeshTextures" }; } // Functions @@ -94,7 +97,7 @@ struct APrimalStructure : APrimalTargetableActor TSubclassOf& ConsumesPrimalItemField() { return *GetNativePointerField*>(this, "APrimalStructure.ConsumesPrimalItem"); } float& ScaleFactorField() { return *GetNativePointerField(this, "APrimalStructure.ScaleFactor"); } int& StructureSnapTypeFlagsField() { return *GetNativePointerField(this, "APrimalStructure.StructureSnapTypeFlags"); } - //TArray& SnapPointsField() { return *GetNativePointerField*>(this, "APrimalStructure.SnapPoints"); } + TArray& SnapPointsField() { return *GetNativePointerField*>(this, "APrimalStructure.SnapPoints"); } float& PlacementOffsetForVerticalGroundField() { return *GetNativePointerField(this, "APrimalStructure.PlacementOffsetForVerticalGround"); } float& PlacementInitialTracePointOffsetForVerticalGroundField() { return *GetNativePointerField(this, "APrimalStructure.PlacementInitialTracePointOffsetForVerticalGround"); } TArray>& StructuresAllowedToBeVerticalGroundField() { return *GetNativePointerField>*>(this, "APrimalStructure.StructuresAllowedToBeVerticalGround"); } @@ -149,6 +152,7 @@ struct APrimalStructure : APrimalTargetableActor int& OwningPlayerIDField() { return *GetNativePointerField(this, "APrimalStructure.OwningPlayerID"); } FString& OwningPlayerNameField() { return *GetNativePointerField(this, "APrimalStructure.OwningPlayerName"); } long double& LastInAllyRangeTimeField() { return *GetNativePointerField(this, "APrimalStructure.LastInAllyRangeTime"); } + long double& PickupAllowedBeforeNetworkTimeField() { return *GetNativePointerField(this, "APrimalStructure.PickupAllowedBeforeNetworkTime"); } float& DecayDestructionPeriodMultiplierField() { return *GetNativePointerField(this, "APrimalStructure.DecayDestructionPeriodMultiplier"); } TWeakObjectPtr& SaddleDinoField() { return *GetNativePointerField*>(this, "APrimalStructure.SaddleDino"); } TArray LatchedDinosField() { return *GetNativePointerField*>(this, "APrimalStructure.LatchedDinos"); } @@ -185,6 +189,7 @@ struct APrimalStructure : APrimalTargetableActor float& LastFadeOpacityField() { return *GetNativePointerField(this, "APrimalStructure.LastFadeOpacity"); } bool& bClientAddedToStructuresArrayField() { return *GetNativePointerField(this, "APrimalStructure.bClientAddedToStructuresArray"); } long double& LastFailedPinTimeField() { return *GetNativePointerField(this, "APrimalStructure.LastFailedPinTime"); } + TWeakObjectPtr& PrimaryMeshComponentField() { return *GetNativePointerField*>(this, "APrimalStructure.PrimaryMeshComponent"); } TArray& PreventBuildStructureReasonStringOverridesField() { return *GetNativePointerField*>(this, "APrimalStructure.PreventBuildStructureReasonStringOverrides"); } FVector& FloatingHudLocTextOffsetField() { return *GetNativePointerField(this, "APrimalStructure.FloatingHudLocTextOffset"); } float& LastBumpedDamageTimeField() { return *GetNativePointerField(this, "APrimalStructure.LastBumpedDamageTime"); } @@ -297,6 +302,7 @@ struct APrimalStructure : APrimalTargetableActor BitFieldValue bDebug() { return { this, "APrimalStructure.bDebug" }; } BitFieldValue bUseFadeInEffect() { return { this, "APrimalStructure.bUseFadeInEffect" }; } BitFieldValue bUsingStructureColors() { return { this, "APrimalStructure.bUsingStructureColors" }; } + BitFieldValue bAllowPickingUpStructureAfterPlacement() { return { this, "APrimalStructure.bAllowPickingUpStructureAfterPlacement" }; } BitFieldValue bUsesHealth() { return { this, "APrimalStructure.bUsesHealth" }; } BitFieldValue bIgnoreSnappedToOtherFloorStructures() { return { this, "APrimalStructure.bIgnoreSnappedToOtherFloorStructures" }; } BitFieldValue bEnforceStructureLinkExactRotation() { return { this, "APrimalStructure.bEnforceStructureLinkExactRotation" }; } @@ -322,6 +328,8 @@ struct APrimalStructure : APrimalTargetableActor BitFieldValue bUseBPGetInfoFromConsumedItemForPlacedStructure() { return { this, "APrimalStructure.bUseBPGetInfoFromConsumedItemForPlacedStructure" }; } BitFieldValue bImmuneToAutoDemolish() { return { this, "APrimalStructure.bImmuneToAutoDemolish" }; } BitFieldValue bIgnoreMaxStructuresInSmallRadius() { return { this, "APrimalStructure.bIgnoreMaxStructuresInSmallRadius" }; } + BitFieldValue bAllowTargetingByCorruptDinos() { return { this, "APrimalStructure.bAllowTargetingByCorruptDinos" }; } + BitFieldValue bDestroyOnStasisUnlessPrevented() { return { this, "APrimalStructure.bDestroyOnStasisUnlessPrevented" }; } BitFieldValue bPreventAttachToSaddle() { return { this, "APrimalStructure.bPreventAttachToSaddle" }; } BitFieldValue bForcePersonalStructureOwnership() { return { this, "APrimalStructure.bForcePersonalStructureOwnership" }; } BitFieldValue bBPOverrideAllowStructureAccess() { return { this, "APrimalStructure.bBPOverrideAllowStructureAccess" }; } @@ -333,6 +341,8 @@ struct APrimalStructure : APrimalTargetableActor BitFieldValue bAttachToStaticMeshSocketRotation() { return { this, "APrimalStructure.bAttachToStaticMeshSocketRotation" }; } BitFieldValue bForceGroundForFoundation() { return { this, "APrimalStructure.bForceGroundForFoundation" }; } BitFieldValue bBPOverrideSnappedToTransform() { return { this, "APrimalStructure.bBPOverrideSnappedToTransform" }; } + BitFieldValue bBPOverrideSnappedFromTransform() { return { this, "APrimalStructure.bBPOverrideSnappedFromTransform" }; } + BitFieldValue bBPOverridePlacementRotation() { return { this, "APrimalStructure.bBPOverridePlacementRotation" }; } BitFieldValue bDisableStructureOnElectricStorm() { return { this, "APrimalStructure.bDisableStructureOnElectricStorm" }; } BitFieldValue bNoCollision() { return { this, "APrimalStructure.bNoCollision" }; } BitFieldValue bCreatedDynamicMaterials() { return { this, "APrimalStructure.bCreatedDynamicMaterials" }; } @@ -343,6 +353,7 @@ struct APrimalStructure : APrimalTargetableActor BitFieldValue bDisableSnapStructure() { return { this, "APrimalStructure.bDisableSnapStructure" }; } BitFieldValue bTriggerBPUnstasis() { return { this, "APrimalStructure.bTriggerBPUnstasis" }; } BitFieldValue bBlueprintDrawHUD() { return { this, "APrimalStructure.bBlueprintDrawHUD" }; } + BitFieldValue bBlueprintDrawPreviewHUD() { return { this, "APrimalStructure.bBlueprintDrawPreviewHUD" }; } BitFieldValue bUsesWorldSpaceMaterial() { return { this, "APrimalStructure.bUsesWorldSpaceMaterial" }; } BitFieldValue bForceIgnoreStationaryObjectTrace() { return { this, "APrimalStructure.bForceIgnoreStationaryObjectTrace" }; } BitFieldValue bForceAllowNearSupplyCrateSpawns() { return { this, "APrimalStructure.bForceAllowNearSupplyCrateSpawns" }; } @@ -352,6 +363,7 @@ struct APrimalStructure : APrimalTargetableActor BitFieldValue bPreventAttachedChildStructures() { return { this, "APrimalStructure.bPreventAttachedChildStructures" }; } BitFieldValue bPreventPreviewIfWeaponPlaced() { return { this, "APrimalStructure.bPreventPreviewIfWeaponPlaced" }; } BitFieldValue bStructuresInRangeTypeFlagUseAltCollisionChannel() { return { this, "APrimalStructure.bStructuresInRangeTypeFlagUseAltCollisionChannel" }; } + BitFieldValue UseBPOverrideTargetLocation() { return { this, "APrimalStructure.UseBPOverrideTargetLocation" }; } // Functions @@ -360,6 +372,7 @@ struct APrimalStructure : APrimalTargetableActor int GetHitPawnCollisionGroup() { return NativeCall(this, "APrimalStructure.GetHitPawnCollisionGroup"); } void PreInitializeComponents() { NativeCall(this, "APrimalStructure.PreInitializeComponents"); } void BeginPlay() { NativeCall(this, "APrimalStructure.BeginPlay"); } + void ApplyPrimalItemSettingsToStructure(UMeshComponent * meshToColorize, UPrimalItem * AssociatedPrimalItem) { NativeCall(this, "APrimalStructure.ApplyPrimalItemSettingsToStructure", meshToColorize, AssociatedPrimalItem); } void SetLinkedIDs() { NativeCall(this, "APrimalStructure.SetLinkedIDs"); } void ApplyLinkedIDs(bool bRelinkParents) { NativeCall(this, "APrimalStructure.ApplyLinkedIDs", bRelinkParents); } static APrimalStructure * GetFromID(UWorld * World, unsigned int TheStructureID) { return NativeCall(nullptr, "APrimalStructure.GetFromID", World, TheStructureID); } @@ -373,6 +386,7 @@ struct APrimalStructure : APrimalTargetableActor void SetStaticMobility() { NativeCall(this, "APrimalStructure.SetStaticMobility"); } void PrepareAsPlacementPreview() { NativeCall(this, "APrimalStructure.PrepareAsPlacementPreview"); } bool TickPlacingStructure(APrimalStructurePlacer * PlacerActor, float DeltaTime) { return NativeCall(this, "APrimalStructure.TickPlacingStructure", PlacerActor, DeltaTime); } + FString * GetDebugInfoString(FString * result) { return NativeCall(this, "APrimalStructure.GetDebugInfoString", result); } int IsAllowedToBuild(APlayerController * PC, FVector AtLocation, FRotator AtRotation, FPlacementData * OutPlacementData, bool bDontAdjustForMaxRange, FRotator PlayerViewRotation, bool bFinalPlacement) { return NativeCall(this, "APrimalStructure.IsAllowedToBuild", PC, AtLocation, AtRotation, OutPlacementData, bDontAdjustForMaxRange, PlayerViewRotation, bFinalPlacement); } static bool IsPointNearSupplyCrateSpawn(UWorld * theWorld, FVector AtPoint) { return NativeCall(nullptr, "APrimalStructure.IsPointNearSupplyCrateSpawn", theWorld, AtPoint); } TSubclassOf * GetBedFilterClass_Implementation(TSubclassOf * result) { return NativeCall *, TSubclassOf *>(this, "APrimalStructure.GetBedFilterClass_Implementation", result); } @@ -392,6 +406,7 @@ struct APrimalStructure : APrimalTargetableActor float TakeDamage(float Damage, FDamageEvent * DamageEvent, AController * EventInstigator, AActor * DamageCauser) { return NativeCall(this, "APrimalStructure.TakeDamage", Damage, DamageEvent, EventInstigator, DamageCauser); } bool Die(float KillingDamage, FDamageEvent * DamageEvent, AController * Killer, AActor * DamageCauser) { return NativeCall(this, "APrimalStructure.Die", KillingDamage, DamageEvent, Killer, DamageCauser); } void PlayDying(float KillingDamage, FDamageEvent * DamageEvent, APawn * InstigatingPawn, AActor * DamageCauser) { NativeCall(this, "APrimalStructure.PlayDying", KillingDamage, DamageEvent, InstigatingPawn, DamageCauser); } + void DestroyStructuresPlacedOnFloor() { NativeCall(this, "APrimalStructure.DestroyStructuresPlacedOnFloor"); } static void ReprocessTree(TArray * StartingStructures, AController * InstigatorController, AActor * DamageCauser) { NativeCall *, AController *, AActor *>(nullptr, "APrimalStructure.ReprocessTree", StartingStructures, InstigatorController, DamageCauser); } static void FindFoundations(APrimalStructure * StartingStructure, TArray * Foundations) { NativeCall *>(nullptr, "APrimalStructure.FindFoundations", StartingStructure, Foundations); } static void CullAgainstFoundations(APrimalStructure ** StartingStructure, TArray * Foundations) { NativeCall *>(nullptr, "APrimalStructure.CullAgainstFoundations", StartingStructure, Foundations); } @@ -413,7 +428,9 @@ struct APrimalStructure : APrimalTargetableActor void ChangeActorTeam(int NewTeam) { NativeCall(this, "APrimalStructure.ChangeActorTeam", NewTeam); } void NetUpdateTeamAndOwnerName_Implementation(int NewTeam, FString * NewOwnerName) { NativeCall(this, "APrimalStructure.NetUpdateTeamAndOwnerName_Implementation", NewTeam, NewOwnerName); } FString * GetDescriptiveName(FString * result) { return NativeCall(this, "APrimalStructure.GetDescriptiveName", result); } + void PlacedStructure(AShooterPlayerController * PC) { NativeCall(this, "APrimalStructure.PlacedStructure", PC); } void UpdatedHealth(bool bDoReplication) { NativeCall(this, "APrimalStructure.UpdatedHealth", bDoReplication); } + void SetupDynamicMeshMaterials(UMeshComponent * meshComp) { NativeCall(this, "APrimalStructure.SetupDynamicMeshMaterials", meshComp); } void StartRepair() { NativeCall(this, "APrimalStructure.StartRepair"); } void RepairCheckTimer() { NativeCall(this, "APrimalStructure.RepairCheckTimer"); } void Stasis() { NativeCall(this, "APrimalStructure.Stasis"); } @@ -433,6 +450,7 @@ struct APrimalStructure : APrimalTargetableActor static void GetStructuresInRange(UWorld * theWorld, FVector AtLocation, float WithinRange, TSubclassOf StructureClass, TArray * StructuresOut, bool bUseInternalOctree, APrimalStructure * IgnoreStructure) { NativeCall, TArray *, bool, APrimalStructure *>(nullptr, "APrimalStructure.GetStructuresInRange", theWorld, AtLocation, WithinRange, StructureClass, StructuresOut, bUseInternalOctree, IgnoreStructure); } static int GetNumStructuresInRangeStructureTypeFlag(UWorld * theWorld, FVector AtLocation, int TypeFlag, float WithinRange, bool bCheckBPCountStructureInRange, bool bUseInternalOctree, APrimalStructure * IgnoreStructure, bool bCheckWithAltCollisionChannel) { return NativeCall(nullptr, "APrimalStructure.GetNumStructuresInRangeStructureTypeFlag", theWorld, AtLocation, TypeFlag, WithinRange, bCheckBPCountStructureInRange, bUseInternalOctree, IgnoreStructure, bCheckWithAltCollisionChannel); } bool AllowPickupForItem(AShooterPlayerController * ForPC) { return NativeCall(this, "APrimalStructure.AllowPickupForItem", ForPC); } + bool CanPickupStructureFromRecentPlacement() { return NativeCall(this, "APrimalStructure.CanPickupStructureFromRecentPlacement"); } bool AllowSnappingWith(APrimalStructure * OtherStructure, APlayerController * ForPC) { return NativeCall(this, "APrimalStructure.AllowSnappingWith", OtherStructure, ForPC); } bool AllowStructureAccess(APlayerController * ForPC) { return NativeCall(this, "APrimalStructure.AllowStructureAccess", ForPC); } static bool IsPointObstructedByWorldGeometry(UWorld * ForWorld, FVector ThePoint, bool bIgnoreTerrain, bool bOnlyCheckTerrain, bool bIgnoreFoliage, float OBSTRUCTION_CHECK_DIST) { return NativeCall(nullptr, "APrimalStructure.IsPointObstructedByWorldGeometry", ForWorld, ThePoint, bIgnoreTerrain, bOnlyCheckTerrain, bIgnoreFoliage, OBSTRUCTION_CHECK_DIST); } @@ -442,6 +460,7 @@ struct APrimalStructure : APrimalTargetableActor FString * GetEntryString(FString * result) { return NativeCall(this, "APrimalStructure.GetEntryString", result); } UTexture2D * GetEntryIcon(UObject * AssociatedDataObject, bool bIsEnabled) { return NativeCall(this, "APrimalStructure.GetEntryIcon", AssociatedDataObject, bIsEnabled); } UMaterialInterface * GetEntryIconMaterial(UObject * AssociatedDataObject, bool bIsEnabled) { return NativeCall(this, "APrimalStructure.GetEntryIconMaterial", AssociatedDataObject, bIsEnabled); } + bool CanBeBaseForCharacter(APawn * Pawn) { return NativeCall(this, "APrimalStructure.CanBeBaseForCharacter", Pawn); } UObject * GetUObjectInterfaceDataListEntryInterface() { return NativeCall(this, "APrimalStructure.GetUObjectInterfaceDataListEntryInterface"); } FString * GetEntryDescription(FString * result) { return NativeCall(this, "APrimalStructure.GetEntryDescription", result); } bool PreventCharacterBasing(AActor * OtherActor, UPrimitiveComponent * BasedOnComponent) { return NativeCall(this, "APrimalStructure.PreventCharacterBasing", OtherActor, BasedOnComponent); } @@ -461,12 +480,11 @@ struct APrimalStructure : APrimalTargetableActor void CreateDynamicMaterials() { NativeCall(this, "APrimalStructure.CreateDynamicMaterials"); } void FinalLoadedFromSaveGame() { NativeCall(this, "APrimalStructure.FinalLoadedFromSaveGame"); } void UpdateStencilValues() { NativeCall(this, "APrimalStructure.UpdateStencilValues"); } - void SetHarvestingActive(bool bActive, bool bOverrideBaseHealth, float BaseHarvestHealthMult) { NativeCall(this, "APrimalStructure.SetHarvestingActive", bActive, bOverrideBaseHealth, BaseHarvestHealthMult); } + void SetHarvestingActive(bool bActive, bool bOverrideBaseHealth, float BaseHarvestHealthMult, bool bAssignToTribe, int AssignedToTribeID) { NativeCall(this, "APrimalStructure.SetHarvestingActive", bActive, bOverrideBaseHealth, BaseHarvestHealthMult, bAssignToTribe, AssignedToTribeID); } FVector * GetTargetPathfindingLocation(FVector * result, AActor * Attacker) { return NativeCall(this, "APrimalStructure.GetTargetPathfindingLocation", result, Attacker); } FVector * GetTargetingLocation(FVector * result, AActor * Attacker) { return NativeCall(this, "APrimalStructure.GetTargetingLocation", result, Attacker); } bool GetClosestTargetOverride(FVector * attackPos, FVector * targetPos) { return NativeCall(this, "APrimalStructure.GetClosestTargetOverride", attackPos, targetPos); } FRotator * GetPlayerSpawnRotation(FRotator * result) { return NativeCall(this, "APrimalStructure.GetPlayerSpawnRotation", result); } - void PlacedStructure(AShooterPlayerController * PC) { NativeCall(this, "APrimalStructure.PlacedStructure", PC); } void BPPlayDying(float KillingDamage, FDamageEvent * DamageEvent, APawn * InstigatingPawn, AActor * DamageCauser) { NativeCall(this, "APrimalStructure.BPPlayDying", KillingDamage, DamageEvent, InstigatingPawn, DamageCauser); } static void StaticRegisterNativesAPrimalStructure() { NativeCall(nullptr, "APrimalStructure.StaticRegisterNativesAPrimalStructure"); } bool BPAllowSnappingWith(APrimalStructure * OtherStructure, APlayerController * ForPC) { return NativeCall(this, "APrimalStructure.BPAllowSnappingWith", OtherStructure, ForPC); } @@ -489,6 +507,48 @@ struct APrimalStructure : APrimalTargetableActor void NetUpdateTeamAndOwnerName(int NewTeam, FString * NewOwnerName) { NativeCall(this, "APrimalStructure.NetUpdateTeamAndOwnerName", NewTeam, NewOwnerName); } }; +struct APrimalStructureBed : APrimalStructure +{ + FVector& PlayerSpawnLocOffsetField() { return *GetNativePointerField(this, "APrimalStructureBed.PlayerSpawnLocOffset"); } + FRotator& PlayerSpawnRotOffsetField() { return *GetNativePointerField(this, "APrimalStructureBed.PlayerSpawnRotOffset"); } + unsigned int& LinkedPlayerIDField() { return *GetNativePointerField(this, "APrimalStructureBed.LinkedPlayerID"); } + FString& LinkedPlayerNameField() { return *GetNativePointerField(this, "APrimalStructureBed.LinkedPlayerName"); } + FString& BedNameField() { return *GetNativePointerField(this, "APrimalStructureBed.BedName"); } + float& UseCooldownTimeField() { return *GetNativePointerField(this, "APrimalStructureBed.UseCooldownTime"); } + float& UseCooldownRadiusField() { return *GetNativePointerField(this, "APrimalStructureBed.UseCooldownRadius"); } + float& AttachedToPlatformStructureEnemySpawnPreventionRadiusField() { return *GetNativePointerField(this, "APrimalStructureBed.AttachedToPlatformStructureEnemySpawnPreventionRadius"); } + long double& NextAllowedUseTimeField() { return *GetNativePointerField(this, "APrimalStructureBed.NextAllowedUseTime"); } + long double& LastSignNamingTimeField() { return *GetNativePointerField(this, "APrimalStructureBed.LastSignNamingTime"); } + + // Bit fields + + BitFieldValue bDestroyAfterRespawnUse() { return { this, "APrimalStructureBed.bDestroyAfterRespawnUse" }; } + + // Functions + + static UClass * GetPrivateStaticClass() { return NativeCall(nullptr, "APrimalStructureBed.GetPrivateStaticClass"); } + UField * StaticClass() { return NativeCall(this, "APrimalStructureBed.StaticClass"); } + bool AllowPickupForItem(AShooterPlayerController * ForPC) { return NativeCall(this, "APrimalStructureBed.AllowPickupForItem", ForPC); } + void GetLifetimeReplicatedProps(TArray * OutLifetimeProps) { NativeCall *>(this, "APrimalStructureBed.GetLifetimeReplicatedProps", OutLifetimeProps); } + bool TryMultiUse(APlayerController * ForPC, int UseIndex) { return NativeCall(this, "APrimalStructureBed.TryMultiUse", ForPC, UseIndex); } + void ClientMultiUse(APlayerController * ForPC, int UseIndex) { NativeCall(this, "APrimalStructureBed.ClientMultiUse", ForPC, UseIndex); } + void ProcessEditText(AShooterPlayerController * ForPC, FString * TextToUse, bool __formal) { NativeCall(this, "APrimalStructureBed.ProcessEditText", ForPC, TextToUse, __formal); } + void DrawHUD(AShooterHUD * HUD) { NativeCall(this, "APrimalStructureBed.DrawHUD", HUD); } + void PlacedStructure(AShooterPlayerController * PC) { NativeCall(this, "APrimalStructureBed.PlacedStructure", PC); } + bool AllowSpawnForPlayer(AShooterPlayerController * PC, bool bCheckCooldownTime, APrimalStructure * FromStructure) { return NativeCall(this, "APrimalStructureBed.AllowSpawnForPlayer", PC, bCheckCooldownTime, FromStructure); } + bool AllowSpawnForDownloadedPlayer(unsigned __int64 PlayerDataID, unsigned __int64 TribeID, bool bCheckCooldownTime) { return NativeCall(this, "APrimalStructureBed.AllowSpawnForDownloadedPlayer", PlayerDataID, TribeID, bCheckCooldownTime); } + bool CheckStructureActivateTribeGroupPermission(unsigned __int64 PlayerDataID, unsigned __int64 TribeID) { return NativeCall(this, "APrimalStructureBed.CheckStructureActivateTribeGroupPermission", PlayerDataID, TribeID); } + void SpawnedPlayerFor_Implementation(AShooterPlayerController * PC, APawn * ForPawn) { NativeCall(this, "APrimalStructureBed.SpawnedPlayerFor_Implementation", PC, ForPawn); } + void Destroyed() { NativeCall(this, "APrimalStructureBed.Destroyed"); } + void BeginPlay() { NativeCall(this, "APrimalStructureBed.BeginPlay"); } + static APrimalStructure * FindBedWithID(UWorld * forWorld, int theBedID) { return NativeCall(nullptr, "APrimalStructureBed.FindBedWithID", forWorld, theBedID); } + FVector * GetPlayerSpawnLocation(FVector * result) { return NativeCall(this, "APrimalStructureBed.GetPlayerSpawnLocation", result); } + FRotator * GetPlayerSpawnRotation(FRotator * result) { return NativeCall(this, "APrimalStructureBed.GetPlayerSpawnRotation", result); } + void PostInitializeComponents() { NativeCall(this, "APrimalStructureBed.PostInitializeComponents"); } + FString * GetDescriptiveName(FString * result) { return NativeCall(this, "APrimalStructureBed.GetDescriptiveName", result); } + static void StaticRegisterNativesAPrimalStructureBed() { NativeCall(nullptr, "APrimalStructureBed.StaticRegisterNativesAPrimalStructureBed"); } +}; + struct APrimalStructureDoor : APrimalStructure { TSubobjectPtr& MyDoorTransformField() { return *GetNativePointerField*>(this, "APrimalStructureDoor.MyDoorTransform"); } @@ -568,6 +628,7 @@ struct APrimalStructureItemContainer : APrimalStructure int& NotifyNearbyPowerGeneratorOctreeGroupField() { return *GetNativePointerField(this, "APrimalStructureItemContainer.NotifyNearbyPowerGeneratorOctreeGroup"); } TArray ActivateMaterialsField() { return *GetNativePointerField*>(this, "APrimalStructureItemContainer.ActivateMaterials"); } TArray InActivateMaterialsField() { return *GetNativePointerField*>(this, "APrimalStructureItemContainer.InActivateMaterials"); } + UChildActorComponent * MyChildEmitterSpawnableField() { return *GetNativePointerField(this, "APrimalStructureItemContainer.MyChildEmitterSpawnable"); } FString& BoxNameField() { return *GetNativePointerField(this, "APrimalStructureItemContainer.BoxName"); } float& InsulationRangeField() { return *GetNativePointerField(this, "APrimalStructureItemContainer.InsulationRange"); } float& HyperThermiaInsulationField() { return *GetNativePointerField(this, "APrimalStructureItemContainer.HyperThermiaInsulation"); } @@ -646,6 +707,7 @@ struct APrimalStructureItemContainer : APrimalStructure BitFieldValue bCraftingSubstractConnectedWater() { return { this, "APrimalStructureItemContainer.bCraftingSubstractConnectedWater" }; } BitFieldValue bForceNoPinLocking() { return { this, "APrimalStructureItemContainer.bForceNoPinLocking" }; } BitFieldValue bServerBPNotifyInventoryItemChanges() { return { this, "APrimalStructureItemContainer.bServerBPNotifyInventoryItemChanges" }; } + BitFieldValue bClientBPNotifyInventoryItemChanges() { return { this, "APrimalStructureItemContainer.bClientBPNotifyInventoryItemChanges" }; } BitFieldValue bDisplayActivationOnInventoryUI() { return { this, "APrimalStructureItemContainer.bDisplayActivationOnInventoryUI" }; } BitFieldValue bUseBPGetFuelConsumptionMultiplier() { return { this, "APrimalStructureItemContainer.bUseBPGetFuelConsumptionMultiplier" }; } BitFieldValue bPreventToggleActivation() { return { this, "APrimalStructureItemContainer.bPreventToggleActivation" }; } @@ -658,6 +720,8 @@ struct APrimalStructureItemContainer : APrimalStructure BitFieldValue bPoweredAllowBattery() { return { this, "APrimalStructureItemContainer.bPoweredAllowBattery" }; } BitFieldValue bPoweredUsingBattery() { return { this, "APrimalStructureItemContainer.bPoweredUsingBattery" }; } BitFieldValue bPoweredHasBattery() { return { this, "APrimalStructureItemContainer.bPoweredHasBattery" }; } + BitFieldValue bPoweredAllowSolar() { return { this, "APrimalStructureItemContainer.bPoweredAllowSolar" }; } + BitFieldValue bPoweredUsingSolar() { return { this, "APrimalStructureItemContainer.bPoweredUsingSolar" }; } BitFieldValue bIsLocked() { return { this, "APrimalStructureItemContainer.bIsLocked" }; } BitFieldValue bIsPinLocked() { return { this, "APrimalStructureItemContainer.bIsPinLocked" }; } BitFieldValue bHasFuel() { return { this, "APrimalStructureItemContainer.bHasFuel" }; } @@ -714,9 +778,11 @@ struct APrimalStructureItemContainer : APrimalStructure void PlacedStructure(AShooterPlayerController * PC) { NativeCall(this, "APrimalStructureItemContainer.PlacedStructure", PC); } void GetLifetimeReplicatedProps(TArray * OutLifetimeProps) { NativeCall *>(this, "APrimalStructureItemContainer.GetLifetimeReplicatedProps", OutLifetimeProps); } USoundBase * GetOverrideAudioTemplate() { return NativeCall(this, "APrimalStructureItemContainer.GetOverrideAudioTemplate"); } + bool IsValidWaterSourceForPipe(APrimalStructureWaterPipe * ForWaterPipe) { return NativeCall(this, "APrimalStructureItemContainer.IsValidWaterSourceForPipe", ForWaterPipe); } void SetDelayedActivation() { NativeCall(this, "APrimalStructureItemContainer.SetDelayedActivation"); } void TryActivation() { NativeCall(this, "APrimalStructureItemContainer.TryActivation"); } void SetContainerActive(bool bNewActive) { NativeCall(this, "APrimalStructureItemContainer.SetContainerActive", bNewActive); } + FString * GetDebugInfoString(FString * result) { return NativeCall(this, "APrimalStructureItemContainer.GetDebugInfoString", result); } bool CanOpen(APlayerController * ForPC) { return NativeCall(this, "APrimalStructureItemContainer.CanOpen", ForPC); } void ServerCloseRemoteInventory(AShooterPlayerController * ByPC) { NativeCall(this, "APrimalStructureItemContainer.ServerCloseRemoteInventory", ByPC); } FString * GetDescriptiveName(FString * result) { return NativeCall(this, "APrimalStructureItemContainer.GetDescriptiveName", result); } @@ -783,9 +849,11 @@ struct APrimalStructureTurret : APrimalStructureItemContainer char& WarningSettingField() { return *GetNativePointerField(this, "APrimalStructureTurret.WarningSetting"); } int& NumBulletsField() { return *GetNativePointerField(this, "APrimalStructureTurret.NumBullets"); } int& NumBulletsPerShotField() { return *GetNativePointerField(this, "APrimalStructureTurret.NumBulletsPerShot"); } + float& AlwaysEnableFastTurretTargetingOverVelocityField() { return *GetNativePointerField(this, "APrimalStructureTurret.AlwaysEnableFastTurretTargetingOverVelocity"); } float& WarningExpirationTimeField() { return *GetNativePointerField(this, "APrimalStructureTurret.WarningExpirationTime"); } float& BatteryIntervalFromActivationBeforeFiringField() { return *GetNativePointerField(this, "APrimalStructureTurret.BatteryIntervalFromActivationBeforeFiring"); } bool& bWarnedField() { return *GetNativePointerField(this, "APrimalStructureTurret.bWarned"); } + UChildActorComponent * MyChildEmitterTargetingEffectField() { return *GetNativePointerField(this, "APrimalStructureTurret.MyChildEmitterTargetingEffect"); } FRotator& DefaultTurretAimRotOffsetField() { return *GetNativePointerField(this, "APrimalStructureTurret.DefaultTurretAimRotOffset"); } FVector& MuzzleLocOffsetField() { return *GetNativePointerField(this, "APrimalStructureTurret.MuzzleLocOffset"); } long double& LastWarningTimeField() { return *GetNativePointerField(this, "APrimalStructureTurret.LastWarningTime"); } @@ -846,4 +914,6 @@ struct APrimalStructureTurret : APrimalStructureItemContainer FName * GetTargetAltAimSocket(FName * result, APrimalCharacter * ForTarget) { return NativeCall(this, "APrimalStructureTurret.GetTargetAltAimSocket", result, ForTarget); } bool UseTurretFastTargeting() { return NativeCall(this, "APrimalStructureTurret.UseTurretFastTargeting"); } static void StaticRegisterNativesAPrimalStructureTurret() { NativeCall(nullptr, "APrimalStructureTurret.StaticRegisterNativesAPrimalStructureTurret"); } + bool BPTurretPreventsTargeting(APrimalCharacter * PotentialTarget) { return NativeCall(this, "APrimalStructureTurret.BPTurretPreventsTargeting", PotentialTarget); } }; + diff --git a/version/Core/Public/API/Atlas/Enums.h b/version/Core/Public/API/Atlas/Enums.h index 1f9ba40..9acfeb7 100644 --- a/version/Core/Public/API/Atlas/Enums.h +++ b/version/Core/Public/API/Atlas/Enums.h @@ -719,4 +719,45 @@ enum ESoilType SoilType_63 = 0x3F, SoilType_64 = 0x40, SoilType_Max = 0x41 -}; \ No newline at end of file +}; + +namespace EChatSendMode +{ + enum Type + { + GlobalChat = 0x0, + ProximityChat = 0x1, + RadioChat = 0x2, + GlobalTribeChat = 0x3, + AllianceChat = 0x4, + MAX = 0x5 + }; +} + +namespace EChatType +{ + enum Type + { + GlobalChat = 0x0, + ProximityChat = 0x1, + RadioChat = 0x2, + GlobalTribeChat = 0x3, + AllianceChat = 0x4, + MAX = 0x5, + }; +} + +namespace EShipType +{ + enum Type + { + Default = 0x0, + Brigantine = 0x1, + Raft = 0x2, + Dinghy = 0x3, + Sloop = 0x4, + Schooner = 0x5, + Galleon = 0x6, + MAX = 0x7 + }; +} \ No newline at end of file diff --git a/version/Core/Public/API/Base.h b/version/Core/Public/API/Base.h index 8f3a477..4672229 100644 --- a/version/Core/Public/API/Base.h +++ b/version/Core/Public/API/Base.h @@ -150,6 +150,15 @@ struct UPrimalColorSet{}; struct FDinoSaddleStruct {}; struct APrimalStructureShipHull{}; struct APrimalStructureSail; +struct FCollisionResponseSet; +struct FDinoMapMarkerInfo{}; +struct FStatValuePair {}; +struct FHUDElement {}; +struct FConfigMaxItemQuantityOverride {}; +struct FJsonObject {}; +struct FItemMaxItemQuantityOverride {}; +struct FMaxItemQuantityOverride {}; +struct FEventItem {}; // Atlas diff --git a/version/Core/Public/API/Enums.h b/version/Core/Public/API/Enums.h index 1b65f86..8bbf6ea 100644 --- a/version/Core/Public/API/Enums.h +++ b/version/Core/Public/API/Enums.h @@ -40,32 +40,6 @@ enum ECollisionChannel ECC_MAX = 0x23, }; -namespace EChatSendMode -{ - enum Type - { - GlobalChat = 0x0, - ProximityChat = 0x1, - RadioChat = 0x2, - GlobalTribeChat = 0x3, - AllianceChat = 0x4, - MAX = 0x5 - }; -} - -namespace EChatType -{ - enum Type - { - GlobalChat = 0x0, - ProximityChat = 0x1, - RadioChat = 0x2, - GlobalTribeChat = 0x3, - AllianceChat = 0x4, - MAX = 0x5, - }; -} - namespace ETextComparisonLevel { enum Type @@ -716,18 +690,3 @@ namespace EServerOctreeGroup MAX = 0x12, }; } - -namespace EShipType -{ - enum Type - { - Default = 0x0, - Brigantine = 0x1, - Raft = 0x2, - Dinghy = 0x3, - Sloop = 0x4, - Schooner = 0x5, - Galleon = 0x6, - MAX = 0x7 - }; -} \ No newline at end of file diff --git a/version/Core/Public/Ark/ArkApiUtils.h b/version/Core/Public/Ark/ArkApiUtils.h index 4467e88..824cad8 100644 --- a/version/Core/Public/Ark/ArkApiUtils.h +++ b/version/Core/Public/Ark/ArkApiUtils.h @@ -41,9 +41,11 @@ namespace ArkApi void SendServerMessage(AShooterPlayerController* player_controller, FLinearColor msg_color, const T* msg, Args&&... args) { - FString text(FString::Format(msg, std::forward(args)...)); - - player_controller->ClientServerChatDirectMessage(&text, msg_color, false); + if (player_controller) + { + FString text(FString::Format(msg, std::forward(args)...)); + player_controller->ClientServerChatDirectMessage(&text, msg_color, false); + } } /** @@ -62,10 +64,13 @@ namespace ArkApi void SendNotification(AShooterPlayerController* player_controller, FLinearColor color, float display_scale, float display_time, UTexture2D* icon, const T* msg, Args&&... args) { - FString text(FString::Format(msg, std::forward(args)...)); + if (player_controller) + { + FString text(FString::Format(msg, std::forward(args)...)); - player_controller->ClientServerSOTFNotificationCustom(&text, color, display_scale, display_time, icon, - nullptr); + player_controller->ClientServerSOTFNotificationCustom(&text, color, display_scale, display_time, icon, + nullptr); + } } /** @@ -81,13 +86,16 @@ namespace ArkApi void SendChatMessage(AShooterPlayerController* player_controller, const FString& sender_name, const T* msg, Args&&... args) { - const FString text(FString::Format(msg, std::forward(args)...)); + if (player_controller) + { + const FString text(FString::Format(msg, std::forward(args)...)); - FChatMessage chat_message = FChatMessage(); - chat_message.SenderName = sender_name; - chat_message.Message = text; + FChatMessage chat_message = FChatMessage(); + chat_message.SenderName = sender_name; + chat_message.Message = text; - player_controller->ClientChatMessage(chat_message); + player_controller->ClientChatMessage(chat_message); + } } /** @@ -108,8 +116,10 @@ namespace ArkApi for (TWeakObjectPtr player_controller : player_controllers) { AShooterPlayerController* shooter_pc = static_cast(player_controller.Get()); - - shooter_pc->ClientServerChatDirectMessage(&text, msg_color, false); + if (shooter_pc) + { + shooter_pc->ClientServerChatDirectMessage(&text, msg_color, false); + } } } @@ -134,9 +144,11 @@ namespace ArkApi for (TWeakObjectPtr player_controller : player_controllers) { AShooterPlayerController* shooter_pc = static_cast(player_controller.Get()); - - shooter_pc-> - ClientServerSOTFNotificationCustom(&text, color, display_scale, display_time, icon, nullptr); + if (shooter_pc) + { + shooter_pc-> + ClientServerSOTFNotificationCustom(&text, color, display_scale, display_time, icon, nullptr); + } } } @@ -161,8 +173,10 @@ namespace ArkApi for (TWeakObjectPtr player_controller : player_controllers) { AShooterPlayerController* shooter_pc = static_cast(player_controller.Get()); - - shooter_pc->ClientChatMessage(chat_message); + if (shooter_pc) + { + shooter_pc->ClientChatMessage(chat_message); + } } } diff --git a/version/Core/Public/Atlas/AtlasApiUtils.h b/version/Core/Public/Atlas/AtlasApiUtils.h index 1797a9f..a7c2b74 100644 --- a/version/Core/Public/Atlas/AtlasApiUtils.h +++ b/version/Core/Public/Atlas/AtlasApiUtils.h @@ -39,11 +39,13 @@ namespace ArkApi */ template void SendServerMessage(AShooterPlayerController* player_controller, FLinearColor msg_color, const T* msg, - Args&&... args) + Args&&... args) { - FString text(FString::Format(msg, std::forward(args)...)); - - player_controller->ClientServerChatDirectMessage(&text, msg_color, false); + if (player_controller) + { + FString text(FString::Format(msg, std::forward(args)...)); + player_controller->ClientServerChatDirectMessage(&text, msg_color, false); + } } /** @@ -60,12 +62,15 @@ namespace ArkApi */ template void SendNotification(AShooterPlayerController* player_controller, FLinearColor color, float display_scale, - float display_time, UTexture2D* icon, const T* msg, Args&&... args) + float display_time, UTexture2D* icon, const T* msg, Args&&... args) { - FString text(FString::Format(msg, std::forward(args)...)); + if (player_controller) + { + FString text(FString::Format(msg, std::forward(args)...)); - player_controller->ClientServerSOTFNotificationCustom(&text, color, display_scale, display_time, icon, - nullptr); + player_controller->ClientServerSOTFNotificationCustom(&text, color, display_scale, display_time, icon, + nullptr); + } } /** @@ -79,15 +84,18 @@ namespace ArkApi */ template void SendChatMessage(AShooterPlayerController* player_controller, const FString& sender_name, const T* msg, - Args&&... args) + Args&&... args) { - const FString text(FString::Format(msg, std::forward(args)...)); + if (player_controller) + { + const FString text(FString::Format(msg, std::forward(args)...)); - FChatMessage chat_message = FChatMessage(); - chat_message.SenderName = sender_name; - chat_message.Message = text; + FChatMessage chat_message = FChatMessage(); + chat_message.SenderName = sender_name; + chat_message.Message = text; - player_controller->ClientChatMessage(chat_message); + player_controller->ClientChatMessage(chat_message); + } } /** @@ -100,7 +108,7 @@ namespace ArkApi */ template void SendServerMessageToAll(FLinearColor msg_color, const T* msg, - Args&&... args) + Args&&... args) { FString text(FString::Format(msg, std::forward(args)...)); @@ -108,8 +116,10 @@ namespace ArkApi for (TWeakObjectPtr player_controller : player_controllers) { AShooterPlayerController* shooter_pc = static_cast(player_controller.Get()); - - shooter_pc->ClientServerChatDirectMessage(&text, msg_color, false); + if (shooter_pc) + { + shooter_pc->ClientServerChatDirectMessage(&text, msg_color, false); + } } } @@ -126,7 +136,7 @@ namespace ArkApi */ template void SendNotificationToAll(FLinearColor color, float display_scale, - float display_time, UTexture2D* icon, const T* msg, Args&&... args) + float display_time, UTexture2D* icon, const T* msg, Args&&... args) { FString text(FString::Format(msg, std::forward(args)...)); @@ -134,9 +144,11 @@ namespace ArkApi for (TWeakObjectPtr player_controller : player_controllers) { AShooterPlayerController* shooter_pc = static_cast(player_controller.Get()); - - shooter_pc-> - ClientServerSOTFNotificationCustom(&text, color, display_scale, display_time, icon, nullptr); + if (shooter_pc) + { + shooter_pc-> + ClientServerSOTFNotificationCustom(&text, color, display_scale, display_time, icon, nullptr); + } } } @@ -161,8 +173,10 @@ namespace ArkApi for (TWeakObjectPtr player_controller : player_controllers) { AShooterPlayerController* shooter_pc = static_cast(player_controller.Get()); - - shooter_pc->ClientChatMessage(chat_message); + if (shooter_pc) + { + shooter_pc->ClientChatMessage(chat_message); + } } } diff --git a/version/version.vcxproj b/version/version.vcxproj index 1d8f00a..70c5ee9 100644 --- a/version/version.vcxproj +++ b/version/version.vcxproj @@ -9,10 +9,6 @@ Atlas x64 - - Release - x64 - @@ -141,7 +137,6 @@ - $(IntDir)%(RelativeDir) $(IntDir)%(RelativeDir) $(IntDir)%(RelativeDir) @@ -170,13 +165,6 @@ 10.0.17763.0 - - DynamicLibrary - false - true - Unicode - v141 - DynamicLibrary false @@ -195,9 +183,6 @@ - - - @@ -205,12 +190,6 @@ - - false - false - $(VSInstallDir)\DIA SDK\include;$(IncludePath) - ..\lib;$(VSInstallDir)\DIA SDK\lib;$(LibraryPath) - false false @@ -223,28 +202,6 @@ $(VSInstallDir)\DIA SDK\include;$(IncludePath) ..\lib;$(VSInstallDir)\DIA SDK\lib;$(LibraryPath) - - - Level3 - NotUsing - MaxSpeed - true - true - WIN32;NDEBUG;_WINDOWS;_USRDLL;VERSION_EXPORTS;ARK_EXPORTS;%(PreprocessorDefinitions) - stdcpp17 - ..\version\Core\Public; - $(IntDir)%(RelativeDir) - - - Windows - true - true - true - version.def - $(OutDir)ArkApi.lib - /NODEFAULTLIB:libcmt.lib %(AdditionalOptions) - - Level3 @@ -266,7 +223,8 @@ true version.def $(OutDir)AtlasApi.lib - /NODEFAULTLIB:libcmt.lib %(AdditionalOptions) + /NODEFAULTLIB:libcmt.lib /ignore:4099 + %(AdditionalOptions) libcurl.lib;Crypt32.lib;ws2_32.lib;winmm.lib;wldap32.lib;%(AdditionalDependencies) @@ -290,7 +248,8 @@ true version.def $(OutDir)ArkApi.lib - /NODEFAULTLIB:libcmt.lib %(AdditionalOptions) + /NODEFAULTLIB:libcmt.lib /ignore:4099 + %(AdditionalOptions) libcurl.lib;Crypt32.lib;ws2_32.lib;winmm.lib;wldap32.lib;%(AdditionalDependencies)