Crafter.Debug/examples/Basic/interfaces/Basic.DebugCommands.cppm

14 lines
474 B
Text
Raw Normal View History

// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
// What an agent can call and read in a debug build. project.cpp compiles
// this module only when Debug::Use added Crafter.Debug, so the plain build
// has none of it.
export module Basic.DebugCommands;
import Basic.World;
export namespace Basic {
// Registers the commands and watches on `world`, which must outlive the
// Session.
void RegisterDebug(World& world);
}