载入中...
搜索中...
未找到
CrowdInternal.h 文件参考
#include "crowd/Crowd.h"
#include "crowd/CrowdSpatialIndex.h"
#include "crowd/CrowdWorkScheduler.h"
#include <algorithm>
#include <cmath>
#include <functional>
#include <string_view>
#include <unordered_map>
#include <vector>

浏览源代码.

类

struct  eve::crowd::Crowd::NavigationRequests
 Private crowd runtime storage. @cost Linear in agent count for SOA vectors and transient broadphase/avoidance work buffers; capacity is bounded by maxAgents. 更多...
 
struct  eve::crowd::Crowd::NavigationRequests::Entry
 
struct  eve::crowd::Crowd::Impl
 
struct  eve::crowd::Crowd::Impl::SchedulerFailure
 
struct  eve::crowd::Crowd::Impl::RegistryEntry
 
struct  eve::crowd::Crowd::Impl::FlowCacheEntry
 
struct  eve::crowd::Crowd::Impl::MotionBackup
 
struct  eve::crowd::Crowd::Impl::AvoidanceNeighbor
 
struct  eve::crowd::Crowd::Impl::ContactPair
 
struct  eve::crowd::Crowd::Impl::ContactDelta
 
struct  eve::crowd::Crowd::Impl::PreferredFlow
 

命名空间

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

函数

bool eve::crowd::validAgentUpdate (const AgentUpdate &update)
 
Result< std::vector< int > > eve::crowd::canonicalFlowCoordinates (std::span< const FlowGoal > goals, const CrowdField &field)
 Copy validated goals into their unique canonical coordinates.
 
bool eve::crowd::isFlowPointReachable (const CrowdField &field, float x, float y) noexcept
 Observe exact containing-cell reachability, independent of interpolation across blocked cells. @ownership Borrows immutable field only during call. @thread Owner thread. @reentrancy No callbacks.
 
void eve::crowd::exposeAgentBatches (ssq::Class &cls)
 Compose public numeric identity/batch bindings without accessing private storage.
 
void eve::crowd::exposeNavigationRequests (ssq::Class &cls)
 Register generation-qualified transient navigation request bindings.
 
Result< FlowLease > eve::crowd::resolveFlowRequestLease (Crowd &crowd, const ssq::Table &token)
 Resolve a checked request-owned lease without retaining script table references.
 
bool eve::crowd::isTerrainClear (const CrowdField &field, bool clamp, float x, float y, float radius)
 Shared exact-placement geometry predicate for creation and relocation transactions.
 
InteractionPolicy eve::crowd::canonicalInteraction (AgentInteraction policy)
 Normalize a compatibility filter into the canonical two-filter policy.
 
bool eve::crowd::validInteraction (InteractionPolicy policy)
 Check finite mobility and nonnegative filter masks without modifying state.
 
InteractionPolicy eve::crowd::parseInteractionPolicy (ssq::Table table)
 Decode a canonical policy at the script boundary; throws on missing or wrongly typed fields.
 
MovementBinding eve::crowd::parseMovementBinding (const ssq::Table &table)
 Decode exact integer movement identities; no floating-point identity coercion.
 
std::uint64_t eve::crowd::namedTieValue (std::string_view identity)
 Hash UTF-8 identity bytes once at admission; collisions are rejected by the registry.