This commit is contained in:
Milxnor
2023-05-19 23:18:56 -04:00
parent 42f4e637e7
commit bb5a5620e8
16 changed files with 225 additions and 22 deletions

View File

@@ -27,6 +27,23 @@ public:
return ReadBitfieldValue(bIsDBNOOffset, bIsDBNOFieldMask);
}
void SetDBNO(bool IsDBNO)
{
static auto bIsDBNOFieldMask = GetFieldMask(GetProperty("bIsDBNO"));
static auto bIsDBNOOffset = GetOffset("bIsDBNO");
this->SetBitfieldValue(bIsDBNOOffset, bIsDBNOFieldMask, IsDBNO);
}
void SetHasPlayedDying(bool NewValue)
{
static auto bPlayedDyingFieldMask = GetFieldMask(GetProperty("bPlayedDying"));
static auto bPlayedDyingOffset = GetOffset("bPlayedDying");
this->SetBitfieldValue(bPlayedDyingOffset, bPlayedDyingFieldMask, NewValue);
}
void OnRep_IsDBNO();
float GetShield();
float GetHealth();
void SetHealth(float NewHealth);