1#include "Library/Event/SceneEventFlowMsg.h"
2
3#include "Library/Base/StringUtil.h"
4
5namespace al {
6SceneEventFlowMsg::SceneEventFlowMsg() {}
7
8bool SceneEventFlowMsg::isReceiveCommand(const char* cmd) const {
9 if (mCmd.isEmpty())
10 return false;
11
12 return isEqualString(str1: cmd, str2: mCmd.cstr());
13}
14
15void SceneEventFlowMsg::requestCommand(const char* cmd) {
16 mCmd = cmd;
17}
18} // namespace al
19