Files
Commonwealth-Online-Public/plugin/lib/commonlibf4/include/RE/B/BipedAnim.h
T
2026-05-30 18:33:24 +12:00

44 lines
1.0 KiB
C++

#pragma once
#include "RE/B/BIPED_OBJECT.h"
#include "RE/B/BIPOBJECT.h"
#include "RE/B/BSIntrusiveRefCounted.h"
#include "RE/B/BSPointerHandle.h"
namespace RE
{
class NiNode;
class BipedAnim :
public BSIntrusiveRefCounted // 0000
{
public:
const BIPOBJECT* GetBipObject(const BIPED_OBJECT a_bipedObject) const
{
return std::addressof(object[std::to_underlying(a_bipedObject)]);
}
BIPOBJECT* GetBipObject(const BIPED_OBJECT a_bipedObject)
{
return std::addressof(object[std::to_underlying(a_bipedObject)]);
}
ObjectRefHandle GetRequester() const
{
return actorRef;
}
NiNode* GetRoot() const
{
return root;
}
// members
NiNode* root; // 0008
BIPOBJECT object[std::to_underlying(BIPED_OBJECT::kTotal)]; // 0010
BIPOBJECT bufferedObjects[std::to_underlying(BIPED_OBJECT::kTotal)]; // 0F30
ObjectRefHandle actorRef; // 1E50
};
static_assert(sizeof(BipedAnim) == 0x1E58);
}