mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-13 00:00:54 +01:00
21 lines
334 B
C
21 lines
334 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#ifndef TP_INTERNAL_COMPONENTS_GUARD
|
||
|
|
#error Include Components.h instead
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#include <Structs/ActionEvent.h>
|
||
|
|
|
||
|
|
struct LocalComponent
|
||
|
|
{
|
||
|
|
LocalComponent(uint32_t aId) noexcept
|
||
|
|
: Id(aId)
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
uint32_t Id;
|
||
|
|
ActionEvent CurrentAction;
|
||
|
|
bool IsDead = false;
|
||
|
|
bool IsWeaponDrawn = false;
|
||
|
|
};
|