mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-13 00:20:54 +01:00
27 lines
533 B
C
27 lines
533 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <Structs/ActionEvent.h>
|
||
|
|
|
||
|
|
struct ActorExtension
|
||
|
|
{
|
||
|
|
enum
|
||
|
|
{
|
||
|
|
kRemote = 1 << 0,
|
||
|
|
kPlayer = 1 << 1,
|
||
|
|
};
|
||
|
|
|
||
|
|
bool IsRemote() const noexcept;
|
||
|
|
bool IsLocal() const noexcept;
|
||
|
|
bool IsPlayer() const noexcept;
|
||
|
|
bool IsRemotePlayer() const noexcept;
|
||
|
|
bool IsLocalPlayer() const noexcept;
|
||
|
|
void SetRemote(bool aSet) noexcept;
|
||
|
|
void SetPlayer(bool aSet) noexcept;
|
||
|
|
|
||
|
|
ActionEvent LatestAnimation{};
|
||
|
|
size_t GraphDescriptorHash = 0;
|
||
|
|
|
||
|
|
private:
|
||
|
|
uint32_t onlineFlags{0};
|
||
|
|
};
|