mirror of https://github.com/zeldaret/tp.git
63 lines
1.5 KiB
C++
63 lines
1.5 KiB
C++
/* c_bg_s_poly_info.cpp autogenerated by split.py v0.3 at 2021-01-01 12:59:59.592736 */
|
|
|
|
#include "SComponent/c_bg_s_poly_info.h"
|
|
|
|
// __ct__13cBgS_PolyInfoFv
|
|
cBgS_PolyInfo::cBgS_PolyInfo(void) {
|
|
this->ClearPi();
|
|
}
|
|
|
|
// __dt__13cBgS_PolyInfoFv
|
|
cBgS_PolyInfo::~cBgS_PolyInfo(void) {}
|
|
|
|
// ChkSetInfo__13cBgS_PolyInfoCFv
|
|
bool cBgS_PolyInfo::ChkSetInfo(void) const {
|
|
if (mPolyIndex == 0xFFFF || unk_0x02 == 0x100) {
|
|
return false;
|
|
} else {
|
|
return true;
|
|
}
|
|
}
|
|
|
|
// ClearPi__13cBgS_PolyInfoFv
|
|
void cBgS_PolyInfo::ClearPi(void) {
|
|
mPolyIndex = 0xFFFF;
|
|
unk_0x02 = 0x100;
|
|
unk_0x04 = 0;
|
|
unk_0x08 = -1;
|
|
}
|
|
|
|
// SetPolyInfo__13cBgS_PolyInfoFRC13cBgS_PolyInfo
|
|
void cBgS_PolyInfo::SetPolyInfo(const cBgS_PolyInfo& pOther) {
|
|
mPolyIndex = pOther.mPolyIndex;
|
|
unk_0x02 = pOther.unk_0x02;
|
|
unk_0x04 = pOther.unk_0x04;
|
|
unk_0x08 = pOther.unk_0x08;
|
|
}
|
|
|
|
// SetActorInfo__13cBgS_PolyInfoFiPvUi
|
|
void cBgS_PolyInfo::SetActorInfo(int param_1, void* param_2, unsigned int param_3) {
|
|
unk_0x02 = param_1;
|
|
unk_0x04 = param_2;
|
|
unk_0x08 = param_3;
|
|
}
|
|
|
|
// ChkSafe__13cBgS_PolyInfoCFPCvUi
|
|
bool cBgS_PolyInfo::ChkSafe(const void* param_1, unsigned int param_2) const {
|
|
if (unk_0x04 == param_1 && unk_0x08 == param_2) {
|
|
return true;
|
|
} else {
|
|
return false;
|
|
}
|
|
}
|
|
|
|
// SetPolyIndex__13cBgS_PolyInfoFi
|
|
void cBgS_PolyInfo::SetPolyIndex(int pPolyIndex) {
|
|
mPolyIndex = pPolyIndex;
|
|
}
|
|
|
|
// ChkBgIndex__13cBgS_PolyInfoCFv
|
|
bool cBgS_PolyInfo::ChkBgIndex(void) const {
|
|
return unk_0x02 != 0x100;
|
|
}
|