F4MP/tiltedcode/Code/client/Games/Skyrim/Misc/ActorState.h
Jous99 37b16f1547 code upload
codigo original de f4mp y tilted para referencias
2026-01-06 18:45:00 +01:00

19 lines
485 B
C

#pragma once
#include <Misc/IMovementState.h>
struct ActorState : IMovementState
{
virtual ~ActorState();
uint32_t flags1;
uint32_t flags2;
bool IsWeaponDrawn() const noexcept { return (flags2 >> 5 & 7) >= 3; }
bool IsWeaponFullyDrawn() const noexcept { return (flags2 >> 5 & 7) == 3; }
bool IsBleedingOut() const noexcept { return (flags1 & 0x1E00000) == 0x1000000 || (flags1 & 0x1E00000) == 0xE00000; }
bool SetWeaponDrawn(bool aDraw) noexcept;
};