mirror of https://github.com/PrimeDecomp/prime.git
29 lines
588 B
C++
29 lines
588 B
C++
#ifndef _CGSFIDGET
|
|
#define _CGSFIDGET
|
|
|
|
#include "rstl/vector.hpp"
|
|
|
|
#include "Kyoto/TToken.hpp"
|
|
|
|
class CAnimData;
|
|
class CStateManager;
|
|
|
|
class CGSFidget {
|
|
public:
|
|
CGSFidget();
|
|
|
|
bool Update(CAnimData& data, float dt, CStateManager& mgr);
|
|
int SetAnim(CAnimData& data, int type, int gunId, int animSet, CStateManager& mgr);
|
|
void LoadAnimAsync(CAnimData& data, int type, int gunId, int animSet, CStateManager& mgr);
|
|
void UnLoadAnim();
|
|
bool IsAnimLoaded() const;
|
|
|
|
private:
|
|
rstl::vector< CToken > x0_anims;
|
|
int x10_;
|
|
int x14_gunId;
|
|
int x18_animSet;
|
|
};
|
|
|
|
#endif // _CGSFIDGET
|