Navigation
API > API/Plugins > API/Plugins/MLAdapter > API/Plugins/MLAdapter/Sessions > API/Plugins/MLAdapter/Sessions/UMLAdapterSession
References
| Module | MLAdapter |
| Header | /Engine/Plugins/AI/MLAdapter/Source/MLAdapter/Public/Sessions/MLAdapterSession.h |
| Include | #include "Sessions/MLAdapterSession.h" |
| Source | /Engine/Plugins/AI/MLAdapter/Source/MLAdapter/Private/Sessions/MLAdapterSession.cpp |
bool TryResetActionDuration
(
FMLAdapter::FAgentID AgentID
)
Remarks
Resets the action duration flag if it has elapsed. Returns false if not reset yet or the agent is not found. Used with HasActionDurationElapsed by Manager.