mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-16 10:17:01 +00:00
@@ -12,13 +12,23 @@ class CPASAnimParmData;
|
||||
class CRandom16;
|
||||
|
||||
class CPASDatabase {
|
||||
private:
|
||||
rstl::vector< CPASAnimState > x0_states;
|
||||
int x10_defaultState;
|
||||
|
||||
public:
|
||||
const CPASAnimState* GetAnimState(int) const;
|
||||
rstl::pair< float, int > FindBestAnimation(const CPASAnimParmData&, CRandom16&, int) const;
|
||||
|
||||
size_t GetNumAnimStates() const; // { return x0_states.size(); }
|
||||
const CPASAnimState* GetAnimStateByIndex(int index) const; /* {
|
||||
if (index >= x0_states.size()) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
return &x0_states[index];
|
||||
}*/
|
||||
|
||||
private:
|
||||
rstl::vector< CPASAnimState > x0_states;
|
||||
int x10_defaultState;
|
||||
};
|
||||
CHECK_SIZEOF(CPASDatabase, 0x14)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user