Files
tp/include/SSystem/SComponent/c_bg_s_poly_info.h
T

30 lines
706 B
C++
Raw Normal View History

2021-03-28 22:49:05 +02:00
#ifndef C_BG_S_POLY_INFO_H
#define C_BG_S_POLY_INFO_H
#include "dolphin/types.h"
2021-04-08 22:18:35 +02:00
class cBgS_PolyInfo {
private:
/* 0x00 */ u16 mPolyIndex;
2021-11-10 10:56:51 -08:00
/* 0x02 */ u16 mBgIndex;
2021-04-08 22:18:35 +02:00
/* 0x04 */ void* unk_0x04;
/* 0x08 */ unsigned int mActorId;
2021-04-08 22:18:35 +02:00
public:
2021-11-10 10:56:51 -08:00
cBgS_PolyInfo();
bool ChkSetInfo() const;
void ClearPi();
2021-04-08 22:18:35 +02:00
void SetPolyInfo(const cBgS_PolyInfo&);
void SetActorInfo(int, void*, unsigned int);
bool ChkSafe(const void*, unsigned int) const;
void SetPolyIndex(int);
2021-11-10 10:56:51 -08:00
bool ChkBgIndex() const;
virtual ~cBgS_PolyInfo();
u16 GetPolyIndex() const { return mPolyIndex; }
u16 GetBgIndex() const { return mBgIndex; }
}; // Size: 0x10
2021-04-08 22:18:35 +02:00
2021-03-28 22:49:05 +02:00
#endif /* C_BG_S_POLY_INFO_H */