载入中...
搜索中...
未找到
RTSCasualtyCleanup.cpp
浏览该文件的文档.
13 // Read Identity/Containment/Crowd/Weapon; write only the same typed references as removeUnitRoot.
14 // Crowd removal is prepared before reference publication; structural release follows this method.
56 if (unit->containment()->container.isBound() && removed(unit->containment()->container.handle()))
74 Diagnostic::error(DiagnosticCode::Failed, "Cannot prepare casualty cleanup storage", "cleanup.units"));
#define EV_PROFILE_MODULE(module, name)
Profile the enclosing scope, tagged with a module for grouping.
Definition Profile.h:158
RTS module owner and phase-one composition profile entry point.
std::map< std::string, std::span< const std::uint8_t > > members
Definition UnityPackage.cpp:81
static Diagnostic error(DiagnosticCode code, std::string message, std::string path={})
Construct an error diagnostic with the standard error severity.
Definition Diagnostic.cpp:21
bool isAlive() const noexcept
Query original owner liveness; owner-thread only.
Definition LifetimeWitness.h:14
static Result failure(Status status)
Construct a failed result from a structured status.
Definition Result.h:196
static Status success(StatusCode code=StatusCode::Ok)
Construct a successful status with an explicit non-error outcome.
Definition Status.cpp:19
Result< AgentBatchReceipt > removeAgents(const AgentRemovalBatch &batch)
Atomically remove live references; every reference is checked before any removal. @ownership Borrows ...
Definition CrowdBatch.cpp:70
Definition PathSceneCapture.h:7
@ Building
Definition RTS.cpp:30
@ Failed
@ Conflict
@ Applied
Definition Container.h:602