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

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};
};