mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
clip size vehicles cheat command
This commit is contained in:
@@ -18,12 +18,16 @@ class ABuildingSMActor : public ABuildingActor
|
||||
public:
|
||||
bool IsPlayerPlaced()
|
||||
{
|
||||
return true; // FOR NOW
|
||||
static auto bPlayerPlacedOffset = GetOffset("bPlayerPlaced");
|
||||
static auto bPlayerPlacedFieldMask = GetFieldMask(this->GetProperty("bPlayerPlaced"));
|
||||
return ReadBitfieldValue(bPlayerPlacedOffset, bPlayerPlacedFieldMask);
|
||||
}
|
||||
|
||||
void SetPlayerPlaced(bool NewValue)
|
||||
{
|
||||
|
||||
static auto bPlayerPlacedOffset = GetOffset("bPlayerPlaced");
|
||||
static auto bPlayerPlacedFieldMask = GetFieldMask(this->GetProperty("bPlayerPlaced"));
|
||||
this->SetBitfieldValue(bPlayerPlacedOffset, bPlayerPlacedFieldMask, NewValue);
|
||||
}
|
||||
|
||||
bool IsDestroyed()
|
||||
|
||||
Reference in New Issue
Block a user