OdysseyDecomp/lib/al/Library/Event/SceneEventFlowMsg.cpp

19 lines
405 B
C++

#include "Library/Event/SceneEventFlowMsg.h"
#include "Library/Base/StringUtil.h"
namespace al {
SceneEventFlowMsg::SceneEventFlowMsg() = default;
bool SceneEventFlowMsg::isReceiveCommand(const char* cmd) const {
if (mCmd.isEmpty())
return false;
return isEqualString(cmd, mCmd.cstr());
}
void SceneEventFlowMsg::requestCommand(const char* cmd) {
mCmd = cmd;
}
} // namespace al