F4MP/codigos originales/tiltedcode/Code/client/Games/ActorExtension.h
2026-01-06 18:53:59 +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};
};