2022-11-07 23:04:20 +00:00
|
|
|
#ifndef _CGSFIDGET
|
|
|
|
#define _CGSFIDGET
|
|
|
|
|
|
|
|
#include "rstl/vector.hpp"
|
|
|
|
|
2022-11-25 21:02:17 +00:00
|
|
|
#include "Kyoto/TToken.hpp"
|
|
|
|
|
2022-11-07 23:04:20 +00:00
|
|
|
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
|