| 77 | } |
| 78 | |
| 79 | void TestState::commandTest(const MyGUI::UString& _commandName, bool& _result) |
| 80 | { |
| 81 | if (DialogManager::getInstance().getAnyDialog()) |
| 82 | return; |
| 83 | |
| 84 | if (MessageBoxManager::getInstance().hasAny()) |
| 85 | return; |
| 86 | |
| 87 | DataPtr data = DataUtility::getSelectedDataByType("Skin"); |
| 88 | if (data == nullptr) |
| 89 | return; |
| 90 | |
| 91 | StateManager::getInstance().stateEvent("EditorState", "Test"); |
| 92 | |
| 93 | _result = true; |
| 94 | } |
| 95 | |
| 96 | void TestState::commandQuit(const MyGUI::UString& _commandName, bool& _result) |
| 97 | { |
nothing calls this directly
no test coverage detected