载入中...
搜索中...
未找到
McpRuntimeTools.cpp 文件参考
#include "devtools/McpRuntimeTools.hpp"
#include "devtools/ConsolePanel.hpp"
#include "devtools/Debugger.hpp"
#include "devtools/McpArgs.hpp"
#include "devtools/McpJson.hpp"
#include "devtools/SoftRestart.hpp"
#include "common/Capability.h"
#include "common/CrashLog.h"
#include "common/RenderCapture.h"
#include <Poco/Dynamic/Var.h>
#include <Poco/JSON/Array.h>
#include <Poco/JSON/Object.h>
#include <algorithm>
#include <cstdint>
#include <filesystem>
#include <fstream>
#include <sstream>
#include <string>
#include <vector>

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::dev
 

函数

bool eve::dev::isMcpRuntimeTool (std::string_view name)
 Whether name belongs to the MCP runtime console / frame-capture surface.
 
std::string eve::dev::callMcpRuntimeTool (std::string_view name, Poco::JSON::Object::Ptr args)
 Execute one runtime tool.
 
Poco::JSON::Object::Ptr eve::dev::crashLogSummary ()
 Summary of the persistent crash/error log (eve.log).
 
std::string_view eve::dev::mcpRuntimeToolSchemas ()
 Comma-separated MCP tool schema fragments without surrounding array brackets.
 

变量说明

◆ bytes

std::uint64_t bytes = 0

在文件 McpRuntimeTools.cpp 第 154 行定义.

被这些函数引用 eve::rpg::Battle::addActor(), eve::graphics::vulkan::FrameArena::alloc(), eve::graphics::raytracing::DeviceAddressBuffer::allocate(), eve::graphics::applyGrassWind(), eve::graphics::applyTreeWind(), eve::audio_editor::AudioSourceEditor::attachLiveAudition(), eve::procgen::TerrainAsset::bake(), eve::model3d::Model3D::bakeModel(), eve::decal::Decal::bakePresetTexture(), eve::decal::Decal::bakeSbsprsTexture(), eve::procgen::Procgen::bakeTerrainAsset(), eve::asset_import::bindUnityRenderers(), eve::graphics::buildGgxCubemapMipChain(), eve::avatar::buildVrmAtlas(), eve::dev::crashLogSummary(), eve::graphics::webgpu::Graphics::debugGpuDrivenVgGpuVisibleCount(), eve::asset::detail::decodeBc3Rgba8(), eve::asset::decodeCanonicalMesh(), eve::asset::decodeRuntimeDefinition(), eve::procgen::decodeTerrainFile(), eve::asset::detail::decodeTiffRgba8(), eve::tensor::q::dequantizeAll(), eve::tensor::q::dequantValue(), eve::container::deterministicContainerEventId(), eve::tensor::onnx_detail::dispatchFloat(), eve::graphics::vulkan::Graphics::drawVoxelFaceInstances(), eve::tensor::affine::dynamicQuantize(), eve::asset::encodeCanonicalMesh(), eve::tensor::OnnxCompute::enqueue(), eve::tensor::onnx_detail::enqueueInteger(), eve::graphics::vulkan::FrameArena::ensure(), eve::gpgpu::ShaderSystem::ensureBuffer(), eve::tensor::onnx_detail::evaluate(), eve::tensor::onnx_detail::executeQuant(), eve::fluids::exposeVolumeFluidFactory(), eve::network::Channel::feed(), eve::detail::formatUuidBytes(), eve::procgen_editing::TextureRecipePreviewRuntime::generate(), eve::generateUuidV7(), eve::model3d::ModelData::getEmbeddedTextureImageData(), eve::animation::Animation::getSpriteSequenceCacheBytes(), eve::asset_import::indexUnitySources(), eve::asset_import::gltf::little32(), eve::graphics::SkyWispsAsset::load(), eve::animation::AnimCurveLibrary::load(), eve::animation::SmrOnnxRunner::load(), eve::tensor::OnnxModel::load(), eve::animation::loadAnimationTrackBatch(), eve::animation::loadAnimationTracks(), eve::animation::SmrOnnxRunner::loadFile(), eve::hexmap::loadHexMap(), eve::voxel::VoxelWorld::loadTerrainAsset(), eve::procgen::loadTerrainFile(), eve::voxel::VoxelWorld::loadWorld(), eve::physics::detail::makePhysicsWorldPersistentId(), eve::network::Network::makeReader(), eve::asset_import::unity_detail::metaScalar(), eve::graphics::vulkan::Graphics::newCubemap(), eve::font::Font::newFontData(), eve::network::Network::newReader(), eve::sound::Sound::newSoundDataEmpty(), eve::graphics::vulkan::Graphics::newTexture(), eve::graphics::vulkan::Graphics::newTexture3DRgba8(), eve::graphics::vulkan::Graphics::newTextureArrayRgba16f(), eve::graphics::vulkan::Graphics::newTextureMipChain(), eve::graphics::webgpu::Graphics::newTextureMipChain(), eve::network::NetHost::onDatagram(), eve::network::UdpLink::onDatagram(), eve::tensor::onnx_detail::parse(), eve::asset_import::gltf::parseDocument(), eve::asset::parseEvaArchive(), eve::detail::parseUuidText(), eve::avatar::parseVrm(), eve::asset_stylize::prepareMeshVfxPackage(), eve::asset_import::prepareShaderImport(), eve::asset_import::prepareUnityCollection(), eve::asset_import::prepareUnityFbx(), eve::asset_import::prepareUnityMaterial(), eve::asset_import::prepareUnityNativeMesh(), eve::asset_import::prepareUnityNativeTexture(), eve::asset_import::prepareUnityNativeVolumeTexture(), eve::asset_import::prepareUnitySpriteAnimation(), eve::asset_import::prepareUnityVegetationConversionImport(), eve::asset_import::prepareUnityVegetationMaterial(), eve::asset_import::prepareUnityVegetationPreset(), eve::asset_import::prepareUnityVegetationScene(), eve::asset_import::prepareUnrealM4Import(), eve::detail::UuidIdState::projectLegacy(), eve::asset::AtomicAssetPackageStore::publishEvpack(), eve::asset_import::gltf::put32(), eve::asset_import::gltf::putFloat(), eve::asset::EvpackResourceReader::read(), eve::filesystem::ResourceReader::read(), eve::asset::FileEvpackRangeSource::read(), eve::asset::EvpackRangeMount::readChunk(), eve::filesystem::readPreparedFile(), eve::graphics::detail::readShaderStageFile(), eve::filesystem::Filesystem::readText(), eve::asset_import::readUnityPackage(), eve::graphics::vulkan::Graphics::replaceTexturePixelsRGBA(), eve::procgen::TerrainGenerationSession::restoreJson(), eve::pixelworld::PixelWorld::restoreSnapshot(), eve::pixelworld::PixelWorldControlService::restoreSnapshot(), eve::animation::SmrOnnxRunner::run(), eve::cmd::Cmdline::Run(), eve::tensor::OnnxModel::runGpu(), eve::voxel::VoxelWorld::saveWorld(), eve::animation::MotionDatabase::setFeatureCurves(), eve::editor::HostProfile::setMaxPayloadBytes(), eve::asset_import::detail::sha256(), eve::graphics::shaderInstanceMatrixCount(), eve::tensor::GpuProgram::tryBuild(), eve::graphics::vulkan::Graphics::updateTexture(), eve::graphics::raytracing::DeviceAddressBuffer::upload(), eve::graphics::vulkan::uploadTextureForAllShaderStages() , 以及 eve::spritestack_editing::SpriteStackDocumentTarget::validate().

◆ crashed

bool crashed = false

在文件 McpRuntimeTools.cpp 第 168 行定义.

◆ crashes

int crashes = 0

在文件 McpRuntimeTools.cpp 第 157 行定义.

◆ ended

◆ exists

◆ hasPreviousSession

bool hasPreviousSession = false

在文件 McpRuntimeTools.cpp 第 159 行定义.

◆ lastCrashAt

std::string lastCrashAt

在文件 McpRuntimeTools.cpp 第 158 行定义.

◆ previousSessionCrashed

bool previousSessionCrashed = false

在文件 McpRuntimeTools.cpp 第 161 行定义.

◆ previousSessionEnded

bool previousSessionEnded = false

在文件 McpRuntimeTools.cpp 第 160 行定义.

◆ scannedBytes

std::uint64_t scannedBytes = 0

在文件 McpRuntimeTools.cpp 第 155 行定义.

◆ sessions

int sessions = 0

在文件 McpRuntimeTools.cpp 第 156 行定义.

被这些函数引用 eve::editor::EditorTargetCoordinator::unregisterTarget().

◆ tail

std::vector<std::string> tail

在文件 McpRuntimeTools.cpp 第 162 行定义.