Files
tp/include/d/actor/d_a_swTime.h
T

42 lines
735 B
C++
Raw Normal View History

2021-03-28 22:49:05 +02:00
#ifndef D_A_SWTIME_H
#define D_A_SWTIME_H
2024-10-10 07:29:58 -07:00
#include "d/d_com_inf_game.h"
2024-06-10 01:34:52 -06:00
/**
* @ingroup actors-unsorted
* @class daSwTime_c
* @brief Switch Time
*
* @details
*
*/
class daSwTime_c : public fopAc_ac_c {
public:
u8 getTime() {
return fopAcM_GetParamBit(this,0,8);
}
u8 getSwbit() {
return fopAcM_GetParamBit(this,8,8);
}
u8 getSwbit2() {
return fopAcM_GetParamBit(this,16,8);
}
/* 80D4F638 */ int Create();
/* 80D4F660 */ int create();
/* 80D4F6C8 */ int execute();
/* 80D4F758 */ int _delete();
2024-06-10 01:34:52 -06:00
private:
/* 0x568 */ u8 mTime;
/* 0x569 */ u8 mSwbit;
/* 0x56A */ u8 mSwbit2;
};
2021-03-28 22:49:05 +02:00
2024-06-10 01:34:52 -06:00
STATIC_ASSERT(sizeof(daSwTime_c) == 0x56C);
2021-03-28 22:49:05 +02:00
#endif /* D_A_SWTIME_H */