diff --git a/PythonSDK.vcxproj b/PythonSDK.vcxproj index 386a166c..22934868 100644 --- a/PythonSDK.vcxproj +++ b/PythonSDK.vcxproj @@ -43,6 +43,7 @@ + diff --git a/PythonSDK.vcxproj.filters b/PythonSDK.vcxproj.filters index 98e4e85e..9cb8b90d 100644 --- a/PythonSDK.vcxproj.filters +++ b/PythonSDK.vcxproj.filters @@ -191,6 +191,9 @@ Header Files\UnrealEngine\Core + + Header Files + diff --git a/src/UnrealEngine/Engine_functions.cpp b/src/UnrealEngine/Engine_functions.cpp index e5c23ecf..db0d10ff 100644 --- a/src/UnrealEngine/Engine_functions.cpp +++ b/src/UnrealEngine/Engine_functions.cpp @@ -33568,10 +33568,10 @@ void APlayerController::ServerDestroy() // Function Engine.PlayerController.CanDrop // (Defined, Simulated, Public) // Parameters: -// class AWillowInventory* Inv (Parm) +// class AInventory* Inv (Parm) // bool ReturnValue (Parm, OutParm, ReturnParm) -bool APlayerController::CanDrop(class AWillowInventory* Inv) +bool APlayerController::CanDrop(class AInventory* Inv) { static auto fn = (UFunction *)UObject::Find("Function", "Engine.PlayerController.CanDrop"); @@ -99145,9 +99145,9 @@ bool ADroppedPickup::Pickupable_IsEnabled() // Function Engine.DroppedPickup.GetPickupableInventoryDefinition // (Final, Native, Public) // Parameters: -// class UWillowInventoryDefinition* ReturnValue (Parm, OutParm, ReturnParm) +// class UInventoryDefinition* ReturnValue (Parm, OutParm, ReturnParm) -class UWillowInventoryDefinition* ADroppedPickup::GetPickupableInventoryDefinition() +class UInventoryDefinition* ADroppedPickup::GetPickupableInventoryDefinition() { static auto fn = (UFunction *)UObject::Find("Function", "Engine.DroppedPickup.GetPickupableInventoryDefinition"); @@ -99167,9 +99167,9 @@ class UWillowInventoryDefinition* ADroppedPickup::GetPickupableInventoryDefiniti // Function Engine.DroppedPickup.GetPickupableInventory // (Final, Native, Public) // Parameters: -// class AWillowInventory* ReturnValue (Parm, OutParm, ReturnParm) +// class AInventory* ReturnValue (Parm, OutParm, ReturnParm) -class AWillowInventory* ADroppedPickup::GetPickupableInventory() +class AInventory* ADroppedPickup::GetPickupableInventory() { static auto fn = (UFunction *)UObject::Find("Function", "Engine.DroppedPickup.GetPickupableInventory"); @@ -99393,11 +99393,11 @@ void ADroppedPickup::SetPickupMesh(class UPrimitiveComponent* PickupMesh) // Function Engine.DroppedPickup.InitializeFromInventory // (Public) // Parameters: -// class AWillowInventory* InInv (Parm) +// class AInventory* InInv (Parm) // class APawn* InInstigator (Parm) // bool bEnablePickup (Parm) -void ADroppedPickup::InitializeFromInventory(class AWillowInventory* InInv, class APawn* InInstigator, bool bEnablePickup) +void ADroppedPickup::InitializeFromInventory(class AInventory* InInv, class APawn* InInstigator, bool bEnablePickup) { static auto fn = (UFunction *)UObject::Find("Function", "Engine.DroppedPickup.InitializeFromInventory"); @@ -99920,2502 +99920,6 @@ void AInventory::ReplicatedEvent(const struct FName& VarName) fn->FunctionFlags = flags; } - -// Function Engine.WillowInventory.TryConsume -// (Defined, Simulated, Public) -// Parameters: -// bool ReturnValue (Parm, OutParm, ReturnParm) - -bool AWillowInventory::TryConsume() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.TryConsume"); - - AWillowInventory_TryConsume_Params params; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ((char *)¶ms) + sizeof(params) - sizeof(unsigned long)); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.Consume -// (Simulated, Public) - -void AWillowInventory::Consume() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.Consume"); - - AWillowInventory_Consume_Params params; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; -} - - -// Function Engine.WillowInventory.IsReadied -// (Defined, Simulated, Public) -// Parameters: -// bool ReturnValue (Parm, OutParm, ReturnParm) - -bool AWillowInventory::IsReadied() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.IsReadied"); - - AWillowInventory_IsReadied_Params params; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ((char *)¶ms) + sizeof(params) - sizeof(unsigned long)); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GetHolsteredGearLikenessType -// (Simulated, Native, Public) -// Parameters: -// unsigned char ReturnValue (Parm, OutParm, ReturnParm) - -unsigned char AWillowInventory::GetHolsteredGearLikenessType() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetHolsteredGearLikenessType"); - - AWillowInventory_GetHolsteredGearLikenessType_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.RemoveExternalLikenessConsumer -// (Defined, Public) -// Parameters: -// class AActor* LikenessActor (Parm) - -void AWillowInventory::RemoveExternalLikenessConsumer(class AActor* LikenessActor) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.RemoveExternalLikenessConsumer"); - - AWillowInventory_RemoveExternalLikenessConsumer_Params params; - params.LikenessActor = LikenessActor; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; -} - - -// Function Engine.WillowInventory.AddExternalLikenessConsumer -// (Defined, Public) -// Parameters: -// class AActor* LikenessActor (Parm) - -void AWillowInventory::AddExternalLikenessConsumer(class AActor* LikenessActor) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.AddExternalLikenessConsumer"); - - AWillowInventory_AddExternalLikenessConsumer_Params params; - params.LikenessActor = LikenessActor; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; -} - - -// Function Engine.WillowInventory.GetRarityLevel -// (Defined, Simulated, Public) -// Parameters: -// int ReturnValue (Parm, OutParm, ReturnParm) - -int AWillowInventory::GetRarityLevel() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetRarityLevel"); - - AWillowInventory_GetRarityLevel_Params params; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.SetMark -// (Defined, Net, NetReliable, Event, Public, NetServer) -// Parameters: -// unsigned char NewMark (Parm) - -void AWillowInventory::SetMark(unsigned char NewMark) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.SetMark"); - - AWillowInventory_SetMark_Params params; - params.NewMark = NewMark; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; -} - - -// Function Engine.WillowInventory.GetMark -// (Defined, Simulated, Event, Public) -// Parameters: -// unsigned char ReturnValue (Parm, OutParm, ReturnParm) - -unsigned char AWillowInventory::GetMark() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetMark"); - - AWillowInventory_GetMark_Params params; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.LogInventoryDebug -// (Simulated, Event, Public) - -void AWillowInventory::LogInventoryDebug() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.LogInventoryDebug"); - - AWillowInventory_LogInventoryDebug_Params params; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; -} - - -// Function Engine.WillowInventory.ResetTempStatModifier -// (Simulated, Native, Protected) -// Parameters: -// float NewBaseValue (Parm) - -void AWillowInventory::ResetTempStatModifier(float NewBaseValue) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.ResetTempStatModifier"); - - AWillowInventory_ResetTempStatModifier_Params params; - params.NewBaseValue = NewBaseValue; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; -} - - -// Function Engine.WillowInventory.GetAttributeSlotModifierValue -// (Final, Native, Public) -// Parameters: -// struct FName SlotName (Parm) -// float ReturnValue (Parm, OutParm, ReturnParm) - -float AWillowInventory::GetAttributeSlotModifierValue(const struct FName& SlotName) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetAttributeSlotModifierValue"); - - AWillowInventory_GetAttributeSlotModifierValue_Params params; - params.SlotName = SlotName; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GetAttributeSlotGrade -// (Final, Native, Public) -// Parameters: -// struct FName SlotName (Parm) -// int ReturnValue (Parm, OutParm, ReturnParm) - -int AWillowInventory::GetAttributeSlotGrade(const struct FName& SlotName) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetAttributeSlotGrade"); - - AWillowInventory_GetAttributeSlotGrade_Params params; - params.SlotName = SlotName; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.CloneAttributeSlotData -// (Final, Native, Protected) -// Parameters: -// class AWillowInventory* NewInventory (Parm) - -void AWillowInventory::CloneAttributeSlotData(class AWillowInventory* NewInventory) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.CloneAttributeSlotData"); - - AWillowInventory_CloneAttributeSlotData_Params params; - params.NewInventory = NewInventory; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; -} - - -// Function Engine.WillowInventory.InitializeAttributeSlotsForNameParts -// (Final, Native, Protected) - -void AWillowInventory::InitializeAttributeSlotsForNameParts() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.InitializeAttributeSlotsForNameParts"); - - AWillowInventory_InitializeAttributeSlotsForNameParts_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; -} - - -// Function Engine.WillowInventory.InitializeAttributeSlots -// (Final, Native, Protected) -// Parameters: -// bool bIncludeNameParts (Parm) - -void AWillowInventory::InitializeAttributeSlots(bool bIncludeNameParts) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.InitializeAttributeSlots"); - - AWillowInventory_InitializeAttributeSlots_Params params; - params.bIncludeNameParts = bIncludeNameParts; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; -} - - -// Function Engine.WillowInventory.GetAttributeSlotIndex -// (Final, Native, Protected) -// Parameters: -// struct FName SlotName (Parm) -// int ReturnValue (Parm, OutParm, ReturnParm) - -int AWillowInventory::GetAttributeSlotIndex(const struct FName& SlotName) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetAttributeSlotIndex"); - - AWillowInventory_GetAttributeSlotIndex_Params params; - params.SlotName = SlotName; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.IsFindMissingAttributeSlotPresentationsDebugEnabled -// (Native, Static, Public) -// Parameters: -// bool ReturnValue (Parm, OutParm, ReturnParm) - -bool AWillowInventory::IsFindMissingAttributeSlotPresentationsDebugEnabled() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.IsFindMissingAttributeSlotPresentationsDebugEnabled"); - - AWillowInventory_IsFindMissingAttributeSlotPresentationsDebugEnabled_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - static auto defaultObj = StaticClass()->CreateDefaultObject(); - UnrealSDK::pProcessEvent(defaultObj, fn, ¶ms, ((char *)¶ms) + sizeof(params) - sizeof(unsigned long)); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.ToggleFindMissingAttributeSlotPresentationsDebugEnabled -// (Native, Static, Public) - -void AWillowInventory::ToggleFindMissingAttributeSlotPresentationsDebugEnabled() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.ToggleFindMissingAttributeSlotPresentationsDebugEnabled"); - - AWillowInventory_ToggleFindMissingAttributeSlotPresentationsDebugEnabled_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - static auto defaultObj = StaticClass()->CreateDefaultObject(); - UnrealSDK::pProcessEvent(defaultObj, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; -} - - -// Function Engine.WillowInventory.GetElementalFrame -// (Defined, Simulated, Event, Public) -// Parameters: -// struct FString ReturnValue (Parm, OutParm, ReturnParm, NeedCtorLink) - -struct FString AWillowInventory::GetElementalFrame() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetElementalFrame"); - - AWillowInventory_GetElementalFrame_Params params; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GetZippyFrame -// (Defined, Simulated, Event, Public) -// Parameters: -// struct FString ReturnValue (Parm, OutParm, ReturnParm, NeedCtorLink) - -struct FString AWillowInventory::GetZippyFrame() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetZippyFrame"); - - AWillowInventory_GetZippyFrame_Params params; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GetCategoryKey -// (Defined, Simulated, Event, Public) -// Parameters: -// struct FName ReturnValue (Parm, OutParm, ReturnParm) - -struct FName AWillowInventory::GetCategoryKey() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetCategoryKey"); - - AWillowInventory_GetCategoryKey_Params params; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.ClonePrimaryMeshForUI -// (Defined, Simulated, Event, Public) -// Parameters: -// class UMeshComponent* ReturnValue (Parm, OutParm, ReturnParm, EditInline) - -class UMeshComponent* AWillowInventory::ClonePrimaryMeshForUI() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.ClonePrimaryMeshForUI"); - - AWillowInventory_ClonePrimaryMeshForUI_Params params; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.CloneInventorySkelMeshComponent -// (Defined, Simulated, HasOptionalparams, Protected) -// Parameters: -// class AActor* CloneOwner (Parm) -// class USkeletalMeshComponent* SourceMeshComponent (Parm, EditInline) -// float SourceMeshScale (Parm) -// class USkeletalMeshComponent* DestMeshComponent (OptionalParm, Parm, EditInline) -// class USkeletalMeshComponent* ReturnValue (Parm, OutParm, ReturnParm, EditInline) - -class USkeletalMeshComponent* AWillowInventory::CloneInventorySkelMeshComponent(class AActor* CloneOwner, class USkeletalMeshComponent* SourceMeshComponent, float SourceMeshScale, class USkeletalMeshComponent* DestMeshComponent) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.CloneInventorySkelMeshComponent"); - - AWillowInventory_CloneInventorySkelMeshComponent_Params params; - params.CloneOwner = CloneOwner; - params.SourceMeshComponent = SourceMeshComponent; - params.SourceMeshScale = SourceMeshScale; - params.DestMeshComponent = DestMeshComponent; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.CloneAppearance -// (Defined, Simulated, Event, Public, HasOutparams) -// Parameters: -// class AActor* CloneOwner (Parm) -// class USkeletalMeshComponent* ClonedPrimaryMeshComponent (Parm, EditInline) -// TArray ClonedComponentsAttachedToPrimaryMesh (Parm, OutParm, NeedCtorLink, EditInline) -// class UMaterialInstance* ClonedMeshMaterial (Parm, OutParm) - -void AWillowInventory::CloneAppearance(class AActor* CloneOwner, class USkeletalMeshComponent* ClonedPrimaryMeshComponent, TArray* ClonedComponentsAttachedToPrimaryMesh, class UMaterialInstance** ClonedMeshMaterial) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.CloneAppearance"); - - AWillowInventory_CloneAppearance_Params params; - params.CloneOwner = CloneOwner; - params.ClonedPrimaryMeshComponent = ClonedPrimaryMeshComponent; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; - - if (ClonedComponentsAttachedToPrimaryMesh != nullptr) - *ClonedComponentsAttachedToPrimaryMesh = params.ClonedComponentsAttachedToPrimaryMesh; - if (ClonedMeshMaterial != nullptr) - *ClonedMeshMaterial = params.ClonedMeshMaterial; -} - - -// Function Engine.WillowInventory.ClonePrimaryMesh -// (Simulated, Public) -// Parameters: -// class UMeshComponent* ReturnValue (Parm, OutParm, ReturnParm, EditInline) - -class UMeshComponent* AWillowInventory::ClonePrimaryMesh() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.ClonePrimaryMesh"); - - AWillowInventory_ClonePrimaryMesh_Params params; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.AttachMeshToPickup -// (Simulated, Public) -// Parameters: -// class AActor* Pickup (Parm) - -void AWillowInventory::AttachMeshToPickup(class AActor* Pickup) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.AttachMeshToPickup"); - - AWillowInventory_AttachMeshToPickup_Params params; - params.Pickup = Pickup; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; -} - - -// Function Engine.WillowInventory.GetModelName -// (Simulated, Public) -// Parameters: -// struct FString ReturnValue (Parm, OutParm, ReturnParm, NeedCtorLink) - -struct FString AWillowInventory::GetModelName() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetModelName"); - - AWillowInventory_GetModelName_Params params; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GetDroppedImpactDefinition -// (Simulated, Public) -// Parameters: -// class UImpactDefinition* ReturnValue (Parm, OutParm, ReturnParm) - -class UImpactDefinition* AWillowInventory::GetDroppedImpactDefinition() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetDroppedImpactDefinition"); - - AWillowInventory_GetDroppedImpactDefinition_Params params; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.CompareUIStat -// (Simulated, Native, Public) -// Parameters: -// int StatIdx (Parm) -// class AWillowInventory* CompareTo (Parm) -// int ReturnValue (Parm, OutParm, ReturnParm) - -int AWillowInventory::CompareUIStat(int StatIdx, class AWillowInventory* CompareTo) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.CompareUIStat"); - - AWillowInventory_CompareUIStat_Params params; - params.StatIdx = StatIdx; - params.CompareTo = CompareTo; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.CanBeReadiedOnPickup -// (Defined, Simulated, Public) -// Parameters: -// class APawn* Other (Parm) -// bool ReturnValue (Parm, OutParm, ReturnParm) - -bool AWillowInventory::CanBeReadiedOnPickup(class APawn* Other) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.CanBeReadiedOnPickup"); - - AWillowInventory_CanBeReadiedOnPickup_Params params; - params.Other = Other; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ((char *)¶ms) + sizeof(params) - sizeof(unsigned long)); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.HandlePickupQuery -// (Defined, Simulated, Public) -// Parameters: -// class APawn* Other (Parm) -// FScriptInterface Pickup (Parm) -// bool ReturnValue (Parm, OutParm, ReturnParm) - -bool AWillowInventory::HandlePickupQuery(class APawn* Other, const FScriptInterface& Pickup) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.HandlePickupQuery"); - - AWillowInventory_HandlePickupQuery_Params params; - params.Other = Other; - params.Pickup = Pickup; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ((char *)¶ms) + sizeof(params) - sizeof(unsigned long)); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.CanBeUsedBy -// (Defined, Simulated, Public) -// Parameters: -// class APawn* Other (Parm) -// bool ReturnValue (Parm, OutParm, ReturnParm) - -bool AWillowInventory::CanBeUsedBy(class APawn* Other) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.CanBeUsedBy"); - - AWillowInventory_CanBeUsedBy_Params params; - params.Other = Other; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ((char *)¶ms) + sizeof(params) - sizeof(unsigned long)); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.IsConsumable -// (Defined, Simulated, Public) -// Parameters: -// bool ReturnValue (Parm, OutParm, ReturnParm) - -bool AWillowInventory::IsConsumable() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.IsConsumable"); - - AWillowInventory_IsConsumable_Params params; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ((char *)¶ms) + sizeof(params) - sizeof(unsigned long)); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.IsDLCRequirementMet -// (Native, Public) -// Parameters: -// class APlayerController* Other (Parm) -// bool ReturnValue (Parm, OutParm, ReturnParm) - -bool AWillowInventory::IsDLCRequirementMet(class APlayerController* Other) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.IsDLCRequirementMet"); - - AWillowInventory_IsDLCRequirementMet_Params params; - params.Other = Other; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ((char *)¶ms) + sizeof(params) - sizeof(unsigned long)); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GetDLCRestrictedMessage -// (Native, HasOptionalparams, Public) -// Parameters: -// class APlayerController* Other (Parm) -// bool bShort (OptionalParm, Parm) -// struct FString ReturnValue (Parm, OutParm, ReturnParm, NeedCtorLink) - -struct FString AWillowInventory::GetDLCRestrictedMessage(class APlayerController* Other, bool bShort) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetDLCRestrictedMessage"); - - AWillowInventory_GetDLCRestrictedMessage_Params params; - params.Other = Other; - params.bShort = bShort; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GetPawnController -// (Defined, Simulated, Public) -// Parameters: -// class APawn* Other (Parm) -// class APlayerController* ReturnValue (Parm, OutParm, ReturnParm) - -class APlayerController* AWillowInventory::GetPawnController(class APawn* Other) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetPawnController"); - - AWillowInventory_GetPawnController_Params params; - params.Other = Other; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.TranslateUseFailure -// (Defined, Simulated, Event, Protected, HasOutparams) -// Parameters: -// class APawn* Other (Parm) -// int FailureFlag (Parm) -// struct FString Output (Parm, OutParm, NeedCtorLink) - -void AWillowInventory::TranslateUseFailure(class APawn* Other, int FailureFlag, struct FString* Output) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.TranslateUseFailure"); - - AWillowInventory_TranslateUseFailure_Params params; - params.Other = Other; - params.FailureFlag = FailureFlag; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; - - if (Output != nullptr) - *Output = params.Output; -} - - -// Function Engine.WillowInventory.GetUseFailureOPLevelMessage -// (Native, Static, Public) -// Parameters: -// struct FString ReturnValue (Parm, OutParm, ReturnParm, NeedCtorLink) - -struct FString AWillowInventory::GetUseFailureOPLevelMessage() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetUseFailureOPLevelMessage"); - - AWillowInventory_GetUseFailureOPLevelMessage_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - static auto defaultObj = StaticClass()->CreateDefaultObject(); - UnrealSDK::pProcessEvent(defaultObj, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GetLastCanBeUsedByResult -// (Native, Public) -// Parameters: -// class APawn* Other (Parm) -// struct FString ReturnValue (Parm, OutParm, ReturnParm, NeedCtorLink) - -struct FString AWillowInventory::GetLastCanBeUsedByResult(class APawn* Other) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetLastCanBeUsedByResult"); - - AWillowInventory_GetLastCanBeUsedByResult_Params params; - params.Other = Other; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.IsLevelRequirementMet -// (Defined, Simulated, Event, HasOptionalparams, Public, HasOutparams) -// Parameters: -// class AController* C (Parm) -// int RequiredLevel (OptionalParm, Parm, OutParm) -// bool ReturnValue (Parm, OutParm, ReturnParm) - -bool AWillowInventory::IsLevelRequirementMet(class AController* C, int* RequiredLevel) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.IsLevelRequirementMet"); - - AWillowInventory_IsLevelRequirementMet_Params params; - params.C = C; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ((char *)¶ms) + sizeof(params) - sizeof(unsigned long)); - - fn->FunctionFlags = flags; - - if (RequiredLevel != nullptr) - *RequiredLevel = params.RequiredLevel; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GetControllerPlayerExpLevelRequiredToUse -// (Defined, Simulated, Public) -// Parameters: -// class AController* OtherController (Parm) -// int ReturnValue (Parm, OutParm, ReturnParm) - -int AWillowInventory::GetControllerPlayerExpLevelRequiredToUse(class AController* OtherController) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetControllerPlayerExpLevelRequiredToUse"); - - AWillowInventory_GetControllerPlayerExpLevelRequiredToUse_Params params; - params.OtherController = OtherController; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GetPlayerExpLevelRequiredToUse -// (Defined, Simulated, Public) -// Parameters: -// class APawn* Other (Parm) -// int ReturnValue (Parm, OutParm, ReturnParm) - -int AWillowInventory::GetPlayerExpLevelRequiredToUse(class APawn* Other) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetPlayerExpLevelRequiredToUse"); - - AWillowInventory_GetPlayerExpLevelRequiredToUse_Params params; - params.Other = Other; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.CreateClone -// (Simulated, Public) -// Parameters: -// class AWillowInventory* ReturnValue (Parm, OutParm, ReturnParm) - -class AWillowInventory* AWillowInventory::CreateClone() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.CreateClone"); - - AWillowInventory_CreateClone_Params params; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GivenTo -// (Defined, HasOptionalparams, Public) -// Parameters: -// class APawn* thisPawn (Parm) -// bool bReady (Parm) -// bool bDoNotActivate (OptionalParm, Parm) - -void AWillowInventory::GivenTo(class APawn* thisPawn, bool bReady, bool bDoNotActivate) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GivenTo"); - - AWillowInventory_GivenTo_Params params; - params.thisPawn = thisPawn; - params.bReady = bReady; - params.bDoNotActivate = bDoNotActivate; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; -} - - -// Function Engine.WillowInventory.IsItemAutoUsedBy -// (Defined, Simulated, Event, Public) -// Parameters: -// class APawn* Other (Parm) -// bool ReturnValue (Parm, OutParm, ReturnParm) - -bool AWillowInventory::IsItemAutoUsedBy(class APawn* Other) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.IsItemAutoUsedBy"); - - AWillowInventory_IsItemAutoUsedBy_Params params; - params.Other = Other; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ((char *)¶ms) + sizeof(params) - sizeof(unsigned long)); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GetInventorySpaceRequirement -// (Final, Native, Public) -// Parameters: -// int ReturnValue (Parm, OutParm, ReturnParm) - -int AWillowInventory::GetInventorySpaceRequirement() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetInventorySpaceRequirement"); - - AWillowInventory_GetInventorySpaceRequirement_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.ClientSoldTo -// (Net, NetReliable, Simulated, Public, NetClient) -// Parameters: -// bool bSoldAll (Parm) - -void AWillowInventory::ClientSoldTo(bool bSoldAll) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.ClientSoldTo"); - - AWillowInventory_ClientSoldTo_Params params; - params.bSoldAll = bSoldAll; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; -} - - -// Function Engine.WillowInventory.RemoveFromShop -// (Public) - -void AWillowInventory::RemoveFromShop() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.RemoveFromShop"); - - AWillowInventory_RemoveFromShop_Params params; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; -} - - -// Function Engine.WillowInventory.SoldTo -// (Defined, HasOptionalparams, Public) -// Parameters: -// class APawn* Buyer (Parm) -// int SellQuantity (OptionalParm, Parm) -// bool bReady (OptionalParm, Parm) - -void AWillowInventory::SoldTo(class APawn* Buyer, int SellQuantity, bool bReady) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.SoldTo"); - - AWillowInventory_SoldTo_Params params; - params.Buyer = Buyer; - params.SellQuantity = SellQuantity; - params.bReady = bReady; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; -} - - -// Function Engine.WillowInventory.MissionDenyPickup -// (Defined, Public) -// Parameters: -// bool ReturnValue (Parm, OutParm, ReturnParm) - -bool AWillowInventory::MissionDenyPickup() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.MissionDenyPickup"); - - AWillowInventory_MissionDenyPickup_Params params; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ((char *)¶ms) + sizeof(params) - sizeof(unsigned long)); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.CreatePickup -// (Defined, HasOptionalparams, Public) -// Parameters: -// bool bDroppedPickup (Parm) -// bool bEnablePickup (Parm) -// struct FVector StartLocation (OptionalParm, Parm) -// class ADroppedPickup* ReturnValue (Parm, OutParm, ReturnParm) - -class ADroppedPickup* AWillowInventory::CreatePickup(bool bDroppedPickup, bool bEnablePickup, const struct FVector& StartLocation) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.CreatePickup"); - - AWillowInventory_CreatePickup_Params params; - params.bDroppedPickup = bDroppedPickup; - params.bEnablePickup = bEnablePickup; - params.StartLocation = StartLocation; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GetPickup -// (Defined, Public) -// Parameters: -// bool bDisableRigidBody (Parm) -// bool bEnablePickup (Parm) -// class ADroppedPickup* ReturnValue (Parm, OutParm, ReturnParm) - -class ADroppedPickup* AWillowInventory::GetPickup(bool bDisableRigidBody, bool bEnablePickup) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetPickup"); - - AWillowInventory_GetPickup_Params params; - params.bDisableRigidBody = bDisableRigidBody; - params.bEnablePickup = bEnablePickup; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.DropFromNative -// (Defined, Event, HasOptionalparams, Public) -// Parameters: -// struct FVector StartLocation (Parm) -// struct FVector StartVelocity (Parm) -// bool bForceNoRBPhysics (OptionalParm, Parm) -// bool bTorque (OptionalParm, Parm) -// struct FVector Torque (OptionalParm, Parm) -// class ADroppedPickup* ReturnValue (Parm, OutParm, ReturnParm) - -class ADroppedPickup* AWillowInventory::DropFromNative(const struct FVector& StartLocation, const struct FVector& StartVelocity, bool bForceNoRBPhysics, bool bTorque, const struct FVector& Torque) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.DropFromNative"); - - AWillowInventory_DropFromNative_Params params; - params.StartLocation = StartLocation; - params.StartVelocity = StartVelocity; - params.bForceNoRBPhysics = bForceNoRBPhysics; - params.bTorque = bTorque; - params.Torque = Torque; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.DropFrom -// (Defined, HasOptionalparams, Public) -// Parameters: -// struct FVector StartLocation (Parm) -// struct FVector StartVelocity (Parm) -// bool bForceNoRBPhysics (OptionalParm, Parm) -// bool bTorque (OptionalParm, Parm) -// struct FVector Torque (OptionalParm, Parm) -// class ADroppedPickup* ReturnValue (Parm, OutParm, ReturnParm) - -class ADroppedPickup* AWillowInventory::DropFrom(const struct FVector& StartLocation, const struct FVector& StartVelocity, bool bForceNoRBPhysics, bool bTorque, const struct FVector& Torque) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.DropFrom"); - - AWillowInventory_DropFrom_Params params; - params.StartLocation = StartLocation; - params.StartVelocity = StartVelocity; - params.bForceNoRBPhysics = bForceNoRBPhysics; - params.bTorque = bTorque; - params.Torque = Torque; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GetDroppedPickupRotation -// (Defined, Public) -// Parameters: -// struct FRotator ReturnValue (Parm, OutParm, ReturnParm) - -struct FRotator AWillowInventory::GetDroppedPickupRotation() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetDroppedPickupRotation"); - - AWillowInventory_GetDroppedPickupRotation_Params params; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.PickupDisassociated -// (Public) -// Parameters: -// class ADroppedPickup* Pickup (Parm) - -void AWillowInventory::PickupDisassociated(class ADroppedPickup* Pickup) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.PickupDisassociated"); - - AWillowInventory_PickupDisassociated_Params params; - params.Pickup = Pickup; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; -} - - -// Function Engine.WillowInventory.PickupAssociated -// (Public) -// Parameters: -// class ADroppedPickup* Pickup (Parm) - -void AWillowInventory::PickupAssociated(class ADroppedPickup* Pickup) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.PickupAssociated"); - - AWillowInventory_PickupAssociated_Params params; - params.Pickup = Pickup; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; -} - - -// Function Engine.WillowInventory.SpawnPickup -// (Defined, Event, Public) -// Parameters: -// class ADroppedPickup* ReturnValue (Parm, OutParm, ReturnParm) - -class ADroppedPickup* AWillowInventory::SpawnPickup() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.SpawnPickup"); - - AWillowInventory_SpawnPickup_Params params; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.InitConstructPreview -// (Defined, Event, Static, Public) -// Parameters: -// class UMeshComponent* PreviewComponent (Parm, EditInline) -// class UWillowInventoryDefinition* InvDef (Parm) -// class UMeshComponent* ReturnValue (Parm, OutParm, ReturnParm, EditInline) - -class UMeshComponent* AWillowInventory::InitConstructPreview(class UMeshComponent* PreviewComponent, class UWillowInventoryDefinition* InvDef) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.InitConstructPreview"); - - AWillowInventory_InitConstructPreview_Params params; - params.PreviewComponent = PreviewComponent; - params.InvDef = InvDef; - - auto flags = fn->FunctionFlags; - - static auto defaultObj = StaticClass()->CreateDefaultObject(); - UnrealSDK::pProcessEvent(defaultObj, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.PlayPickupSound -// (Defined, Public) -// Parameters: -// class APawn* Other (Parm) -// bool bEquipped (Parm) - -void AWillowInventory::PlayPickupSound(class APawn* Other, bool bEquipped) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.PlayPickupSound"); - - AWillowInventory_PlayPickupSound_Params params; - params.Other = Other; - params.bEquipped = bEquipped; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; -} - - -// Function Engine.WillowInventory.AnnouncePickup -// (Defined, Public) -// Parameters: -// class APawn* Other (Parm) - -void AWillowInventory::AnnouncePickup(class APawn* Other) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.AnnouncePickup"); - - AWillowInventory_AnnouncePickup_Params params; - params.Other = Other; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; -} - - -// Function Engine.WillowInventory.GetTemplateString -// (Defined, Simulated, HasOptionalparams, Public) -// Parameters: -// int Switch (OptionalParm, Parm) -// class APlayerReplicationInfo* RelatedPRI_2 (OptionalParm, Parm) -// class APlayerReplicationInfo* RelatedPRI_3 (OptionalParm, Parm) -// struct FString ReturnValue (Parm, OutParm, ReturnParm, NeedCtorLink) - -struct FString AWillowInventory::GetTemplateString(int Switch, class APlayerReplicationInfo* RelatedPRI_2, class APlayerReplicationInfo* RelatedPRI_3) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetTemplateString"); - - AWillowInventory_GetTemplateString_Params params; - params.Switch = Switch; - params.RelatedPRI_2 = RelatedPRI_2; - params.RelatedPRI_3 = RelatedPRI_3; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.ConsumeItem -// (Defined, Simulated, Public) - -void AWillowInventory::ConsumeItem() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.ConsumeItem"); - - AWillowInventory_ConsumeItem_Params params; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; -} - - -// Function Engine.WillowInventory.GetHumanReadableNameNativeHook -// (Defined, Simulated, Event, Public) -// Parameters: -// struct FString ReturnValue (Parm, OutParm, ReturnParm, NeedCtorLink) - -struct FString AWillowInventory::GetHumanReadableNameNativeHook() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetHumanReadableNameNativeHook"); - - AWillowInventory_GetHumanReadableNameNativeHook_Params params; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GetInventoryCardString -// (Simulated, Event, Public) -// Parameters: -// bool bIncludeManufacturer (Parm) -// bool bIncludeModelName (Parm) -// bool bIncludePrefixTitle (Parm) -// struct FString ReturnValue (Parm, OutParm, ReturnParm, NeedCtorLink) - -struct FString AWillowInventory::GetInventoryCardString(bool bIncludeManufacturer, bool bIncludeModelName, bool bIncludePrefixTitle) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetInventoryCardString"); - - AWillowInventory_GetInventoryCardString_Params params; - params.bIncludeManufacturer = bIncludeManufacturer; - params.bIncludeModelName = bIncludeModelName; - params.bIncludePrefixTitle = bIncludePrefixTitle; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GetPresentationDefinition -// (Native, Public) -// Parameters: -// class UInventoryCardPresentationDefinition* ReturnValue (Parm, OutParm, ReturnParm) - -class UInventoryCardPresentationDefinition* AWillowInventory::GetPresentationDefinition() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetPresentationDefinition"); - - AWillowInventory_GetPresentationDefinition_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GetShortHumanReadableName -// (Defined, Simulated, Event, Public) -// Parameters: -// struct FString ReturnValue (Parm, OutParm, ReturnParm, NeedCtorLink) - -struct FString AWillowInventory::GetShortHumanReadableName() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetShortHumanReadableName"); - - AWillowInventory_GetShortHumanReadableName_Params params; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GetHumanReadableName -// (Defined, Simulated, Public) -// Parameters: -// struct FString ReturnValue (Parm, OutParm, ReturnParm, NeedCtorLink) - -struct FString AWillowInventory::GetHumanReadableName() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetHumanReadableName"); - - AWillowInventory_GetHumanReadableName_Params params; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.CanThrow -// (Defined, Simulated, Public) -// Parameters: -// bool ReturnValue (Parm, OutParm, ReturnParm) - -bool AWillowInventory::CanThrow() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.CanThrow"); - - AWillowInventory_CanThrow_Params params; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ((char *)¶ms) + sizeof(params) - sizeof(unsigned long)); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.CanInventoryBeSoldOrStoredByOwner -// (Defined, Simulated, Public) -// Parameters: -// bool ReturnValue (Parm, OutParm, ReturnParm) - -bool AWillowInventory::CanInventoryBeSoldOrStoredByOwner() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.CanInventoryBeSoldOrStoredByOwner"); - - AWillowInventory_CanInventoryBeSoldOrStoredByOwner_Params params; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ((char *)¶ms) + sizeof(params) - sizeof(unsigned long)); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.CanInventoryBeDroppedByOwner -// (Defined, Simulated, Public) -// Parameters: -// bool ReturnValue (Parm, OutParm, ReturnParm) - -bool AWillowInventory::CanInventoryBeDroppedByOwner() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.CanInventoryBeDroppedByOwner"); - - AWillowInventory_CanInventoryBeDroppedByOwner_Params params; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ((char *)¶ms) + sizeof(params) - sizeof(unsigned long)); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.PassesDroppabilityCheck -// (Defined, Simulated, Public) -// Parameters: -// unsigned char MaxDroppability (Parm) -// bool ReturnValue (Parm, OutParm, ReturnParm) - -bool AWillowInventory::PassesDroppabilityCheck(unsigned char MaxDroppability) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.PassesDroppabilityCheck"); - - AWillowInventory_PassesDroppabilityCheck_Params params; - params.MaxDroppability = MaxDroppability; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ((char *)¶ms) + sizeof(params) - sizeof(unsigned long)); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.StaticCreateCompositeMesh -// (Native, Static, Public, HasOutparams) -// Parameters: -// TArray PartMeshes (Const, Parm, OutParm, NeedCtorLink) -// class USkeletalMesh* ReturnValue (Parm, OutParm, ReturnParm) - -class USkeletalMesh* AWillowInventory::StaticCreateCompositeMesh(TArray* PartMeshes) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.StaticCreateCompositeMesh"); - - AWillowInventory_StaticCreateCompositeMesh_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - static auto defaultObj = StaticClass()->CreateDefaultObject(); - UnrealSDK::pProcessEvent(defaultObj, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - if (PartMeshes != nullptr) - *PartMeshes = params.PartMeshes; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.OverrideMonetaryValue -// (Defined, Public) -// Parameters: -// int NewMonetaryValue (Parm) - -void AWillowInventory::OverrideMonetaryValue(int NewMonetaryValue) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.OverrideMonetaryValue"); - - AWillowInventory_OverrideMonetaryValue_Params params; - params.NewMonetaryValue = NewMonetaryValue; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; -} - - -// Function Engine.WillowInventory.ComputeMonetaryValue -// (Native, Protected) -// Parameters: -// int ReturnValue (Parm, OutParm, ReturnParm) - -int AWillowInventory::ComputeMonetaryValue() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.ComputeMonetaryValue"); - - AWillowInventory_ComputeMonetaryValue_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GetCappedCurrencyAmount -// (Final, Native, Static, Public) -// Parameters: -// unsigned char FormOfCurrency (Parm) -// int Amount (Parm) -// int ReturnValue (Parm, OutParm, ReturnParm) - -int AWillowInventory::GetCappedCurrencyAmount(unsigned char FormOfCurrency, int Amount) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetCappedCurrencyAmount"); - - AWillowInventory_GetCappedCurrencyAmount_Params params; - params.FormOfCurrency = FormOfCurrency; - params.Amount = Amount; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - static auto defaultObj = StaticClass()->CreateDefaultObject(); - UnrealSDK::pProcessEvent(defaultObj, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GetMonetaryValueInCurrency -// (Final, Native, Public) -// Parameters: -// unsigned char FormOfCurrency (Parm) -// int ReturnValue (Parm, OutParm, ReturnParm) - -int AWillowInventory::GetMonetaryValueInCurrency(unsigned char FormOfCurrency) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetMonetaryValueInCurrency"); - - AWillowInventory_GetMonetaryValueInCurrency_Params params; - params.FormOfCurrency = FormOfCurrency; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GetMonetaryValue -// (Final, Native, Public) -// Parameters: -// int ReturnValue (Parm, OutParm, ReturnParm) - -int AWillowInventory::GetMonetaryValue() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetMonetaryValue"); - - AWillowInventory_GetMonetaryValue_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GetCurrencyTypeInventoryIsValuedIn -// (Final, Native, Public) -// Parameters: -// unsigned char ReturnValue (Parm, OutParm, ReturnParm) - -unsigned char AWillowInventory::GetCurrencyTypeInventoryIsValuedIn() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetCurrencyTypeInventoryIsValuedIn"); - - AWillowInventory_GetCurrencyTypeInventoryIsValuedIn_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.ClientInitializeInventoryFromDefinition -// (Defined, Simulated, Public) - -void AWillowInventory::ClientInitializeInventoryFromDefinition() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.ClientInitializeInventoryFromDefinition"); - - AWillowInventory_ClientInitializeInventoryFromDefinition_Params params; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; -} - - -// Function Engine.WillowInventory.InitializeInventory -// (Defined, Event, Public) -// Parameters: -// class UBaseBalanceDefinition* InBalanceDef (Parm) -// class UManufacturerDefinition* InManufacturer (Parm) -// int InGradeIndex (Parm) -// class UObject* InAdditionalQueryInterfaceSource (Parm) - -void AWillowInventory::InitializeInventory(class UBaseBalanceDefinition* InBalanceDef, class UManufacturerDefinition* InManufacturer, int InGradeIndex, class UObject* InAdditionalQueryInterfaceSource) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.InitializeInventory"); - - AWillowInventory_InitializeInventory_Params params; - params.InBalanceDef = InBalanceDef; - params.InManufacturer = InManufacturer; - params.InGradeIndex = InGradeIndex; - params.InAdditionalQueryInterfaceSource = InAdditionalQueryInterfaceSource; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; -} - - -// Function Engine.WillowInventory.GetUniqueID -// (Final, Native, Public) -// Parameters: -// int ReturnValue (Parm, OutParm, ReturnParm) - -int AWillowInventory::GetUniqueID() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetUniqueID"); - - AWillowInventory_GetUniqueID_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GenerateUniqueID -// (Native, Static, Public) -// Parameters: -// int ReturnValue (Parm, OutParm, ReturnParm) - -int AWillowInventory::GenerateUniqueID() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GenerateUniqueID"); - - AWillowInventory_GenerateUniqueID_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - static auto defaultObj = StaticClass()->CreateDefaultObject(); - UnrealSDK::pProcessEvent(defaultObj, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GetBalancedActorTypeIdentifier -// (Final, Native, Public) -// Parameters: -// struct FName ReturnValue (Parm, OutParm, ReturnParm) - -struct FName AWillowInventory::GetBalancedActorTypeIdentifier() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetBalancedActorTypeIdentifier"); - - AWillowInventory_GetBalancedActorTypeIdentifier_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.SetExpLevel -// (Final, Native, Public) -// Parameters: -// int NewExpLevel (Parm) - -void AWillowInventory::SetExpLevel(int NewExpLevel) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.SetExpLevel"); - - AWillowInventory_SetExpLevel_Params params; - params.NewExpLevel = NewExpLevel; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; -} - - -// Function Engine.WillowInventory.SetAwesomeLevel -// (Final, Native, Public) -// Parameters: -// int NewAwesomeLevel (Parm) - -void AWillowInventory::SetAwesomeLevel(int NewAwesomeLevel) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.SetAwesomeLevel"); - - AWillowInventory_SetAwesomeLevel_Params params; - params.NewAwesomeLevel = NewAwesomeLevel; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; -} - - -// Function Engine.WillowInventory.SetGameStage -// (Final, Native, Public) -// Parameters: -// int NewGameStage (Parm) - -void AWillowInventory::SetGameStage(int NewGameStage) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.SetGameStage"); - - AWillowInventory_SetGameStage_Params params; - params.NewGameStage = NewGameStage; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; -} - - -// Function Engine.WillowInventory.GetExpLevelForEquip -// (Final, Native, Public) -// Parameters: -// int ReturnValue (Parm, OutParm, ReturnParm) - -int AWillowInventory::GetExpLevelForEquip() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetExpLevelForEquip"); - - AWillowInventory_GetExpLevelForEquip_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GetExpLevel -// (Final, Native, Public) -// Parameters: -// int ReturnValue (Parm, OutParm, ReturnParm) - -int AWillowInventory::GetExpLevel() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetExpLevel"); - - AWillowInventory_GetExpLevel_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GetAwesomeLevel -// (Final, Native, Public) -// Parameters: -// int ReturnValue (Parm, OutParm, ReturnParm) - -int AWillowInventory::GetAwesomeLevel() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetAwesomeLevel"); - - AWillowInventory_GetAwesomeLevel_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GetGameStage -// (Final, Native, Public) -// Parameters: -// int ReturnValue (Parm, OutParm, ReturnParm) - -int AWillowInventory::GetGameStage() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetGameStage"); - - AWillowInventory_GetGameStage_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.ApplyExternalSlotEffectModifiers -// (Final, Native, HasOptionalparams, Public, HasOutparams) -// Parameters: -// class AController* ContextSource (Parm) -// int MaxSlotsActivated (Parm) -// TArray AttributeModifiers (Parm, OutParm, NeedCtorLink) -// class UObject* OverrideContextSource (OptionalParm, Parm) - -void AWillowInventory::ApplyExternalSlotEffectModifiers(class AController* ContextSource, int MaxSlotsActivated, class UObject* OverrideContextSource, TArray* AttributeModifiers) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.ApplyExternalSlotEffectModifiers"); - - AWillowInventory_ApplyExternalSlotEffectModifiers_Params params; - params.ContextSource = ContextSource; - params.MaxSlotsActivated = MaxSlotsActivated; - params.OverrideContextSource = OverrideContextSource; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; - - if (AttributeModifiers != nullptr) - *AttributeModifiers = params.AttributeModifiers; -} - - -// Function Engine.WillowInventory.ApplyInternalSlotEffectModifiers -// (Final, Native, Public, HasOutparams) -// Parameters: -// bool bBackupSlotEffectsApplied (Parm) -// int MaxSlotsActivated (Parm) -// TArray AttributeModifiers (Parm, OutParm, NeedCtorLink) - -void AWillowInventory::ApplyInternalSlotEffectModifiers(bool bBackupSlotEffectsApplied, int MaxSlotsActivated, TArray* AttributeModifiers) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.ApplyInternalSlotEffectModifiers"); - - AWillowInventory_ApplyInternalSlotEffectModifiers_Params params; - params.bBackupSlotEffectsApplied = bBackupSlotEffectsApplied; - params.MaxSlotsActivated = MaxSlotsActivated; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; - - if (AttributeModifiers != nullptr) - *AttributeModifiers = params.AttributeModifiers; -} - - -// Function Engine.WillowInventory.GetManufacturerGradeIndex -// (Final, Native, Public) -// Parameters: -// int ReturnValue (Parm, OutParm, ReturnParm) - -int AWillowInventory::GetManufacturerGradeIndex() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetManufacturerGradeIndex"); - - AWillowInventory_GetManufacturerGradeIndex_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GetManufacturer -// (Final, Native, Public) -// Parameters: -// class UManufacturerDefinition* ReturnValue (Parm, OutParm, ReturnParm) - -class UManufacturerDefinition* AWillowInventory::GetManufacturer() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetManufacturer"); - - AWillowInventory_GetManufacturer_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GetInventoryDefinition -// (Final, Native, Public) -// Parameters: -// class UWillowInventoryDefinition* ReturnValue (Parm, OutParm, ReturnParm) - -class UWillowInventoryDefinition* AWillowInventory::GetInventoryDefinition() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetInventoryDefinition"); - - AWillowInventory_GetInventoryDefinition_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.IsLevelRequirementsDebugEnabled -// (Final, Native, Static, Public) -// Parameters: -// bool ReturnValue (Parm, OutParm, ReturnParm) - -bool AWillowInventory::IsLevelRequirementsDebugEnabled() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.IsLevelRequirementsDebugEnabled"); - - AWillowInventory_IsLevelRequirementsDebugEnabled_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - static auto defaultObj = StaticClass()->CreateDefaultObject(); - UnrealSDK::pProcessEvent(defaultObj, fn, ¶ms, ((char *)¶ms) + sizeof(params) - sizeof(unsigned long)); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.ToggleLevelRequirementsDebug -// (Final, Native, Static, Public) - -void AWillowInventory::ToggleLevelRequirementsDebug() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.ToggleLevelRequirementsDebug"); - - AWillowInventory_ToggleLevelRequirementsDebug_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - static auto defaultObj = StaticClass()->CreateDefaultObject(); - UnrealSDK::pProcessEvent(defaultObj, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; -} - - -// Function Engine.WillowInventory.GetAttributeSlotIndexByAttributeDef -// (Final, Native, Public) -// Parameters: -// class UAttributeDefinition* AttributeDef (Parm) -// int ReturnValue (Parm, OutParm, ReturnParm) - -int AWillowInventory::GetAttributeSlotIndexByAttributeDef(class UAttributeDefinition* AttributeDef) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetAttributeSlotIndexByAttributeDef"); - - AWillowInventory_GetAttributeSlotIndexByAttributeDef_Params params; - params.AttributeDef = AttributeDef; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GetEquippedStat -// (Defined, Public) -// Parameters: -// struct FName ReturnValue (Parm, OutParm, ReturnParm) - -struct FName AWillowInventory::GetEquippedStat() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetEquippedStat"); - - AWillowInventory_GetEquippedStat_Params params; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.ResetSerialNumber -// (Native, Static, Public, HasOutparams) -// Parameters: -// struct FInventorySerialNumber SerialNumber (Parm, OutParm) - -void AWillowInventory::ResetSerialNumber(struct FInventorySerialNumber* SerialNumber) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.ResetSerialNumber"); - - AWillowInventory_ResetSerialNumber_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - static auto defaultObj = StaticClass()->CreateDefaultObject(); - UnrealSDK::pProcessEvent(defaultObj, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; - - if (SerialNumber != nullptr) - *SerialNumber = params.SerialNumber; -} - - -// Function Engine.WillowInventory.IsSKULoaded -// (Native, Static, Public) -// Parameters: -// struct FInventorySerialNumber SerialNumber (Parm) -// bool ReturnValue (Parm, OutParm, ReturnParm) - -bool AWillowInventory::IsSKULoaded(const struct FInventorySerialNumber& SerialNumber) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.IsSKULoaded"); - - AWillowInventory_IsSKULoaded_Params params; - params.SerialNumber = SerialNumber; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - static auto defaultObj = StaticClass()->CreateDefaultObject(); - UnrealSDK::pProcessEvent(defaultObj, fn, ¶ms, ((char *)¶ms) + sizeof(params) - sizeof(unsigned long)); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.IsSerialNumberNone -// (Native, Static, Public) -// Parameters: -// struct FInventorySerialNumber SerialNumber (Parm) -// bool ReturnValue (Parm, OutParm, ReturnParm) - -bool AWillowInventory::IsSerialNumberNone(const struct FInventorySerialNumber& SerialNumber) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.IsSerialNumberNone"); - - AWillowInventory_IsSerialNumberNone_Params params; - params.SerialNumber = SerialNumber; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - static auto defaultObj = StaticClass()->CreateDefaultObject(); - UnrealSDK::pProcessEvent(defaultObj, fn, ¶ms, ((char *)¶ms) + sizeof(params) - sizeof(unsigned long)); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.PeekIsItem -// (Native, Static, Public) -// Parameters: -// struct FInventorySerialNumber SerialNumber (Parm) -// bool ReturnValue (Parm, OutParm, ReturnParm) - -bool AWillowInventory::PeekIsItem(const struct FInventorySerialNumber& SerialNumber) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.PeekIsItem"); - - AWillowInventory_PeekIsItem_Params params; - params.SerialNumber = SerialNumber; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - static auto defaultObj = StaticClass()->CreateDefaultObject(); - UnrealSDK::pProcessEvent(defaultObj, fn, ¶ms, ((char *)¶ms) + sizeof(params) - sizeof(unsigned long)); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.PeekIsWeapon -// (Native, Static, Public) -// Parameters: -// struct FInventorySerialNumber SerialNumber (Parm) -// bool ReturnValue (Parm, OutParm, ReturnParm) - -bool AWillowInventory::PeekIsWeapon(const struct FInventorySerialNumber& SerialNumber) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.PeekIsWeapon"); - - AWillowInventory_PeekIsWeapon_Params params; - params.SerialNumber = SerialNumber; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - static auto defaultObj = StaticClass()->CreateDefaultObject(); - UnrealSDK::pProcessEvent(defaultObj, fn, ¶ms, ((char *)¶ms) + sizeof(params) - sizeof(unsigned long)); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.GetSerialNumberString -// (Final, Native, Public) -// Parameters: -// struct FString ReturnValue (Parm, OutParm, ReturnParm, NeedCtorLink) - -struct FString AWillowInventory::GetSerialNumberString() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.GetSerialNumberString"); - - AWillowInventory_GetSerialNumberString_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.CreateSerialNumber -// (Native, Public) -// Parameters: -// struct FInventorySerialNumber ReturnValue (Parm, OutParm, ReturnParm) - -struct FInventorySerialNumber AWillowInventory::CreateSerialNumber() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.CreateSerialNumber"); - - AWillowInventory_CreateSerialNumber_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.CreateInventoryFromSerialNumberString -// (Native, Static, Public, HasOutparams) -// Parameters: -// struct FString SerialNumberString (Const, Parm, OutParm, NeedCtorLink) -// class UObject* InAdditionalQueryInterfaceSource (Parm) -// class AWillowInventory* ReturnValue (Parm, OutParm, ReturnParm) - -class AWillowInventory* AWillowInventory::CreateInventoryFromSerialNumberString(class UObject* InAdditionalQueryInterfaceSource, struct FString* SerialNumberString) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.CreateInventoryFromSerialNumberString"); - - AWillowInventory_CreateInventoryFromSerialNumberString_Params params; - params.InAdditionalQueryInterfaceSource = InAdditionalQueryInterfaceSource; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - static auto defaultObj = StaticClass()->CreateDefaultObject(); - UnrealSDK::pProcessEvent(defaultObj, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - if (SerialNumberString != nullptr) - *SerialNumberString = params.SerialNumberString; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventory.CreateInventoryFromSerialNumber -// (Native, Static, Public, HasOutparams) -// Parameters: -// struct FInventorySerialNumber SerialNumber (Const, Parm, OutParm) -// class UObject* InAdditionalQueryInterfaceSource (Parm) -// class AWillowInventory* ReturnValue (Parm, OutParm, ReturnParm) - -class AWillowInventory* AWillowInventory::CreateInventoryFromSerialNumber(class UObject* InAdditionalQueryInterfaceSource, struct FInventorySerialNumber* SerialNumber) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventory.CreateInventoryFromSerialNumber"); - - AWillowInventory_CreateInventoryFromSerialNumber_Params params; - params.InAdditionalQueryInterfaceSource = InAdditionalQueryInterfaceSource; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - static auto defaultObj = StaticClass()->CreateDefaultObject(); - UnrealSDK::pProcessEvent(defaultObj, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - if (SerialNumber != nullptr) - *SerialNumber = params.SerialNumber; - - return params.ReturnValue; -} - - // Function Engine.Weapon.Unreadied // (Defined, Simulated, Protected) @@ -105002,249 +102506,6 @@ void AInventoryManager::ReplicatedEvent(const struct FName& VarName) fn->FunctionFlags = flags; } - -// Function Engine.WillowInventoryDefinition.CanPickupInBulk -// (Defined, Public) -// Parameters: -// bool ReturnValue (Parm, OutParm, ReturnParm) - -bool UWillowInventoryDefinition::CanPickupInBulk() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventoryDefinition.CanPickupInBulk"); - - UWillowInventoryDefinition_CanPickupInBulk_Params params; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ((char *)¶ms) + sizeof(params) - sizeof(unsigned long)); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventoryDefinition.ShouldPlayerAutomaticallyPickup -// (Defined, Public) -// Parameters: -// class APlayerController* PC (Parm) -// bool ReturnValue (Parm, OutParm, ReturnParm) - -bool UWillowInventoryDefinition::ShouldPlayerAutomaticallyPickup(class APlayerController* PC) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventoryDefinition.ShouldPlayerAutomaticallyPickup"); - - UWillowInventoryDefinition_ShouldPlayerAutomaticallyPickup_Params params; - params.PC = PC; - - auto flags = fn->FunctionFlags; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ((char *)¶ms) + sizeof(params) - sizeof(unsigned long)); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventoryDefinition.GetAttributeSlotMaxActivated -// (Final, Native, Public) -// Parameters: -// int ReturnValue (Parm, OutParm, ReturnParm) - -int UWillowInventoryDefinition::GetAttributeSlotMaxActivated() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventoryDefinition.GetAttributeSlotMaxActivated"); - - UWillowInventoryDefinition_GetAttributeSlotMaxActivated_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventoryDefinition.GetLocalizedInventoryName -// (Final, Native, Public) -// Parameters: -// struct FString ReturnValue (Parm, OutParm, ReturnParm, NeedCtorLink) - -struct FString UWillowInventoryDefinition::GetLocalizedInventoryName() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventoryDefinition.GetLocalizedInventoryName"); - - UWillowInventoryDefinition_GetLocalizedInventoryName_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventoryDefinition.GetInventorySpaceRequirement -// (Final, Native, Public) -// Parameters: -// int ReturnValue (Parm, OutParm, ReturnParm) - -int UWillowInventoryDefinition::GetInventorySpaceRequirement() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventoryDefinition.GetInventorySpaceRequirement"); - - UWillowInventoryDefinition_GetInventorySpaceRequirement_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventoryDefinition.GetBaseRarityLevel -// (Final, Native, Public) -// Parameters: -// int ReturnValue (Parm, OutParm, ReturnParm) - -int UWillowInventoryDefinition::GetBaseRarityLevel() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventoryDefinition.GetBaseRarityLevel"); - - UWillowInventoryDefinition_GetBaseRarityLevel_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventoryPartDefinition.ApplyMaterialModifiers -// (Native, Public) -// Parameters: -// class UMaterialInstance* MatInst (Parm) - -void UWillowInventoryPartDefinition::ApplyMaterialModifiers(class UMaterialInstance* MatInst) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventoryPartDefinition.ApplyMaterialModifiers"); - - UWillowInventoryPartDefinition_ApplyMaterialModifiers_Params params; - params.MatInst = MatInst; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; -} - - -// Function Engine.WillowInventoryPartDefinition.GetSkeletalMesh -// (Native, Public) -// Parameters: -// class USkeletalMesh* ReturnValue (Parm, OutParm, ReturnParm) - -class USkeletalMesh* UWillowInventoryPartDefinition::GetSkeletalMesh() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventoryPartDefinition.GetSkeletalMesh"); - - UWillowInventoryPartDefinition_GetSkeletalMesh_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventoryPartDefinition.AddAdditionalGestaltMeshNames -// (Final, Native, Public, HasOutparams) -// Parameters: -// TArray PartMeshNames (Parm, OutParm, NeedCtorLink) - -void UWillowInventoryPartDefinition::AddAdditionalGestaltMeshNames(TArray* PartMeshNames) -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventoryPartDefinition.AddAdditionalGestaltMeshNames"); - - UWillowInventoryPartDefinition_AddAdditionalGestaltMeshNames_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, nullptr); - - fn->FunctionFlags = flags; - - if (PartMeshNames != nullptr) - *PartMeshNames = params.PartMeshNames; -} - - -// Function Engine.WillowInventoryPartDefinition.GetSkeletalMeshName -// (Native, Public) -// Parameters: -// struct FName ReturnValue (Parm, OutParm, ReturnParm) - -struct FName UWillowInventoryPartDefinition::GetSkeletalMeshName() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventoryPartDefinition.GetSkeletalMeshName"); - - UWillowInventoryPartDefinition_GetSkeletalMeshName_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.WillowInventoryPartDefinition.GetRarityLevel -// (Final, Native, Public) -// Parameters: -// int ReturnValue (Parm, OutParm, ReturnParm) - -int UWillowInventoryPartDefinition::GetRarityLevel() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.WillowInventoryPartDefinition.GetRarityLevel"); - - UWillowInventoryPartDefinition_GetRarityLevel_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - // Function Engine.IPickupable.SetInteractionIcon // (Public) // Parameters: @@ -105366,51 +102627,6 @@ bool UIPickupable::Pickupable_IsEnabled() return params.ReturnValue; } - -// Function Engine.IPickupable.GetPickupableInventoryDefinition -// (Native, Public) -// Parameters: -// class UWillowInventoryDefinition* ReturnValue (Parm, OutParm, ReturnParm) - -class UWillowInventoryDefinition* UIPickupable::GetPickupableInventoryDefinition() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.IPickupable.GetPickupableInventoryDefinition"); - - UIPickupable_GetPickupableInventoryDefinition_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - -// Function Engine.IPickupable.GetPickupableInventory -// (Native, Public) -// Parameters: -// class AWillowInventory* ReturnValue (Parm, OutParm, ReturnParm) - -class AWillowInventory* UIPickupable::GetPickupableInventory() -{ - static auto fn = (UFunction *)UObject::Find("Function", "Engine.IPickupable.GetPickupableInventory"); - - UIPickupable_GetPickupableInventory_Params params; - - auto flags = fn->FunctionFlags; - fn->FunctionFlags |= 0x400; - - UnrealSDK::pProcessEvent(this, fn, ¶ms, ¶ms.ReturnValue); - - fn->FunctionFlags = flags; - - return params.ReturnValue; -} - - // Function Engine.IPickupable.GetPickupableMeshActor // (Simulated, Public) // Parameters: diff --git a/src/UnrealSDK.cpp b/src/UnrealSDK.cpp index bd3125b7..40c30268 100644 --- a/src/UnrealSDK.cpp +++ b/src/UnrealSDK.cpp @@ -44,7 +44,10 @@ namespace UnrealSDK int EngineVersion = -1; int ChangelistNumber = -1; - std::map ClassMap = std::map{}; + + std::map ObjectMap = {}; + + std::map ClassMap = {}; void __stdcall hkProcessEvent(UFunction* Function, void* Params, void* Result) { @@ -143,10 +146,12 @@ namespace UnrealSDK std::string str(actualPath); std::size_t slash = str.find_last_of("/\\") + 1; std::size_t dot = str.find_last_of('.'); - Logging::LogF("Found EXE name as '%s.exe'\n", str.substr(slash, dot - slash).c_str()); + std::string exeName = str.substr(slash, dot - slash); + Logging::LogF("Found EXE name as '%s.exe'\n", exeName.c_str()); + ObjectMap = game_object_map[str.substr(slash, dot - slash)]; CSigScan sigscan(Util::Widen(str.substr(slash, dot - slash) + ".exe").c_str()); - Signatures::InitSignatures(str.substr(slash, dot - slash)); + Signatures::InitSignatures(exeName); pGObjects = *(void**)sigscan.Scan(Signatures::GObjects); Logging::LogF("[Internal] GObjects = 0x%p\n", pGObjects); @@ -226,8 +231,7 @@ namespace UnrealSDK bool getCanvasPostRender(UObject* Caller, UFunction* Function, FStruct* Params) { // Set console key to Tilde if not already set - gameConsole = static_cast(UObject::Find("WillowConsole", - "Transient.WillowGameEngine_0:WillowGameViewportClient_0.WillowConsole_0") + gameConsole = static_cast(UObject::Find(ObjectMap["ConsoleObjectType"].c_str(), ObjectMap["ConsoleObjectName"].c_str()) ); if (gameConsole == nullptr && gEngine && static_cast(gEngine)->GameViewport) gameConsole = static_cast(gEngine)->GameViewport->ViewportConsole; @@ -263,7 +267,7 @@ namespace UnrealSDK if (!strcmp(Object->Class->GetName(), "Class")) ClassMap[Object->GetName()] = static_cast(Object); - if (!strcmp(Object->GetFullName().c_str(), "WillowGameEngine Transient.WillowGameEngine")) + if (!strcmp(Object->GetFullName().c_str(), ObjectMap["EngineFullName"].c_str())) gEngine = Object; } #ifdef _DEBUG @@ -275,7 +279,7 @@ namespace UnrealSDK Logging::PrintLogHeader(); gHookManager->Remove(Function->GetObjectName(), "StartupSDK"); - gHookManager->Register("WillowGame.WillowGameViewportClient.PostRender", "GetCanvas", getCanvasPostRender); + gHookManager->Register(ObjectMap["PostRenderFunction"], "GetCanvas", getCanvasPostRender); return true; } @@ -343,7 +347,7 @@ namespace UnrealSDK UObject* GetEngine() { if (!gEngine) - gEngine = UObject::Find("WillowGameEngine", "Transient.WillowGameEngine"); + gEngine = UObject::Find(ObjectMap["EngineObjectType"].c_str(), ObjectMap["EngineObjectName"].c_str()); return gEngine; } diff --git a/src/include/Games.h b/src/include/Games.h new file mode 100644 index 00000000..9885881c --- /dev/null +++ b/src/include/Games.h @@ -0,0 +1,113 @@ +#pragma once + +#include "stdafx.h" +#include +#include "MemorySignature.h" + +static std::map bl2_signatures{{ + { + "GNames", { + "\x00\x00\x00\x00\x83\x3C\x81\x00\x74\x5C", + "????xxxxxx", + 10 + }}, + { + "GObjects", { + "\x00\x00\x00\x00\x8B\x04\xB1\x8B\x40\x08", + "????xxxxxx", + 10 + }}, + { + "SetCommand", { + "\xFF\x83\xC4\x0C\x85\xC0\x75\x1A\x6A\x01\x8D", + "xxxxxxxxxxx", + 11 + }}, + { + "ProcessEvent", { + "\x55\x8B\xEC\x6A\xFF\x68\x00\x00\x00\x00\x64\xA1\x00\x00\x00\x00\x50\x83\xEC\x50\xA1\x00\x00\x00\x00\x33\xC5\x89\x45\xF0\x53\x56\x57\x50\x8D\x45\xF4\x64\xA3\x00\x00\x00\x00\x8B\xF1\x89\x75\xEC", + "xxxxxx????xx????xxxxx????xxxxxxxxxxxxxx????xxxxx", + 48 + }}, + { + "CallFunction", { + "\x55\x8B\xEC\x6A\xFF\x68\x00\x00\x00\x00\x64\xA1\x00\x00\x00\x00\x50\x81\xEC\x00\x00\x00\x00\xA1\x00\x00\x00\x00\x33\xC5\x89\x45\xF0\x53\x56\x57\x50\x8D\x45\xF4\x64\xA3\x00\x00\x00\x00\x8B\x7D\x10\x8B\x45\x0C", + "xxxxxx????xx????xxx????x????xxxxxxxxxxxxxx????xxxxxx", + 52 + }}, + { + "FrameStep", { + "\x55\x8B\xEC\x8B\x41\x18\x0F\xB6\x10", + "xxxxxxxxx", + 9 + }}, + { + "StaticConstructor", { + "\x55\x8B\xEC\x6A\xFF\x68\x00\x00\x00\x00\x64\xA1\x00\x00\x00\x00\x50\x83\xEC\x10\x53\x56\x57\xA1\x00\x00\x00\x00\x33\xC5\x50\x8D\x45\xF4\x64\xA3\x00\x00\x00\x00\x8B\x7D\x08\x8A\x87", + "xxxxxx????xx????xxxxxxxx????xxxxxxxx????xxxxx", + 45 + }}, + { + "LoadPackage", { + "\x55\x8B\xEC\x6A\xFF\x68\x00\x00\x00\x00\x64\xA1\x00\x00\x00\x00\x50\x83\xEC\x68\xA1\x00\x00\x00\x00\x33\xC5\x89\x45\xEC", + "xxxxxx????xx????xxxxx????xxxxx", + 30 + }}, + { + "GMalloc", { + "\x00\x00\x00\x00\xFF\xD7\x83\xC4\x04\x89\x45\xE4", + "????xxxxxxxx", + 12 + }}, + { + "FNameInit", { + "\x55\x8B\xEC\x6A\xFF\x68\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x50\x81\xEC\x9C\x0C", + "xxxxxx??????xxxxxxxxx", + 21 + }}, + { + "GetDefaultObject", { + "\x55\x8B\xEC\x56\x8B\xF1\x83\xBE\x00\x01\x00\x00\x00\x57\x0F\x85", + "xxxxxxxx?xxxxxxx", + 16 + }} +}}; + +static std::map tps_signatures{ { + { + "GNames", { + "\x00\x00\x00\x00\x8B\x04\xB1\x5E\x5D\xC3\x8B\x15", + "????xxxxxxxx", + 12 + }}, + {"GObjects", bl2_signatures["GObjects"]}, + {"SetCommand", bl2_signatures["SetCommand"]}, + {"ProcessEvent", bl2_signatures["ProcessEvent"]}, + {"CallFunction", bl2_signatures["CallFunction"]}, + {"FrameStep", bl2_signatures["FrameStep"]}, + {"StaticConstructor", bl2_signatures["StaticConstructor"]}, + {"LoadPackage", bl2_signatures["LoadPackage"]}, + {"GMalloc", bl2_signatures["GMalloc"]}, + {"FNameInit", bl2_signatures["FNameInit"]}, + {"GetDefaultObject", bl2_signatures["GetDefaultObject"]}, +}}; + + +static std::map> game_signature_map{ + {"Borderlands2", bl2_signatures}, + {"BorderlandsPreSequel", tps_signatures} +}; + +static std::map bl2_object_map{ + {"ConsoleObjectType", "WillowConsole"}, + {"ConsoleObjectName", "Transient.WillowGameEngine_0:WillowGameViewportClient_0.WillowConsole_0"}, + {"EngineObjectType", "WillowGameEngine"}, + {"EngineObjectName", "Transient.WillowGameEngine"}, + {"EngineFullName", "WillowGameEngine Transient.WillowGameEngine"}, + {"PostRenderFunction", "WillowGame.WillowGameViewportClient.PostRender"} +}; + +static std::map> game_object_map{ + {"Borderlands2", bl2_object_map}, + {"BorderlandsPreSequel", bl2_object_map}, +}; \ No newline at end of file diff --git a/src/include/Signatures.h b/src/include/Signatures.h index 43d9ea2e..8a1e879f 100644 --- a/src/include/Signatures.h +++ b/src/include/Signatures.h @@ -20,95 +20,20 @@ namespace UnrealSDK MemorySignature GetDefaultObject{}; MemorySignature SetCommand{}; - - void InitBL2() - { - GNames = { - "\x00\x00\x00\x00\x83\x3C\x81\x00\x74\x5C", - "????xxxxxx", - 10 - }; - } - - void InitTPS() - { - GNames = { - "\x00\x00\x00\x00\x8B\x04\xB1\x5E\x5D\xC3\x8B\x15", - "????xxxxxxxx", - 12 - }; - } - - void InitShared() - { - GObjects = { - "\x00\x00\x00\x00\x8B\x04\xB1\x8B\x40\x08", - "????xxxxxx", - 10 - }; - - SetCommand = { - "\xFF\x83\xC4\x0C\x85\xC0\x75\x1A\x6A\x01\x8D", - "xxxxxxxxxxx", - 11 - }; - - ProcessEvent = { - "\x55\x8B\xEC\x6A\xFF\x68\x00\x00\x00\x00\x64\xA1\x00\x00\x00\x00\x50\x83\xEC\x50\xA1\x00\x00\x00\x00\x33\xC5\x89\x45\xF0\x53\x56\x57\x50\x8D\x45\xF4\x64\xA3\x00\x00\x00\x00\x8B\xF1\x89\x75\xEC", - "xxxxxx????xx????xxxxx????xxxxxxxxxxxxxx????xxxxx", - 48 - }; - - CallFunction = { - "\x55\x8B\xEC\x6A\xFF\x68\x00\x00\x00\x00\x64\xA1\x00\x00\x00\x00\x50\x81\xEC\x00\x00\x00\x00\xA1\x00\x00\x00\x00\x33\xC5\x89\x45\xF0\x53\x56\x57\x50\x8D\x45\xF4\x64\xA3\x00\x00\x00\x00\x8B\x7D\x10\x8B\x45\x0C", - "xxxxxx????xx????xxx????x????xxxxxxxxxxxxxx????xxxxxx", - 52 - }; - - FrameStep = { - "\x55\x8B\xEC\x8B\x41\x18\x0F\xB6\x10", - "xxxxxxxxx", - 9 - }; - - StaticConstructor = { - "\x55\x8B\xEC\x6A\xFF\x68\x00\x00\x00\x00\x64\xA1\x00\x00\x00\x00\x50\x83\xEC\x10\x53\x56\x57\xA1\x00\x00\x00\x00\x33\xC5\x50\x8D\x45\xF4\x64\xA3\x00\x00\x00\x00\x8B\x7D\x08\x8A\x87", - "xxxxxx????xx????xxxxxxxx????xxxxxxxx????xxxxx", - 45 - }; - - LoadPackage = { - "\x55\x8B\xEC\x6A\xFF\x68\x00\x00\x00\x00\x64\xA1\x00\x00\x00\x00\x50\x83\xEC\x68\xA1\x00\x00\x00\x00\x33\xC5\x89\x45\xEC", - "xxxxxx????xx????xxxxx????xxxxx", - 30 - }; - - GMalloc = { - "\x00\x00\x00\x00\xFF\xD7\x83\xC4\x04\x89\x45\xE4", - "????xxxxxxxx", - 12 - }; - - FNameInit = { - "\x55\x8B\xEC\x6A\xFF\x68\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x50\x81\xEC\x9C\x0C", - "xxxxxx??????xxxxxxxxx", - 21 - }; - - GetDefaultObject = { - "\x55\x8B\xEC\x56\x8B\xF1\x83\xBE\x00\x01\x00\x00\x00\x57\x0F\x85", - "xxxxxxxx?xxxxxxx", - 16 - }; - } - void InitSignatures(std::string ExeName) { - if (ExeName == "Borderlands2") - InitBL2(); - else - InitTPS(); - InitShared(); + std::map SignatureMap = game_signature_map[ExeName]; + GObjects = SignatureMap["GObjects"]; + GNames = SignatureMap["GNames"]; + ProcessEvent = SignatureMap["ProcessEvent"]; + CallFunction = SignatureMap["CallFunction"]; + FrameStep = SignatureMap["FrameStep"]; + StaticConstructor = SignatureMap["StaticConstructor"]; + LoadPackage = SignatureMap["LoadPackage"]; + GMalloc = SignatureMap["GMalloc"]; + FNameInit = SignatureMap["FNameInit"]; + GetDefaultObject = SignatureMap["GetDefaultObject"]; + SetCommand = SignatureMap["SetCommand"]; } } } diff --git a/src/include/UnrealEngine/Engine/Engine_classes.h b/src/include/UnrealEngine/Engine/Engine_classes.h index 61620424..2e927c54 100644 --- a/src/include/UnrealEngine/Engine/Engine_classes.h +++ b/src/include/UnrealEngine/Engine/Engine_classes.h @@ -178,7 +178,7 @@ class AActor : public UObject unsigned long bProjectileMoveSingleBlocking : 1; // 0x00C0(0x0004) unsigned long bTraceListeners : 1; // 0x00C0(0x0004) unsigned long bIsBlockingMesh : 1; // 0x00C0(0x0004) - unsigned long bIsWillowInteractiveObject : 1; // 0x00C0(0x0004) + unsigned long bIsInteractiveObject : 1; // 0x00C0(0x0004) unsigned long bIgnoreRadiusDamageCheck : 1; // 0x00C0(0x0004) unsigned long bNoEncroachCheck : 1; // 0x00C0(0x0004) (Edit) unsigned long bCollideAsEncroacher : 1; // 0x00C0(0x0004) (Edit) @@ -6550,7 +6550,7 @@ class APlayerController : public AController static int GetPS3SplitScreenPlayerChosenResult(); static void PS3UserSelect(); void ServerDestroy(); - bool CanDrop(class AWillowInventory* Inv); + bool CanDrop(class AInventory* Inv); unsigned char GetDLCPackageMask(); void ClearAllPoolComponents(); void OnGameInviteAcceptedP3(struct FOnlineGameSearchResult* InviteResult); @@ -33035,7 +33035,7 @@ class ADroppedPickup : public AActor { public: struct FPointer VfTable_IIPickupable; // 0x0188(0x0004) (Const, Native, NoExport) - class AWillowInventory* Inventory; // 0x018C(0x0004) (Net, RepNotify) + class AInventory* Inventory; // 0x018C(0x0004) (Net, RepNotify) class ANavigationPoint* PickupCache; // 0x0190(0x0004) unsigned long bFadeOut : 1; // 0x0194(0x0004) (Net, RepNotify) unsigned long bUseRBPhysics : 1; // 0x0194(0x0004) (Net, RepNotify) @@ -33062,8 +33062,8 @@ class ADroppedPickup : public AActor bool IsDiscovered(); bool DenyPickupAttempt(class APlayerController* PC); bool Pickupable_IsEnabled(); - class UWillowInventoryDefinition* GetPickupableInventoryDefinition(); - class AWillowInventory* GetPickupableInventory(); + class UInventoryDefinition* GetPickupableInventoryDefinition(); + class AInventory* GetPickupableInventory(); bool IsPickupableInventoryAutomaticallyPickedUp(); void RecheckValidTouch(); void FailedPickup(); @@ -33074,7 +33074,7 @@ class ADroppedPickup : public AActor void EncroachedBy(class AActor* Other); void SetPickupParticles(class UParticleSystemComponent* PickupParticles); void SetPickupMesh(class UPrimitiveComponent* PickupMesh); - void InitializeFromInventory(class AWillowInventory* InInv, class APawn* InInstigator, bool bEnablePickup); + void InitializeFromInventory(class AInventory* InInv, class APawn* InInstigator, bool bEnablePickup); void Reset(); void ReplicatedEvent(const struct FName& VarName); void Destroyed(); @@ -33133,165 +33133,9 @@ class AInventory : public AActor }; -// Class Engine.WillowInventory -// 0x06D0 (0x01C8 - 0x0898) -class AWillowInventory : public AInventory -{ -public: - struct FPointer VfTable_IIBalancedActor; // 0x01C8(0x0004) (Const, Native, NoExport) - struct FPointer VfTable_IIAttributeSlotEffectProvider; // 0x01CC(0x0004) (Const, Native, NoExport) - int MonetaryValue; // 0x01D0(0x0004) (Edit, Net) - float MonetaryValueModifierTotal; // 0x01D4(0x0004) - int Quantity; // 0x01D8(0x0004) (Edit, Net) - int RarityLevel; // 0x01DC(0x0004) (Net) - int ExpLevel; // 0x01E0(0x0004) - int GameStage; // 0x01E4(0x0004) (Transient) - int AwesomeLevel; // 0x01E8(0x0004) (Transient) - class UObject* AdditionalQueryInterfaceSource; // 0x01EC(0x0004) - float ClonedForSharing; // 0x01F0(0x0004) (Transient) - int LastCanBeUsedByResult; // 0x01F4(0x0004) (Transient) - struct FName ZippyFrame; // 0x01F8(0x0008) - struct FString ItemFrame; // 0x0200(0x000C) (NeedCtorLink) - struct FName ElementalFrame; // 0x020C(0x0008) - struct FName SourceDefinitionName; // 0x0214(0x0008) (Transient) - struct FName SourceResponsibleName; // 0x021C(0x0008) (Transient) - unsigned char ItemLocation; // 0x0224(0x0001) (Transient) - unsigned char Mark; // 0x0225(0x0001) (Net) - unsigned char UnknownData00[0x2]; // 0x0226(0x0002) MISSED OFFSET - unsigned long bShopsHaveInfiniteQuantity : 1; // 0x0228(0x0004) (Const) - unsigned long bOnlyCompareStatsForMatchingAttributes : 1; // 0x0228(0x0004) (Const) - struct FAttributeSlotData AttributeSlots[0x13]; // 0x022C(0x0050) (Const) - float ReplicatedAttributeSlotModifierValues[0x13]; // 0x081C(0x0004) (Const, Net) - class UGBXDefinition* RuntimeAttributeSlotSkill; // 0x0868(0x0004) (Const) - float TempStatModifier; // 0x086C(0x0004) (Transient) - float TempStatModifierBaseValue; // 0x0870(0x0004) (Const) - TArray TempStatModifierModifierStack; // 0x0874(0x000C) (Const, Transient, NeedCtorLink) - TArray AppliedAttributeSlotEffects; // 0x0880(0x000C) (Native, Transient) - TArray ExternalLikenessConsumers; // 0x088C(0x000C) (Transient, NeedCtorLink) - - static UClass* StaticClass() - { - static auto ptr = UObject::FindClass("WillowInventory"); - return ptr; - } - - - bool TryConsume(); - void Consume(); - bool IsReadied(); - unsigned char GetHolsteredGearLikenessType(); - void RemoveExternalLikenessConsumer(class AActor* LikenessActor); - void AddExternalLikenessConsumer(class AActor* LikenessActor); - int GetRarityLevel(); - void SetMark(unsigned char NewMark); - unsigned char GetMark(); - void LogInventoryDebug(); - void ResetTempStatModifier(float NewBaseValue); - float GetAttributeSlotModifierValue(const struct FName& SlotName); - int GetAttributeSlotGrade(const struct FName& SlotName); - void CloneAttributeSlotData(class AWillowInventory* NewInventory); - void InitializeAttributeSlotsForNameParts(); - void InitializeAttributeSlots(bool bIncludeNameParts); - int GetAttributeSlotIndex(const struct FName& SlotName); - static bool IsFindMissingAttributeSlotPresentationsDebugEnabled(); - static void ToggleFindMissingAttributeSlotPresentationsDebugEnabled(); - struct FString GetElementalFrame(); - struct FString GetZippyFrame(); - struct FName GetCategoryKey(); - class UMeshComponent* ClonePrimaryMeshForUI(); - class USkeletalMeshComponent* CloneInventorySkelMeshComponent(class AActor* CloneOwner, class USkeletalMeshComponent* SourceMeshComponent, float SourceMeshScale, class USkeletalMeshComponent* DestMeshComponent); - void CloneAppearance(class AActor* CloneOwner, class USkeletalMeshComponent* ClonedPrimaryMeshComponent, TArray* ClonedComponentsAttachedToPrimaryMesh, class UMaterialInstance** ClonedMeshMaterial); - class UMeshComponent* ClonePrimaryMesh(); - void AttachMeshToPickup(class AActor* Pickup); - struct FString GetModelName(); - class UImpactDefinition* GetDroppedImpactDefinition(); - int CompareUIStat(int StatIdx, class AWillowInventory* CompareTo); - bool CanBeReadiedOnPickup(class APawn* Other); - bool HandlePickupQuery(class APawn* Other, const FScriptInterface& Pickup); - bool CanBeUsedBy(class APawn* Other); - bool IsConsumable(); - bool IsDLCRequirementMet(class APlayerController* Other); - struct FString GetDLCRestrictedMessage(class APlayerController* Other, bool bShort); - class APlayerController* GetPawnController(class APawn* Other); - void TranslateUseFailure(class APawn* Other, int FailureFlag, struct FString* Output); - static struct FString GetUseFailureOPLevelMessage(); - struct FString GetLastCanBeUsedByResult(class APawn* Other); - bool IsLevelRequirementMet(class AController* C, int* RequiredLevel); - int GetControllerPlayerExpLevelRequiredToUse(class AController* OtherController); - int GetPlayerExpLevelRequiredToUse(class APawn* Other); - class AWillowInventory* CreateClone(); - void GivenTo(class APawn* thisPawn, bool bReady, bool bDoNotActivate); - bool IsItemAutoUsedBy(class APawn* Other); - int GetInventorySpaceRequirement(); - void ClientSoldTo(bool bSoldAll); - void RemoveFromShop(); - void SoldTo(class APawn* Buyer, int SellQuantity, bool bReady); - bool MissionDenyPickup(); - class ADroppedPickup* CreatePickup(bool bDroppedPickup, bool bEnablePickup, const struct FVector& StartLocation); - class ADroppedPickup* GetPickup(bool bDisableRigidBody, bool bEnablePickup); - class ADroppedPickup* DropFromNative(const struct FVector& StartLocation, const struct FVector& StartVelocity, bool bForceNoRBPhysics, bool bTorque, const struct FVector& Torque); - class ADroppedPickup* DropFrom(const struct FVector& StartLocation, const struct FVector& StartVelocity, bool bForceNoRBPhysics, bool bTorque, const struct FVector& Torque); - struct FRotator GetDroppedPickupRotation(); - void PickupDisassociated(class ADroppedPickup* Pickup); - void PickupAssociated(class ADroppedPickup* Pickup); - class ADroppedPickup* SpawnPickup(); - static class UMeshComponent* InitConstructPreview(class UMeshComponent* PreviewComponent, class UWillowInventoryDefinition* InvDef); - void PlayPickupSound(class APawn* Other, bool bEquipped); - void AnnouncePickup(class APawn* Other); - struct FString GetTemplateString(int Switch, class APlayerReplicationInfo* RelatedPRI_2, class APlayerReplicationInfo* RelatedPRI_3); - void ConsumeItem(); - struct FString GetHumanReadableNameNativeHook(); - struct FString GetInventoryCardString(bool bIncludeManufacturer, bool bIncludeModelName, bool bIncludePrefixTitle); - class UInventoryCardPresentationDefinition* GetPresentationDefinition(); - struct FString GetShortHumanReadableName(); - struct FString GetHumanReadableName(); - bool CanThrow(); - bool CanInventoryBeSoldOrStoredByOwner(); - bool CanInventoryBeDroppedByOwner(); - bool PassesDroppabilityCheck(unsigned char MaxDroppability); - static class USkeletalMesh* StaticCreateCompositeMesh(TArray* PartMeshes); - void OverrideMonetaryValue(int NewMonetaryValue); - int ComputeMonetaryValue(); - static int GetCappedCurrencyAmount(unsigned char FormOfCurrency, int Amount); - int GetMonetaryValueInCurrency(unsigned char FormOfCurrency); - int GetMonetaryValue(); - unsigned char GetCurrencyTypeInventoryIsValuedIn(); - void ClientInitializeInventoryFromDefinition(); - void InitializeInventory(class UBaseBalanceDefinition* InBalanceDef, class UManufacturerDefinition* InManufacturer, int InGradeIndex, class UObject* InAdditionalQueryInterfaceSource); - int GetUniqueID(); - static int GenerateUniqueID(); - struct FName GetBalancedActorTypeIdentifier(); - void SetExpLevel(int NewExpLevel); - void SetAwesomeLevel(int NewAwesomeLevel); - void SetGameStage(int NewGameStage); - int GetExpLevelForEquip(); - int GetExpLevel(); - int GetAwesomeLevel(); - int GetGameStage(); - void ApplyExternalSlotEffectModifiers(class AController* ContextSource, int MaxSlotsActivated, class UObject* OverrideContextSource, TArray* AttributeModifiers); - void ApplyInternalSlotEffectModifiers(bool bBackupSlotEffectsApplied, int MaxSlotsActivated, TArray* AttributeModifiers); - int GetManufacturerGradeIndex(); - class UManufacturerDefinition* GetManufacturer(); - class UWillowInventoryDefinition* GetInventoryDefinition(); - static bool IsLevelRequirementsDebugEnabled(); - static void ToggleLevelRequirementsDebug(); - int GetAttributeSlotIndexByAttributeDef(class UAttributeDefinition* AttributeDef); - struct FName GetEquippedStat(); - static void ResetSerialNumber(struct FInventorySerialNumber* SerialNumber); - static bool IsSKULoaded(const struct FInventorySerialNumber& SerialNumber); - static bool IsSerialNumberNone(const struct FInventorySerialNumber& SerialNumber); - static bool PeekIsItem(const struct FInventorySerialNumber& SerialNumber); - static bool PeekIsWeapon(const struct FInventorySerialNumber& SerialNumber); - struct FString GetSerialNumberString(); - struct FInventorySerialNumber CreateSerialNumber(); - static class AWillowInventory* CreateInventoryFromSerialNumberString(class UObject* InAdditionalQueryInterfaceSource, struct FString* SerialNumberString); - static class AWillowInventory* CreateInventoryFromSerialNumber(class UObject* InAdditionalQueryInterfaceSource, struct FInventorySerialNumber* SerialNumber); -}; - - // Class Engine.Weapon // 0x0114 (0x0898 - 0x09AC) -class AWeapon : public AWillowInventory +class AWeapon : public AInventory { public: unsigned char CurrentFireMode; // 0x0898(0x0001) @@ -33519,111 +33363,6 @@ class UGearboxCalloutDefinition : public UGBXDefinition }; - -// Class Engine.WillowInventoryDefinition -// 0x0144 (0x003C - 0x0180) -class UWillowInventoryDefinition : public UGBXDefinition -{ -public: - class UClass* InventoryClass; // 0x003C(0x0004) (Edit, Const, EditConst) - unsigned long bAutomaticallyPickup : 1; // 0x0040(0x0004) (Edit, Const) - unsigned long bPickupInBulk : 1; // 0x0040(0x0004) (Edit, Const) - unsigned long bDisallowAIFromGrabbingPickup : 1; // 0x0040(0x0004) (Edit, Const) - unsigned long bDuplicatePickupJustAddsQuantity : 1; // 0x0040(0x0004) (Edit, Const) - unsigned long bSuppressPickupCard : 1; // 0x0040(0x0004) (Edit, Const) - unsigned long bTorque : 1; // 0x0040(0x0004) (Const) - unsigned long bNeverDisplayPickupMessage : 1; // 0x0040(0x0004) (Edit, Const) - unsigned long bShopsHaveInfiniteQuantity : 1; // 0x0040(0x0004) (Edit, Const) - unsigned long bCanCompare : 1; // 0x0040(0x0004) (Edit, Const) - unsigned long bUsesPlayerLevelRequirement : 1; // 0x0040(0x0004) (Edit, Const) - unsigned long bUIMeshRotationNeedsTransformFixup : 1; // 0x0040(0x0004) - unsigned long bIsConsumable : 1; // 0x0040(0x0004) (Edit) - unsigned long bAllowInventoryDefToModifyPartWeight : 1; // 0x0040(0x0004) (Const) - unsigned char PlayerDroppability; // 0x0044(0x0001) (Edit, Const) - unsigned char FormOfCurrency; // 0x0045(0x0001) (Edit, Const) - unsigned char OnUseConstraintsMode; // 0x0046(0x0001) (Edit, Const) - unsigned char AttributeSlotEffectMode; // 0x0047(0x0001) (Edit, Const) - float PickupLifeSpan; // 0x0048(0x0004) (Edit, Const) - float PickupFlagScale; // 0x004C(0x0004) (Edit, Const) - class UTexture2D* PickupFlagIcon; // 0x0050(0x0004) (Edit, Const) - struct FVector PickupFlagOffset; // 0x0054(0x000C) (Edit, Const) - struct FVector Torque; // 0x0060(0x000C) (Edit, Const) - float ThirdPersonMeshScale; // 0x006C(0x0004) (Edit, Const) - TArray PickupSounds; // 0x0070(0x000C) (Edit, Const, NeedCtorLink) - TArray PickupAndEquipSounds; // 0x007C(0x000C) (Edit, Const, NeedCtorLink) - class UClass* MaterialClass; // 0x0088(0x0004) (Edit, Const) - class UPhysicsAsset* PhysicsAsset; // 0x008C(0x0004) (Edit, Const) - struct FString PickupMessage; // 0x0090(0x000C) (Edit, Const, Localized, NeedCtorLink) - struct FString UseFailureLevelMessage; // 0x009C(0x000C) (Edit, Const, Localized, NeedCtorLink) - struct FString UseFailureConstraintsMessage; // 0x00A8(0x000C) (Edit, Const, Localized, NeedCtorLink) - struct FString NoManufacturerName; // 0x00B4(0x000C) (Edit, Const, Localized, NeedCtorLink) - struct FAttributeInitializationData BaseRarity; // 0x00C0(0x0010) (Edit, Const) - struct FAttributeInitializationData MonetaryValue; // 0x00D0(0x0010) (Edit, Const) - float BaseMonetaryValueModifier; // 0x00E0(0x0004) (Edit, Const) - struct FAttributeInitializationData PlayerUseLevelBonus; // 0x00E4(0x0010) (Edit, Const) - TArray OnUseConstraints; // 0x00F4(0x000C) (Edit, Const, NeedCtorLink) - TArray UIStatList; // 0x0100(0x000C) (Edit, Const, NeedCtorLink) - struct FRotator UIMeshRotation; // 0x010C(0x000C) (Edit) - class UInventoryCardPresentationDefinition* Presentation; // 0x0118(0x0004) (Edit) - class UGearboxCalloutDefinition* CalloutDefinition; // 0x011C(0x0004) (Edit, Const) - struct FName PickedUpStatID; // 0x0120(0x0008) (Edit, Const) - struct FName PurchasedStatID; // 0x0128(0x0008) (Edit, Const) - float FocusRadius; // 0x0130(0x0004) (Edit, Const) - struct FVector FocusOffset; // 0x0134(0x000C) (Edit, Const) - struct FAttributeInitializationData AttributeSlotEffectSkillDuration; // 0x0140(0x0010) (Edit, Const) - struct FAttributeInitializationData AttributeSlotBaseGrade; // 0x0150(0x0010) (Edit, Const) - int AttributeSlotMaxActivated; // 0x0160(0x0004) (Edit, Const) - TArray AttributeSlotEffects; // 0x0164(0x000C) (Edit, Const, NeedCtorLink) - TArray AttributeSlotUpgrades; // 0x0170(0x000C) (Edit, Const, NeedCtorLink) - struct FColor LootBeamColorOverride; // 0x017C(0x0004) (Edit, Const) - - static UClass* StaticClass() - { - static auto ptr = UObject::FindClass("WillowInventoryDefinition"); - return ptr; - } - - - bool CanPickupInBulk(); - bool ShouldPlayerAutomaticallyPickup(class APlayerController* PC); - int GetAttributeSlotMaxActivated(); - struct FString GetLocalizedInventoryName(); - int GetInventorySpaceRequirement(); - int GetBaseRarityLevel(); -}; - - -// Class Engine.WillowInventoryPartDefinition -// 0x005C (0x003C - 0x0098) -class UWillowInventoryPartDefinition : public UGBXDefinition -{ -public: - class UMaterialInstanceConstant* Material; // 0x003C(0x0004) (Edit, Const) - unsigned long bIsGestaltMode : 1; // 0x0040(0x0004) (Edit, Const, EditConst) - struct FName GestaltModeSkeletalMeshName; // 0x0044(0x0008) (Edit, Const, EditConst) - class USkeletalMesh* NongestaltSkeletalMesh; // 0x004C(0x0004) (Edit, Const, EditConst) - struct FName AdditionalGestaltModeSkeletalMeshNames[0x2]; // 0x0050(0x0008) (Edit, Const, EditConst) - TArray AttributeSlotEffects; // 0x0060(0x000C) (Edit, Const, NeedCtorLink) - TArray AttributeSlotUpgrades; // 0x006C(0x000C) (Edit, Const, NeedCtorLink) - class UAttributeDefinition* MonetaryValueMod; // 0x0078(0x0004) (Edit, Const) - struct FAttributeInitializationData Rarity; // 0x007C(0x0010) (Edit, Const) - TArray MaterialVectorParameterValues; // 0x008C(0x000C) (Edit, Const, NeedCtorLink) - - static UClass* StaticClass() - { - static auto ptr = UObject::FindClass("WillowInventoryPartDefinition"); - return ptr; - } - - - void ApplyMaterialModifiers(class UMaterialInstance* MatInst); - class USkeletalMesh* GetSkeletalMesh(); - void AddAdditionalGestaltMeshNames(TArray* PartMeshNames); - struct FName GetSkeletalMeshName(); - int GetRarityLevel(); -}; - - // Class Engine.IPickupable // 0x0000 (0x003C - 0x003C) class UIPickupable : public UInterface @@ -33643,8 +33382,8 @@ class UIPickupable : public UInterface void FailedPickup(); bool DenyPickupAttempt(class APlayerController* PC); bool Pickupable_IsEnabled(); - class UWillowInventoryDefinition* GetPickupableInventoryDefinition(); - class AWillowInventory* GetPickupableInventory(); + class UInventoryDefinition* GetPickupableInventoryDefinition(); + class AInventory* GetPickupableInventory(); class APickupableMeshActor* GetPickupableMeshActor(); void GiveTo(class APawn* P, bool bReady); }; diff --git a/src/include/UnrealEngine/Engine/Engine_f_structs.h b/src/include/UnrealEngine/Engine/Engine_f_structs.h index 0ae573fa..cfcdae5a 100644 --- a/src/include/UnrealEngine/Engine/Engine_f_structs.h +++ b/src/include/UnrealEngine/Engine/Engine_f_structs.h @@ -10132,7 +10132,7 @@ struct APlayerController_ServerDestroy_Params // Function Engine.PlayerController.CanDrop struct APlayerController_CanDrop_Params { - class AWillowInventory* Inv; // (Parm) + class AInventory* Inv; // (Parm) unsigned long ReturnValue : 1; // (Parm, OutParm, ReturnParm) }; @@ -29842,13 +29842,13 @@ struct ADroppedPickup_Pickupable_IsEnabled_Params // Function Engine.DroppedPickup.GetPickupableInventoryDefinition struct ADroppedPickup_GetPickupableInventoryDefinition_Params { - class UWillowInventoryDefinition* ReturnValue; // (Parm, OutParm, ReturnParm) + class UInventoryDefinition* ReturnValue; // (Parm, OutParm, ReturnParm) }; // Function Engine.DroppedPickup.GetPickupableInventory struct ADroppedPickup_GetPickupableInventory_Params { - class AWillowInventory* ReturnValue; // (Parm, OutParm, ReturnParm) + class AInventory* ReturnValue; // (Parm, OutParm, ReturnParm) }; // Function Engine.DroppedPickup.IsPickupableInventoryAutomaticallyPickedUp @@ -29916,7 +29916,7 @@ struct ADroppedPickup_SetPickupMesh_Params // Function Engine.DroppedPickup.InitializeFromInventory struct ADroppedPickup_InitializeFromInventory_Params { - class AWillowInventory* InInv; // (Parm) + class AInventory* InInv; // (Parm) class APawn* InInstigator; // (Parm) unsigned long bEnablePickup : 1; // (Parm) }; @@ -30077,736 +30077,6 @@ struct AInventory_ReplicatedEvent_Params struct FName VarName; // (Parm) }; -// Function Engine.WillowInventory.TryConsume -struct AWillowInventory_TryConsume_Params -{ - unsigned long ReturnValue : 1; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.Consume -struct AWillowInventory_Consume_Params -{ -}; - -// Function Engine.WillowInventory.IsReadied -struct AWillowInventory_IsReadied_Params -{ - unsigned long ReturnValue : 1; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.GetHolsteredGearLikenessType -struct AWillowInventory_GetHolsteredGearLikenessType_Params -{ - unsigned char ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.RemoveExternalLikenessConsumer -struct AWillowInventory_RemoveExternalLikenessConsumer_Params -{ - class AActor* LikenessActor; // (Parm) -}; - -// Function Engine.WillowInventory.AddExternalLikenessConsumer -struct AWillowInventory_AddExternalLikenessConsumer_Params -{ - class AActor* LikenessActor; // (Parm) -}; - -// Function Engine.WillowInventory.GetRarityLevel -struct AWillowInventory_GetRarityLevel_Params -{ - int ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.SetMark -struct AWillowInventory_SetMark_Params -{ - unsigned char NewMark; // (Parm) -}; - -// Function Engine.WillowInventory.GetMark -struct AWillowInventory_GetMark_Params -{ - unsigned char ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.LogInventoryDebug -struct AWillowInventory_LogInventoryDebug_Params -{ -}; - -// Function Engine.WillowInventory.ResetTempStatModifier -struct AWillowInventory_ResetTempStatModifier_Params -{ - float NewBaseValue; // (Parm) -}; - -// Function Engine.WillowInventory.GetAttributeSlotModifierValue -struct AWillowInventory_GetAttributeSlotModifierValue_Params -{ - struct FName SlotName; // (Parm) - float ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.GetAttributeSlotGrade -struct AWillowInventory_GetAttributeSlotGrade_Params -{ - struct FName SlotName; // (Parm) - int ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.CloneAttributeSlotData -struct AWillowInventory_CloneAttributeSlotData_Params -{ - class AWillowInventory* NewInventory; // (Parm) -}; - -// Function Engine.WillowInventory.InitializeAttributeSlotsForNameParts -struct AWillowInventory_InitializeAttributeSlotsForNameParts_Params -{ -}; - -// Function Engine.WillowInventory.InitializeAttributeSlots -struct AWillowInventory_InitializeAttributeSlots_Params -{ - unsigned long bIncludeNameParts : 1; // (Parm) -}; - -// Function Engine.WillowInventory.GetAttributeSlotIndex -struct AWillowInventory_GetAttributeSlotIndex_Params -{ - struct FName SlotName; // (Parm) - int ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.IsFindMissingAttributeSlotPresentationsDebugEnabled -struct AWillowInventory_IsFindMissingAttributeSlotPresentationsDebugEnabled_Params -{ - unsigned long ReturnValue : 1; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.ToggleFindMissingAttributeSlotPresentationsDebugEnabled -struct AWillowInventory_ToggleFindMissingAttributeSlotPresentationsDebugEnabled_Params -{ -}; - -// Function Engine.WillowInventory.GetElementalFrame -struct AWillowInventory_GetElementalFrame_Params -{ - struct FString ReturnValue; // (Parm, OutParm, ReturnParm, NeedCtorLink) -}; - -// Function Engine.WillowInventory.GetZippyFrame -struct AWillowInventory_GetZippyFrame_Params -{ - struct FString ReturnValue; // (Parm, OutParm, ReturnParm, NeedCtorLink) -}; - -// Function Engine.WillowInventory.GetCategoryKey -struct AWillowInventory_GetCategoryKey_Params -{ - struct FName ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.ClonePrimaryMeshForUI -struct AWillowInventory_ClonePrimaryMeshForUI_Params -{ - class UMeshComponent* ReturnValue; // (Parm, OutParm, ReturnParm, EditInline) -}; - -// Function Engine.WillowInventory.CloneInventorySkelMeshComponent -struct AWillowInventory_CloneInventorySkelMeshComponent_Params -{ - class AActor* CloneOwner; // (Parm) - class USkeletalMeshComponent* SourceMeshComponent; // (Parm, EditInline) - float SourceMeshScale; // (Parm) - class USkeletalMeshComponent* DestMeshComponent; // (OptionalParm, Parm, EditInline) - class USkeletalMeshComponent* ReturnValue; // (Parm, OutParm, ReturnParm, EditInline) -}; - -// Function Engine.WillowInventory.CloneAppearance -struct AWillowInventory_CloneAppearance_Params -{ - class AActor* CloneOwner; // (Parm) - class USkeletalMeshComponent* ClonedPrimaryMeshComponent; // (Parm, EditInline) - TArray ClonedComponentsAttachedToPrimaryMesh; // (Parm, OutParm, NeedCtorLink, EditInline) - class UMaterialInstance* ClonedMeshMaterial; // (Parm, OutParm) -}; - -// Function Engine.WillowInventory.ClonePrimaryMesh -struct AWillowInventory_ClonePrimaryMesh_Params -{ - class UMeshComponent* ReturnValue; // (Parm, OutParm, ReturnParm, EditInline) -}; - -// Function Engine.WillowInventory.AttachMeshToPickup -struct AWillowInventory_AttachMeshToPickup_Params -{ - class AActor* Pickup; // (Parm) -}; - -// Function Engine.WillowInventory.GetModelName -struct AWillowInventory_GetModelName_Params -{ - struct FString ReturnValue; // (Parm, OutParm, ReturnParm, NeedCtorLink) -}; - -// Function Engine.WillowInventory.GetDroppedImpactDefinition -struct AWillowInventory_GetDroppedImpactDefinition_Params -{ - class UImpactDefinition* ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.CompareUIStat -struct AWillowInventory_CompareUIStat_Params -{ - int StatIdx; // (Parm) - class AWillowInventory* CompareTo; // (Parm) - int ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.CanBeReadiedOnPickup -struct AWillowInventory_CanBeReadiedOnPickup_Params -{ - class APawn* Other; // (Parm) - unsigned long ReturnValue : 1; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.HandlePickupQuery -struct AWillowInventory_HandlePickupQuery_Params -{ - class APawn* Other; // (Parm) - FScriptInterface Pickup; // (Parm) - unsigned long ReturnValue : 1; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.CanBeUsedBy -struct AWillowInventory_CanBeUsedBy_Params -{ - class APawn* Other; // (Parm) - unsigned long ReturnValue : 1; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.IsConsumable -struct AWillowInventory_IsConsumable_Params -{ - unsigned long ReturnValue : 1; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.IsDLCRequirementMet -struct AWillowInventory_IsDLCRequirementMet_Params -{ - class APlayerController* Other; // (Parm) - unsigned long ReturnValue : 1; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.GetDLCRestrictedMessage -struct AWillowInventory_GetDLCRestrictedMessage_Params -{ - class APlayerController* Other; // (Parm) - unsigned long bShort : 1; // (OptionalParm, Parm) - struct FString ReturnValue; // (Parm, OutParm, ReturnParm, NeedCtorLink) -}; - -// Function Engine.WillowInventory.GetPawnController -struct AWillowInventory_GetPawnController_Params -{ - class APawn* Other; // (Parm) - class APlayerController* ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.TranslateUseFailure -struct AWillowInventory_TranslateUseFailure_Params -{ - class APawn* Other; // (Parm) - int FailureFlag; // (Parm) - struct FString Output; // (Parm, OutParm, NeedCtorLink) -}; - -// Function Engine.WillowInventory.GetUseFailureOPLevelMessage -struct AWillowInventory_GetUseFailureOPLevelMessage_Params -{ - struct FString ReturnValue; // (Parm, OutParm, ReturnParm, NeedCtorLink) -}; - -// Function Engine.WillowInventory.GetLastCanBeUsedByResult -struct AWillowInventory_GetLastCanBeUsedByResult_Params -{ - class APawn* Other; // (Parm) - struct FString ReturnValue; // (Parm, OutParm, ReturnParm, NeedCtorLink) -}; - -// Function Engine.WillowInventory.IsLevelRequirementMet -struct AWillowInventory_IsLevelRequirementMet_Params -{ - class AController* C; // (Parm) - int RequiredLevel; // (OptionalParm, Parm, OutParm) - unsigned long ReturnValue : 1; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.GetControllerPlayerExpLevelRequiredToUse -struct AWillowInventory_GetControllerPlayerExpLevelRequiredToUse_Params -{ - class AController* OtherController; // (Parm) - int ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.GetPlayerExpLevelRequiredToUse -struct AWillowInventory_GetPlayerExpLevelRequiredToUse_Params -{ - class APawn* Other; // (Parm) - int ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.CreateClone -struct AWillowInventory_CreateClone_Params -{ - class AWillowInventory* ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.GivenTo -struct AWillowInventory_GivenTo_Params -{ - class APawn* thisPawn; // (Parm) - unsigned long bReady : 1; // (Parm) - unsigned long bDoNotActivate : 1; // (OptionalParm, Parm) -}; - -// Function Engine.WillowInventory.IsItemAutoUsedBy -struct AWillowInventory_IsItemAutoUsedBy_Params -{ - class APawn* Other; // (Parm) - unsigned long ReturnValue : 1; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.GetInventorySpaceRequirement -struct AWillowInventory_GetInventorySpaceRequirement_Params -{ - int ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.ClientSoldTo -struct AWillowInventory_ClientSoldTo_Params -{ - unsigned long bSoldAll : 1; // (Parm) -}; - -// Function Engine.WillowInventory.RemoveFromShop -struct AWillowInventory_RemoveFromShop_Params -{ -}; - -// Function Engine.WillowInventory.SoldTo -struct AWillowInventory_SoldTo_Params -{ - class APawn* Buyer; // (Parm) - int SellQuantity; // (OptionalParm, Parm) - unsigned long bReady : 1; // (OptionalParm, Parm) -}; - -// Function Engine.WillowInventory.MissionDenyPickup -struct AWillowInventory_MissionDenyPickup_Params -{ - unsigned long ReturnValue : 1; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.CreatePickup -struct AWillowInventory_CreatePickup_Params -{ - unsigned long bDroppedPickup : 1; // (Parm) - unsigned long bEnablePickup : 1; // (Parm) - struct FVector StartLocation; // (OptionalParm, Parm) - class ADroppedPickup* ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.GetPickup -struct AWillowInventory_GetPickup_Params -{ - unsigned long bDisableRigidBody : 1; // (Parm) - unsigned long bEnablePickup : 1; // (Parm) - class ADroppedPickup* ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.DropFromNative -struct AWillowInventory_DropFromNative_Params -{ - struct FVector StartLocation; // (Parm) - struct FVector StartVelocity; // (Parm) - unsigned long bForceNoRBPhysics : 1; // (OptionalParm, Parm) - unsigned long bTorque : 1; // (OptionalParm, Parm) - struct FVector Torque; // (OptionalParm, Parm) - class ADroppedPickup* ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.DropFrom -struct AWillowInventory_DropFrom_Params -{ - struct FVector StartLocation; // (Parm) - struct FVector StartVelocity; // (Parm) - unsigned long bForceNoRBPhysics : 1; // (OptionalParm, Parm) - unsigned long bTorque : 1; // (OptionalParm, Parm) - struct FVector Torque; // (OptionalParm, Parm) - class ADroppedPickup* ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.GetDroppedPickupRotation -struct AWillowInventory_GetDroppedPickupRotation_Params -{ - struct FRotator ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.PickupDisassociated -struct AWillowInventory_PickupDisassociated_Params -{ - class ADroppedPickup* Pickup; // (Parm) -}; - -// Function Engine.WillowInventory.PickupAssociated -struct AWillowInventory_PickupAssociated_Params -{ - class ADroppedPickup* Pickup; // (Parm) -}; - -// Function Engine.WillowInventory.SpawnPickup -struct AWillowInventory_SpawnPickup_Params -{ - class ADroppedPickup* ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.InitConstructPreview -struct AWillowInventory_InitConstructPreview_Params -{ - class UMeshComponent* PreviewComponent; // (Parm, EditInline) - class UWillowInventoryDefinition* InvDef; // (Parm) - class UMeshComponent* ReturnValue; // (Parm, OutParm, ReturnParm, EditInline) -}; - -// Function Engine.WillowInventory.PlayPickupSound -struct AWillowInventory_PlayPickupSound_Params -{ - class APawn* Other; // (Parm) - unsigned long bEquipped : 1; // (Parm) -}; - -// Function Engine.WillowInventory.AnnouncePickup -struct AWillowInventory_AnnouncePickup_Params -{ - class APawn* Other; // (Parm) -}; - -// Function Engine.WillowInventory.GetTemplateString -struct AWillowInventory_GetTemplateString_Params -{ - int Switch; // (OptionalParm, Parm) - class APlayerReplicationInfo* RelatedPRI_2; // (OptionalParm, Parm) - class APlayerReplicationInfo* RelatedPRI_3; // (OptionalParm, Parm) - struct FString ReturnValue; // (Parm, OutParm, ReturnParm, NeedCtorLink) -}; - -// Function Engine.WillowInventory.ConsumeItem -struct AWillowInventory_ConsumeItem_Params -{ -}; - -// Function Engine.WillowInventory.GetHumanReadableNameNativeHook -struct AWillowInventory_GetHumanReadableNameNativeHook_Params -{ - struct FString ReturnValue; // (Parm, OutParm, ReturnParm, NeedCtorLink) -}; - -// Function Engine.WillowInventory.GetInventoryCardString -struct AWillowInventory_GetInventoryCardString_Params -{ - unsigned long bIncludeManufacturer : 1; // (Parm) - unsigned long bIncludeModelName : 1; // (Parm) - unsigned long bIncludePrefixTitle : 1; // (Parm) - struct FString ReturnValue; // (Parm, OutParm, ReturnParm, NeedCtorLink) -}; - -// Function Engine.WillowInventory.GetPresentationDefinition -struct AWillowInventory_GetPresentationDefinition_Params -{ - class UInventoryCardPresentationDefinition* ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.GetShortHumanReadableName -struct AWillowInventory_GetShortHumanReadableName_Params -{ - struct FString ReturnValue; // (Parm, OutParm, ReturnParm, NeedCtorLink) -}; - -// Function Engine.WillowInventory.GetHumanReadableName -struct AWillowInventory_GetHumanReadableName_Params -{ - struct FString ReturnValue; // (Parm, OutParm, ReturnParm, NeedCtorLink) -}; - -// Function Engine.WillowInventory.CanThrow -struct AWillowInventory_CanThrow_Params -{ - unsigned long ReturnValue : 1; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.CanInventoryBeSoldOrStoredByOwner -struct AWillowInventory_CanInventoryBeSoldOrStoredByOwner_Params -{ - unsigned long ReturnValue : 1; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.CanInventoryBeDroppedByOwner -struct AWillowInventory_CanInventoryBeDroppedByOwner_Params -{ - unsigned long ReturnValue : 1; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.PassesDroppabilityCheck -struct AWillowInventory_PassesDroppabilityCheck_Params -{ - unsigned char MaxDroppability; // (Parm) - unsigned long ReturnValue : 1; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.StaticCreateCompositeMesh -struct AWillowInventory_StaticCreateCompositeMesh_Params -{ - TArray PartMeshes; // (Const, Parm, OutParm, NeedCtorLink) - class USkeletalMesh* ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.OverrideMonetaryValue -struct AWillowInventory_OverrideMonetaryValue_Params -{ - int NewMonetaryValue; // (Parm) -}; - -// Function Engine.WillowInventory.ComputeMonetaryValue -struct AWillowInventory_ComputeMonetaryValue_Params -{ - int ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.GetCappedCurrencyAmount -struct AWillowInventory_GetCappedCurrencyAmount_Params -{ - unsigned char FormOfCurrency; // (Parm) - int Amount; // (Parm) - int ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.GetMonetaryValueInCurrency -struct AWillowInventory_GetMonetaryValueInCurrency_Params -{ - unsigned char FormOfCurrency; // (Parm) - int ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.GetMonetaryValue -struct AWillowInventory_GetMonetaryValue_Params -{ - int ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.GetCurrencyTypeInventoryIsValuedIn -struct AWillowInventory_GetCurrencyTypeInventoryIsValuedIn_Params -{ - unsigned char ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.ClientInitializeInventoryFromDefinition -struct AWillowInventory_ClientInitializeInventoryFromDefinition_Params -{ -}; - -// Function Engine.WillowInventory.InitializeInventory -struct AWillowInventory_InitializeInventory_Params -{ - class UBaseBalanceDefinition* InBalanceDef; // (Parm) - class UManufacturerDefinition* InManufacturer; // (Parm) - int InGradeIndex; // (Parm) - class UObject* InAdditionalQueryInterfaceSource; // (Parm) -}; - -// Function Engine.WillowInventory.GetUniqueID -struct AWillowInventory_GetUniqueID_Params -{ - int ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.GenerateUniqueID -struct AWillowInventory_GenerateUniqueID_Params -{ - int ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.GetBalancedActorTypeIdentifier -struct AWillowInventory_GetBalancedActorTypeIdentifier_Params -{ - struct FName ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.SetExpLevel -struct AWillowInventory_SetExpLevel_Params -{ - int NewExpLevel; // (Parm) -}; - -// Function Engine.WillowInventory.SetAwesomeLevel -struct AWillowInventory_SetAwesomeLevel_Params -{ - int NewAwesomeLevel; // (Parm) -}; - -// Function Engine.WillowInventory.SetGameStage -struct AWillowInventory_SetGameStage_Params -{ - int NewGameStage; // (Parm) -}; - -// Function Engine.WillowInventory.GetExpLevelForEquip -struct AWillowInventory_GetExpLevelForEquip_Params -{ - int ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.GetExpLevel -struct AWillowInventory_GetExpLevel_Params -{ - int ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.GetAwesomeLevel -struct AWillowInventory_GetAwesomeLevel_Params -{ - int ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.GetGameStage -struct AWillowInventory_GetGameStage_Params -{ - int ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.ApplyExternalSlotEffectModifiers -struct AWillowInventory_ApplyExternalSlotEffectModifiers_Params -{ - class AController* ContextSource; // (Parm) - int MaxSlotsActivated; // (Parm) - TArray AttributeModifiers; // (Parm, OutParm, NeedCtorLink) - class UObject* OverrideContextSource; // (OptionalParm, Parm) -}; - -// Function Engine.WillowInventory.ApplyInternalSlotEffectModifiers -struct AWillowInventory_ApplyInternalSlotEffectModifiers_Params -{ - unsigned long bBackupSlotEffectsApplied : 1; // (Parm) - int MaxSlotsActivated; // (Parm) - TArray AttributeModifiers; // (Parm, OutParm, NeedCtorLink) -}; - -// Function Engine.WillowInventory.GetManufacturerGradeIndex -struct AWillowInventory_GetManufacturerGradeIndex_Params -{ - int ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.GetManufacturer -struct AWillowInventory_GetManufacturer_Params -{ - class UManufacturerDefinition* ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.GetInventoryDefinition -struct AWillowInventory_GetInventoryDefinition_Params -{ - class UWillowInventoryDefinition* ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.IsLevelRequirementsDebugEnabled -struct AWillowInventory_IsLevelRequirementsDebugEnabled_Params -{ - unsigned long ReturnValue : 1; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.ToggleLevelRequirementsDebug -struct AWillowInventory_ToggleLevelRequirementsDebug_Params -{ -}; - -// Function Engine.WillowInventory.GetAttributeSlotIndexByAttributeDef -struct AWillowInventory_GetAttributeSlotIndexByAttributeDef_Params -{ - class UAttributeDefinition* AttributeDef; // (Parm) - int ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.GetEquippedStat -struct AWillowInventory_GetEquippedStat_Params -{ - struct FName ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.ResetSerialNumber -struct AWillowInventory_ResetSerialNumber_Params -{ - struct FInventorySerialNumber SerialNumber; // (Parm, OutParm) -}; - -// Function Engine.WillowInventory.IsSKULoaded -struct AWillowInventory_IsSKULoaded_Params -{ - struct FInventorySerialNumber SerialNumber; // (Parm) - unsigned long ReturnValue : 1; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.IsSerialNumberNone -struct AWillowInventory_IsSerialNumberNone_Params -{ - struct FInventorySerialNumber SerialNumber; // (Parm) - unsigned long ReturnValue : 1; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.PeekIsItem -struct AWillowInventory_PeekIsItem_Params -{ - struct FInventorySerialNumber SerialNumber; // (Parm) - unsigned long ReturnValue : 1; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.PeekIsWeapon -struct AWillowInventory_PeekIsWeapon_Params -{ - struct FInventorySerialNumber SerialNumber; // (Parm) - unsigned long ReturnValue : 1; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.GetSerialNumberString -struct AWillowInventory_GetSerialNumberString_Params -{ - struct FString ReturnValue; // (Parm, OutParm, ReturnParm, NeedCtorLink) -}; - -// Function Engine.WillowInventory.CreateSerialNumber -struct AWillowInventory_CreateSerialNumber_Params -{ - struct FInventorySerialNumber ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.CreateInventoryFromSerialNumberString -struct AWillowInventory_CreateInventoryFromSerialNumberString_Params -{ - struct FString SerialNumberString; // (Const, Parm, OutParm, NeedCtorLink) - class UObject* InAdditionalQueryInterfaceSource; // (Parm) - class AWillowInventory* ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventory.CreateInventoryFromSerialNumber -struct AWillowInventory_CreateInventoryFromSerialNumber_Params -{ - struct FInventorySerialNumber SerialNumber; // (Const, Parm, OutParm) - class UObject* InAdditionalQueryInterfaceSource; // (Parm) - class AWillowInventory* ReturnValue; // (Parm, OutParm, ReturnParm) -}; - // Function Engine.Weapon.Unreadied struct AWeapon_Unreadied_Params { @@ -31588,73 +30858,6 @@ struct AInventoryManager_ReplicatedEvent_Params struct FName VarName; // (Parm) }; -// Function Engine.WillowInventoryDefinition.CanPickupInBulk -struct UWillowInventoryDefinition_CanPickupInBulk_Params -{ - unsigned long ReturnValue : 1; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventoryDefinition.ShouldPlayerAutomaticallyPickup -struct UWillowInventoryDefinition_ShouldPlayerAutomaticallyPickup_Params -{ - class APlayerController* PC; // (Parm) - unsigned long ReturnValue : 1; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventoryDefinition.GetAttributeSlotMaxActivated -struct UWillowInventoryDefinition_GetAttributeSlotMaxActivated_Params -{ - int ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventoryDefinition.GetLocalizedInventoryName -struct UWillowInventoryDefinition_GetLocalizedInventoryName_Params -{ - struct FString ReturnValue; // (Parm, OutParm, ReturnParm, NeedCtorLink) -}; - -// Function Engine.WillowInventoryDefinition.GetInventorySpaceRequirement -struct UWillowInventoryDefinition_GetInventorySpaceRequirement_Params -{ - int ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventoryDefinition.GetBaseRarityLevel -struct UWillowInventoryDefinition_GetBaseRarityLevel_Params -{ - int ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventoryPartDefinition.ApplyMaterialModifiers -struct UWillowInventoryPartDefinition_ApplyMaterialModifiers_Params -{ - class UMaterialInstance* MatInst; // (Parm) -}; - -// Function Engine.WillowInventoryPartDefinition.GetSkeletalMesh -struct UWillowInventoryPartDefinition_GetSkeletalMesh_Params -{ - class USkeletalMesh* ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventoryPartDefinition.AddAdditionalGestaltMeshNames -struct UWillowInventoryPartDefinition_AddAdditionalGestaltMeshNames_Params -{ - TArray PartMeshNames; // (Parm, OutParm, NeedCtorLink) -}; - -// Function Engine.WillowInventoryPartDefinition.GetSkeletalMeshName -struct UWillowInventoryPartDefinition_GetSkeletalMeshName_Params -{ - struct FName ReturnValue; // (Parm, OutParm, ReturnParm) -}; - -// Function Engine.WillowInventoryPartDefinition.GetRarityLevel -struct UWillowInventoryPartDefinition_GetRarityLevel_Params -{ - int ReturnValue; // (Parm, OutParm, ReturnParm) -}; - // Function Engine.IPickupable.SetInteractionIcon struct UIPickupable_SetInteractionIcon_Params { @@ -31693,13 +30896,13 @@ struct UIPickupable_Pickupable_IsEnabled_Params // Function Engine.IPickupable.GetPickupableInventoryDefinition struct UIPickupable_GetPickupableInventoryDefinition_Params { - class UWillowInventoryDefinition* ReturnValue; // (Parm, OutParm, ReturnParm) + class UInventoryDefinition* ReturnValue; // (Parm, OutParm, ReturnParm) }; // Function Engine.IPickupable.GetPickupableInventory struct UIPickupable_GetPickupableInventory_Params { - class AWillowInventory* ReturnValue; // (Parm, OutParm, ReturnParm) + class AInventory* ReturnValue; // (Parm, OutParm, ReturnParm) }; // Function Engine.IPickupable.GetPickupableMeshActor diff --git a/src/include/UnrealEngine/Engine/Engine_structs.h b/src/include/UnrealEngine/Engine/Engine_structs.h index 11f62265..d32c9844 100644 --- a/src/include/UnrealEngine/Engine/Engine_structs.h +++ b/src/include/UnrealEngine/Engine/Engine_structs.h @@ -4801,7 +4801,7 @@ struct FRBCollisionChannelContainer unsigned long EnemyVehicle : 1; // 0x0000(0x0004) (Edit, Const) unsigned long PlayerVehicleEnemyVehicle : 1; // 0x0000(0x0004) (Edit, Const) unsigned long TossedItemsPlayerVehicleEnemyVehicle : 1; // 0x0000(0x0004) (Edit, Const) - unsigned long WillowPickup : 1; // 0x0000(0x0004) (Edit, Const) + unsigned long Pickup : 1; // 0x0000(0x0004) (Edit, Const) }; // ScriptStruct Engine.BrushComponent.KCachedConvexData_Mirror diff --git a/src/include/UnrealSDK.h b/src/include/UnrealSDK.h index f55ab965..9cfefa62 100644 --- a/src/include/UnrealSDK.h +++ b/src/include/UnrealSDK.h @@ -5,12 +5,12 @@ #include #include #include "CPythonInterface.h" +#include class UObject; class UFunction; class UClass; class UPackage; -class UWillowGameEngine; class UPlayer; class UConsole; class CHookManager; @@ -53,6 +53,8 @@ namespace UnrealSDK extern std::map ClassMap; + extern std::map ObjectMap; + extern CPythonInterface* Python; extern CHookManager* gHookManager; diff --git a/src/include/stdafx.h b/src/include/stdafx.h index 38e1921b..e424bae0 100644 --- a/src/include/stdafx.h +++ b/src/include/stdafx.h @@ -46,6 +46,8 @@ namespace UnrealSDK #include "TypeMap.h" +#include "Games.h" + namespace pybind11 { template