Re3/src/modelinfo/TimeModelInfo.h

19 lines
517 B
C
Raw Normal View History

2019-05-15 10:52:37 -04:00
#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; }
int32 GetOtherTimeModel(void) { return m_otherTimeModelID; }
CTimeModelInfo *FindOtherTimeModel(void);
};
static_assert(sizeof(CTimeModelInfo) == 0x58, "CTimeModelInfo: error");