mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-12 23:20:53 +01:00
26 lines
533 B
C++
26 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};
|
|
};
|