mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-20 02:55:38 +08:00
feat: 初步完成保全json解析及进入作战前部分操作
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#include "InstHelper.h"
|
||||
|
||||
#include <sstream>
|
||||
|
||||
#include "Assistant.h"
|
||||
#include "Utils/Logger.hpp"
|
||||
|
||||
@@ -47,3 +49,10 @@ asst::Assistant* asst::InstHelper::inst() noexcept
|
||||
{
|
||||
return m_inst;
|
||||
}
|
||||
|
||||
std::string asst::InstHelper::inst_string() const
|
||||
{
|
||||
std::stringstream ss;
|
||||
ss << m_inst;
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user