载入中...
搜索中...
未找到
NpcAi.h 文件参考
#include "common/Export.h"
#include "common/Result.h"
#include "common/RuntimeHandle.h"
#include <cstdint>
#include <deque>
#include <functional>
#include <map>
#include <memory>
#include <optional>
#include <span>
#include <string>
#include <string_view>
#include <variant>
#include <vector>

浏览源代码.

类

struct  eve::npc_ai::BlackboardKeySpec
 BlackboardKeySpec public API. 更多...
 
struct  eve::npc_ai::BlackboardPredicate
 BlackboardPredicate public API. 更多...
 
struct  eve::npc_ai::TaskSpec
 TaskSpec public API. 更多...
 
struct  eve::npc_ai::Transition
 Transition public API. 更多...
 
struct  eve::npc_ai::StateDefinition
 StateDefinition public API. 更多...
 
struct  eve::npc_ai::BehaviorDefinition
 Immutable, validated source data for one hierarchical NPC state tree. 更多...
 
struct  eve::npc_ai::AgentHandleTag
 AgentHandleTag public API. 更多...
 
struct  eve::npc_ai::PerceptionMemory
 One bounded, expiring item of NPC perception memory. 更多...
 
struct  eve::npc_ai::TraceEvent
 TraceEvent public API. 更多...
 
struct  eve::npc_ai::NpcAiWorldConfig
 NpcAiWorldConfig public API. 更多...
 
struct  eve::npc_ai::TickContext
 Input time and work limits for one deterministic simulation update. 更多...
 
struct  eve::npc_ai::TickReport
 TickReport public API. 更多...
 
struct  eve::npc_ai::AgentSnapshot
 AgentSnapshot public API. 更多...
 
struct  eve::npc_ai::TaskArchive
 Portable task state stored inside an NPC archive. 更多...
 
struct  eve::npc_ai::AgentArchive
 Versioned, owning NPC state used for save/load and hot-reload handoff. 更多...
 
struct  eve::npc_ai::TaskContext
 TaskContext public API. 更多...
 
class  eve::npc_ai::ITaskService
 Owned extension point for navigation, animation, combat and gameplay tasks. @thread All calls are simulation-thread-affine. @reentrancy Implementations must not call back into the owning NpcAiWorld. 更多...
 
class  eve::npc_ai::NpcAiWorld
 Authoritative owner and deterministic scheduler for NPC AI agents. 更多...
 

命名空间

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

类型定义

using eve::npc_ai::BlackboardValue = std::variant< bool, std::int64_t, double, std::string >
 
using eve::npc_ai::AgentHandle = eve::RuntimeHandle< AgentHandleTag >
 

枚举

enum class  eve::npc_ai::BlackboardType : std::uint8_t { eve::npc_ai::Boolean , eve::npc_ai::Integer , eve::npc_ai::Number , eve::npc_ai::String }
 BlackboardType public API. 更多...
 
enum class  eve::npc_ai::CompareOp : std::uint8_t {
  eve::npc_ai::Exists , eve::npc_ai::Equal , eve::npc_ai::NotEqual , eve::npc_ai::Less ,
  eve::npc_ai::LessEqual , eve::npc_ai::Greater , eve::npc_ai::GreaterEqual
}
 CompareOp public API. 更多...
 
enum class  eve::npc_ai::TaskStatus : std::uint8_t { eve::npc_ai::Running , eve::npc_ai::Succeeded , eve::npc_ai::Failed }
 TaskStatus public API. 更多...
 
enum class  eve::npc_ai::StopReason : std::uint8_t {
  eve::npc_ai::Completed , eve::npc_ai::Transition , eve::npc_ai::StartupRollback , eve::npc_ai::AgentDestroyed ,
  eve::npc_ai::DefinitionReplaced
}
 StopReason public API. 更多...
 
enum class  eve::npc_ai::TraceKind : std::uint8_t {
  eve::npc_ai::AgentCreated , eve::npc_ai::AgentDestroyed , eve::npc_ai::AgentRestored , eve::npc_ai::BlackboardChanged ,
  eve::npc_ai::SignalQueued , eve::npc_ai::TransitionApplied , eve::npc_ai::TaskStarted , eve::npc_ai::TaskCompleted ,
  eve::npc_ai::TaskFailed , eve::npc_ai::PerceptionUpdated , eve::npc_ai::PerceptionForgotten
}
 TraceKind public API. 更多...