mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-13 20:50:54 +01:00
19 lines
485 B
C
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;
|
|
};
|