mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 02:10:21 +08:00
chore: breaking rename
This commit is contained in:
19
src/MaaCore/Task/Miscellaneous/StartGameTaskPlugin.cpp
Normal file
19
src/MaaCore/Task/Miscellaneous/StartGameTaskPlugin.cpp
Normal file
@@ -0,0 +1,19 @@
|
||||
#include "StartGameTaskPlugin.h"
|
||||
|
||||
#include "Controller.h"
|
||||
|
||||
using namespace asst;
|
||||
|
||||
bool StartGameTaskPlugin::_run()
|
||||
{
|
||||
if (m_client_type.empty()) {
|
||||
return false;
|
||||
}
|
||||
return ctrler()->start_game(m_client_type);
|
||||
}
|
||||
|
||||
StartGameTaskPlugin& StartGameTaskPlugin::set_client_type(std::string client_type) noexcept
|
||||
{
|
||||
m_client_type = std::move(client_type);
|
||||
return *this;
|
||||
}
|
||||
Reference in New Issue
Block a user