metaforce/Runtime/MP1/CStateSetterFlow.cpp

24 lines
477 B
C++
Raw Normal View History

#include "CStateSetterFlow.hpp"
#include "CArchitectureMessage.hpp"
#include "GameGlobalObjects.hpp"
2017-12-29 08:08:12 +00:00
namespace urde::MP1
{
CStateSetterFlow::CStateSetterFlow()
: CIOWin("")
{
}
CIOWin::EMessageReturn CStateSetterFlow::OnMessage(const CArchitectureMessage& msg, CArchitectureQueue& queue)
{
if (msg.GetType() == EArchMsgType::TimerTick)
{
//g_Main->sub80004590();
return EMessageReturn::RemoveIOWinAndExit;
}
return EMessageReturn::Exit;
}
}