mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
124 files changed.
This commit is contained in:
@@ -19,6 +19,17 @@ public:
|
||||
return ReadBitfieldValue(bDropOnDeathOffset, bDropOnDeathFieldMask);
|
||||
}
|
||||
|
||||
bool ShouldIgnoreRespawningOnDrop()
|
||||
{
|
||||
static auto bIgnoreRespawningForDroppingAsPickupOffset = GetOffset("bIgnoreRespawningForDroppingAsPickup", false);
|
||||
|
||||
if (bIgnoreRespawningForDroppingAsPickupOffset == -1)
|
||||
return false;
|
||||
|
||||
static auto bIgnoreRespawningForDroppingAsPickupFieldMask = GetFieldMask(GetProperty("bIgnoreRespawningForDroppingAsPickup"));
|
||||
return ReadBitfieldValue(bIgnoreRespawningForDroppingAsPickupOffset, bIgnoreRespawningForDroppingAsPickupFieldMask);
|
||||
}
|
||||
|
||||
bool ShouldPersistWhenFinalStackEmpty()
|
||||
{
|
||||
static auto bPersistInInventoryWhenFinalStackEmptyOffset = GetOffset("bPersistInInventoryWhenFinalStackEmpty", false);
|
||||
@@ -30,6 +41,17 @@ public:
|
||||
return ReadBitfieldValue(bPersistInInventoryWhenFinalStackEmptyOffset, bPersistInInventoryWhenFinalStackEmptyFieldMask);
|
||||
}
|
||||
|
||||
bool ShouldFocusWhenAdded()
|
||||
{
|
||||
static auto bForceFocusWhenAddedOffset = GetOffset("bForceFocusWhenAdded", false);
|
||||
|
||||
if (bForceFocusWhenAddedOffset == -1)
|
||||
return false;
|
||||
|
||||
static auto bForceFocusWhenAddedFieldMask = GetFieldMask(GetProperty("bForceFocusWhenAdded"));
|
||||
return ReadBitfieldValue(bForceFocusWhenAddedOffset, bForceFocusWhenAddedFieldMask);
|
||||
}
|
||||
|
||||
bool ShouldForceFocusWhenAdded()
|
||||
{
|
||||
static auto bForceFocusWhenAddedOffset = GetOffset("bForceFocusWhenAdded");
|
||||
|
||||
Reference in New Issue
Block a user