载入中...
搜索中...
未找到
Climbing.h 文件参考

Deterministic climbing/parkour planning and capsule-constrained execution. 更多...

#include "common/Export.h"
#include "climbing/ClimbingAnchorGraph.h"
#include "climbing/ClimbingAnchorAuthoring.h"
#include "climbing/ClimbingPrimitives.h"
#include "climbing/ClimbingTelemetry.h"
#include "common/Module.h"
#include "common/Result.h"
#include "common/SquirrelOwnership.h"
#include "common/StrongUint64.h"
#include "common/Time.h"
#include "common/Value.h"
#include "physics/OwnedQuery3D.h"
#include <cstddef>
#include <cstdint>
#include <array>
#include <memory>
#include <optional>
#include <span>
#include <string>
#include <string_view>
#include <unordered_set>
#include <vector>

浏览源代码.

类

struct  eve::climbing::ClimbingAnimationBinding
 Stable animation asset and graph binding metadata. 更多...
 
struct  eve::climbing::ClimbingBranchWindow
 Normalized branch interval advertising one stable combo tag. 更多...
 
struct  eve::climbing::ClimbingContactConstraint
 Normalized contact interval and maximum constraint weight. 更多...
 
struct  eve::climbing::ClimbingScoreWeights
 Quantized selection-cost weights stored with a profile. 更多...
 
struct  eve::climbing::ClimbingWarpWindow
 Normalized action interval selecting which motion-warp channels may correct authored motion. 更多...
 
struct  eve::climbing::ClimbingActionDefinition
 Definition of one geometry-compatible climbing action. 更多...
 
struct  eve::climbing::ClimbingProfileDefinition
 Runtime profile controlling capsule geometry and probe limits. 更多...
 
struct  eve::climbing::ClimbingLocomotionPolicy
 Small owning projection of profile fields consumed by ordinary ground/air locomotion. 更多...
 
struct  eve::climbing::ClimbingPose
 Input pose used for one deterministic candidate probe. 更多...
 
struct  eve::climbing::ClimbingCandidate
 Owning, replayable climbing candidate; contains no borrowed query pointers. 更多...
 
class  eve::climbing::ClimbingCandidateSet
 Fixed-capacity owning candidate set used by the production probe hot path. 更多...
 
struct  eve::climbing::ClimbingCandidateKey
 Opaque deterministic identity of one sorted candidate; contains no client-authored position. 更多...
 
struct  eve::climbing::ClimbingPredictionRequest
 Client-to-server request containing selection identity only, never a world-space target. 更多...
 
struct  eve::climbing::ClimbingPredictionDecision
 Server-to-client decision carrying the authoritative runtime snapshot for reconciliation. 更多...
 
struct  eve::climbing::ClimbingStart
 Owning evidence returned by one committed climbing selection transaction. 更多...
 
struct  eve::climbing::ClimbingEvent
 Owning event record; dispatch to scripts only after the simulation phase. 更多...
 
struct  eve::climbing::ClimbingMotionInput
 Per-tick authored animation motion supplied before climbing warp and collision. 更多...
 
struct  eve::climbing::ClimbingAdvance
 Owning output of one execution tick. 更多...
 
struct  eve::climbing::ClimbingDebugQuery
 Geometry-query evidence suitable for an engine debug-draw adapter. 更多...
 
struct  eve::climbing::ClimbingCandidateEvidence
 Quantized selection cost and hard-decision evidence for one action definition. 更多...
 
struct  eve::climbing::ClimbingMotionEvidence
 One planned-versus-actual capsule sample from an authoritative execution tick. 更多...
 
struct  eve::climbing::ClimbingDebugSnapshot
 Bounded owning debug snapshot, independent of Physics query caches. 更多...
 
class  eve::climbing::ClimbingRuntime
 Owner-thread climbing planner and executor for one character. 更多...
 
struct  eve::climbing::ClimbingRuntimeHandleTag
 Handle domain for module-owned climbing runtimes. 更多...
 
class  eve::climbing::Climbing
 Script-facing factory and owner for independent climbing runtimes. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::animation
 
namespace  eve::physics
 Optional physics backend for vehicle mobility and body attach.
 
namespace  eve::climbing
 
namespace  eve::climbing::detail
 

类型定义

using eve::climbing::ClimbingProfile = ClimbingProfileDefinition
 Compatibility-only spelling; ClimbingProfileDefinition is canonical.
 
using eve::climbing::ClimbingPredictionSequence = eve::detail::StrongUint64< detail::ClimbingPredictionSequenceTag >
 Non-zero client command sequence used to pair one prediction decision.
 
using eve::climbing::ClimbingRuntimeHandleRef = eve::script::RuntimeHandleRef< ClimbingRuntimeHandleTag >
 Generation- and module-epoch-qualified climbing runtime reference.
 

枚举

enum class  eve::climbing::ClimbingActionKind : std::uint8_t {
  eve::climbing::Vault , eve::climbing::Mantle , eve::climbing::LedgeGrab , eve::climbing::ClimbUp ,
  eve::climbing::Shimmy , eve::climbing::CornerInner , eve::climbing::CornerOuter , eve::climbing::LedgeJump ,
  eve::climbing::ClimbDown , eve::climbing::LadderMount , eve::climbing::LadderClimb , eve::climbing::LadderDismount ,
  eve::climbing::WallRun , eve::climbing::Slide , eve::climbing::BeamBalance , eve::climbing::PoleSwing ,
  eve::climbing::BarSwing
}
 Data-driven action family; stable action identity remains the definition id. 更多...
 
enum class  eve::climbing::ClimbingMovementMode : std::uint8_t { eve::climbing::Grounded , eve::climbing::Airborne , eve::climbing::Climbing }
 Movement mode used by action source-mode hard validation. 更多...
 
enum class  eve::climbing::ClimbingSourceMode : std::uint8_t {
  eve::climbing::None = 0 , eve::climbing::Grounded = 1u << 0u , eve::climbing::Airborne = 1u << 1u , eve::climbing::Climbing = 1u << 2u ,
  eve::climbing::Any = 0x07
}
 Bit mask of movement modes from which an action may start. 更多...
 
enum class  eve::climbing::ClimbingCommandRequirement : std::uint8_t {
  eve::climbing::Any , eve::climbing::Jump , eve::climbing::Climb , eve::climbing::Drop ,
  eve::climbing::Sprint , eve::climbing::Crouch
}
 Input edge required by an action definition; Any keeps legacy automatic selection. 更多...
 
enum class  eve::climbing::ClimbingProbeRecipe : std::uint8_t {
  eve::climbing::Automatic , eve::climbing::Obstacle , eve::climbing::Ledge , eve::climbing::Wall ,
  eve::climbing::Ground , eve::climbing::AnchorGraph
}
 Semantic query family used to produce action candidates. 更多...
 
enum class  eve::climbing::ClimbingTrajectoryKind : std::uint8_t { eve::climbing::Automatic , eve::climbing::BallisticArc , eve::climbing::SurfaceFollow , eve::climbing::AnchorToAnchor }
 Semantic trajectory topology, independent of a particular animation clip. 更多...
 
enum class  eve::climbing::ClimbingLandingPolicy : std::uint8_t { eve::climbing::PreserveMomentum , eve::climbing::MatchGround , eve::climbing::Stop }
 Policy applied when authored motion reaches its landing phase. 更多...
 
enum class  eve::climbing::ClimbingTerminalVelocityPolicy : std::uint8_t { eve::climbing::Preserve , eve::climbing::ClampDownward , eve::climbing::Zero }
 Policy applied to vertical velocity when an action terminates. 更多...
 
enum class  eve::climbing::ClimbingStaminaPolicy : std::uint8_t { eve::climbing::Disabled , eve::climbing::RequireProvider , eve::climbing::UseWhenPresent }
 Optional stamina integration policy; climbing never owns stamina state. 更多...
 
enum class  eve::climbing::ClimbingInputMode : std::uint8_t { eve::climbing::Flow , eve::climbing::Precision }
 Input interpretation used by candidate assist and deterministic selection policies. 更多...
 
enum class  eve::climbing::ClimbingContactTarget : std::uint8_t {
  eve::climbing::LeftHand , eve::climbing::RightHand , eve::climbing::LeftFoot , eve::climbing::RightFoot ,
  eve::climbing::Pelvis
}
 Contact target used by animation/IK adapters. 更多...
 
enum class  eve::climbing::HangSupport : std::uint8_t { eve::climbing::None , eve::climbing::Braced , eve::climbing::Free }
 Evidence describing whether a hanging pose has foot support. 更多...
 
enum class  eve::climbing::ClimbingCancelReason : std::uint8_t {
  eve::climbing::PlayerRequest , eve::climbing::DropRequested , eve::climbing::LinkStale , eve::climbing::AnchorStale ,
  eve::climbing::MotionBlocked , eve::climbing::WarpBudgetExceeded , eve::climbing::DefinitionReloaded
}
 Stable, strongly typed terminal cancellation reason. 更多...
 
enum class  eve::climbing::ClimbingPredictionDisposition : std::uint8_t { eve::climbing::Accepted , eve::climbing::Corrected , eve::climbing::Rejected }
 Named server-authoritative outcome of one prediction request. 更多...
 
enum class  eve::climbing::ClimbingPredictionReason : std::uint8_t {
  eve::climbing::None , eve::climbing::CandidateMismatch , eve::climbing::NoCandidate , eve::climbing::TickTooFarAhead ,
  eve::climbing::RuntimeBusy , eve::climbing::InvalidRequest
}
 Stable reason for a non-accepted prediction decision. 更多...
 
enum class  eve::climbing::ClimbingPhase : std::uint8_t {
  eve::climbing::Idle , eve::climbing::Requested , eve::climbing::Aligning , eve::climbing::Launching ,
  eve::climbing::Climbing , eve::climbing::Landing , eve::climbing::Recovering , eve::climbing::Hanging ,
  eve::climbing::Dropping , eve::climbing::Completed , eve::climbing::Cancelled , eve::climbing::Failed ,
  eve::climbing::Balanced , eve::climbing::Swinging
}
 Execution lifecycle visible to gameplay and animation adapters. 更多...
 
enum class  eve::climbing::ClimbingEventKind : std::uint8_t {
  eve::climbing::Started , eve::climbing::AnchorTransitionStarted , eve::climbing::AnchorReached , eve::climbing::ContactLeftHand ,
  eve::climbing::ContactRightHand , eve::climbing::Landed , eve::climbing::Hanging , eve::climbing::Dropped ,
  eve::climbing::Completed , eve::climbing::Cancelled , eve::climbing::Failed
}
 Stable semantic event emitted by the authoritative climbing lifecycle. 更多...
 
enum class  eve::climbing::ClimbingNotifyKind : std::uint8_t {
  eve::climbing::ContactLeftHand , eve::climbing::ContactRightHand , eve::climbing::CollisionCompact , eve::climbing::BranchOpen ,
  eve::climbing::BranchClose , eve::climbing::Land
}
 Stable animation notify semantics accepted from a validated climbing clip. 更多...
 
enum class  eve::climbing::ClimbingRootMotionPolicy { eve::climbing::ApplyActionWarp , eve::climbing::PreserveSuppliedDelta }
 Whether animation deltas still require the runtime's procedural target warp. 更多...
 
enum class  eve::climbing::ClimbingObstacleCollision { eve::climbing::Collide , eve::climbing::IgnoreTraversedShape }
 Per-call capsule collision policy; never changes persistent world collision state. 更多...
 
enum class  eve::climbing::ClimbingDebugCapture : std::uint8_t { eve::climbing::Disabled , eve::climbing::Enabled }
 Runtime policy controlling optional owning diagnostic capture. 更多...
 

函数

EVENGINE_API_DOMAINS ClimbingCandidateKey eve::climbing::makeClimbingCandidateKey (const ClimbingCandidate &candidate, std::uint32_t sortedRank) noexcept
 Creates the opaque key for one candidate at its deterministic sorted rank.
 
EVENGINE_API_DOMAINS eve::Result< eve::Value > eve::climbing::encodeClimbingPredictionRequest (const ClimbingPredictionRequest &request)
 Encodes a validated prediction request to its canonical owning Value representation.
 
EVENGINE_API_DOMAINS eve::Result< ClimbingPredictionRequest > eve::climbing::decodeClimbingPredictionRequest (const eve::Value &value)
 Decodes a complete request and rejects unknown schema versions transactionally.
 
EVENGINE_API_DOMAINS eve::Result< eve::Value > eve::climbing::encodeClimbingPredictionDecision (const ClimbingPredictionDecision &decision)
 Encodes a validated authoritative decision to its canonical owning Value representation.
 
EVENGINE_API_DOMAINS eve::Result< ClimbingPredictionDecision > eve::climbing::decodeClimbingPredictionDecision (const eve::Value &value)
 Decodes a complete authoritative decision transactionally.
 

详细描述

Deterministic climbing/parkour planning and capsule-constrained execution.

在文件 Climbing.h 中定义.