mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 01:59:33 +08:00
chore: breaking rename
This commit is contained in:
18
src/MaaCore/InstHelper.cpp
Normal file
18
src/MaaCore/InstHelper.cpp
Normal file
@@ -0,0 +1,18 @@
|
||||
#include "InstHelper.h"
|
||||
|
||||
#include "Assistant.h"
|
||||
|
||||
asst::InstHelper::InstHelper(asst::Assistant* inst) : m_inst(inst) {}
|
||||
|
||||
std::shared_ptr<asst::Controller> asst::InstHelper::ctrler() const
|
||||
{
|
||||
return m_inst ? m_inst->ctrler() : nullptr;
|
||||
}
|
||||
std::shared_ptr<asst::Status> asst::InstHelper::status() const
|
||||
{
|
||||
return m_inst ? m_inst->status() : nullptr;
|
||||
}
|
||||
bool asst::InstHelper::need_exit() const
|
||||
{
|
||||
return m_inst ? m_inst->need_exit() : false;
|
||||
}
|
||||
Reference in New Issue
Block a user