metaforce/Runtime/Weapon/CGSFidget.hpp

26 lines
600 B
C++

#pragma once
#include <vector>
#include "Runtime/CToken.hpp"
#include "Runtime/RetroTypes.hpp"
namespace metaforce {
class CAnimData;
class CStateManager;
class CGSFidget {
std::vector<CToken> x0_anims;
s32 x10_ = -1;
s32 x14_gunId = -1;
s32 x18_animSet = -1;
public:
bool Update(CAnimData& data, float dt, CStateManager& mgr);
s32 SetAnim(CAnimData& data, s32 type, s32 gunId, s32 animSet, CStateManager& mgr);
void LoadAnimAsync(CAnimData& data, s32 type, s32 gunId, s32 animSet, CStateManager& mgr);
void UnLoadAnim();
bool IsAnimLoaded() const;
};
} // namespace metaforce