1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-25 07:01:54 +00:00
re3/src/modelinfo/TimeModelInfo.h
2020-05-07 21:55:54 +02:00

21 lines
660 B
C++

#pragma once
#include "SimpleModelInfo.h"
class CTimeModelInfo : public CSimpleModelInfo
{
int32 m_timeOn;
int32 m_timeOff;
int32 m_otherTimeModelID;
public:
CTimeModelInfo(void) : CSimpleModelInfo(MITYPE_TIME) { m_otherTimeModelID = -1; }
int32 GetTimeOn(void) { return m_timeOn; }
int32 GetTimeOff(void) { return m_timeOff; }
void SetTimes(int32 on, int32 off) { m_timeOn = on; m_timeOff = off; }
int32 GetOtherTimeModel(void) { return m_otherTimeModelID; }
void SetOtherTimeModel(int32 other) { m_otherTimeModelID = other; }
CTimeModelInfo *FindOtherTimeModel(void);
};
//static_assert(sizeof(CTimeModelInfo) == 0x58, "CTimeModelInfo: error");