MassBattle Docs

FFlowFieldCanvasModule

IModuleInterface

Source/FlowFieldCanvas/Public/FlowFieldCanvas.h

概述 Overview

FlowFieldCanvas 模块的入口类(IModuleInterface 实现)。本模块在 MassBattle.uplugin 中声明为 Runtime 类型、LoadingPhase = Default,平台白名单为 Win64 / Linux。两个生命周期回调当前均为空实现——模块无需自定义加载/卸载逻辑。

Module entry point for the FlowFieldCanvas module (implements IModuleInterface). The module is declared in MassBattle.uplugin as Runtime type with LoadingPhase = Default and a Win64 / Linux platform allowlist. Both lifecycle callbacks are currently empty — the module needs no custom load/unload logic.

公开方法 Public Methods

StartupModule virtual void

模块加载后由引擎调用。当前实现仅含注释说明,无任何初始化逻辑。

Called by the engine after the module is loaded into memory. The current implementation contains only a comment; no initialization logic.

Input

无参数。

No parameters.

Output

无返回值,无副作用。

No return value, no side effects.

ShutdownModule virtual void

模块卸载前由引擎调用(支持动态重载的模块在卸载前触发)。当前实现仅含注释说明,无清理逻辑。

Called by the engine before the module is unloaded (for modules supporting dynamic reloading, it is invoked before the module is removed). The current implementation contains only a comment; no cleanup logic.

Input

无参数。

No parameters.

Output

无返回值,无副作用。

No return value, no side effects.

管线角色 Pipeline Role

IMPLEMENT_MODULE(FFlowFieldCanvasModule, FlowFieldCanvas) 将本类注册为模块引导入口;模块在 MassBattle.uplugin 中声明(允许平台:Win64 / Linux,加载阶段 Default)。模块本身不做任何初始化——全部功能由模块内的 Actor 类(AFlowField 及各类 modifier)在实例化时自建组件实现。

IMPLEMENT_MODULE(FFlowFieldCanvasModule, FlowFieldCanvas) registers this class as the module bootstrap entry; the module is declared in MassBattle.uplugin (allowed platforms: Win64 / Linux, loading phase Default). The module itself performs no initialization — all functionality comes from the module's actor classes (AFlowField and the modifier actors), which build their own components when instantiated.