HostagePathCost
CS2 build 27045800 · Steam date 2026-11-30 · platform windows-x86_64 · cs2_schema.json
Kind: classSize: 48 bytes (0x30)Alignment: 8 bytesModule: serverBinary: !GlobalTypes
Relationships
Inherits from: CNavPathCost
Inheritance tree
INavPathCost navlib
CNavPathCost navlib
- HostagePathCost
Relationship diagram (2 edges)
classDiagram
INavPathCost <|-- CNavPathCost
CNavPathCost <|-- HostagePathCostMemory layout
13 fields, 0 declared here and 13 inherited. Offsets are absolute from the object base on windows-x86_64.
INavPathCostCNavPathCost
| Offset | Field | Type | From | Annotations |
|---|---|---|---|---|
0x8 | m_navHull | NavHull_t | INavPathCost | |
0x10 | m_bAllowLadders | bool | CNavPathCost | |
0x11 | m_bCanFly | bool | CNavPathCost | |
0x12 | m_bCanSwim | bool | CNavPathCost | |
0x14 | m_flWaterToGroundMaxHeight | float32 | CNavPathCost | |
0x18 | m_flGroundToWaterMaxHeight | float32 | CNavPathCost | |
0x1c | m_flGroundToWaterTransitionDistance | float32 | CNavPathCost | |
0x20 | m_flWaterToGroundTransitionDistance | float32 | CNavPathCost | |
0x24 | m_flFlyingTransitionTolerance | float32 | CNavPathCost | |
0x28 | m_bOptimizeFlySpacePathfinds | bool | CNavPathCost | |
0x29 | m_bStringPullFlySpacePathfinds | bool | CNavPathCost | |
0x2a | m_bSupportsTransitions | bool | CNavPathCost | |
0x2c | m_flTransitionPenalty | float32 | CNavPathCost |
KV3 class defaults
{
"_class": "HostagePathCost",
"m_navHull":
{
"m_nHullIdx": 0
},
"m_bAllowLadders": true,
"m_bCanFly": false,
"m_bCanSwim": false,
"m_flWaterToGroundMaxHeight": 100.000000,
"m_flGroundToWaterMaxHeight": 100.000000,
"m_flGroundToWaterTransitionDistance": -1.000000,
"m_flWaterToGroundTransitionDistance": -1.000000,
"m_flFlyingTransitionTolerance": 140.000000,
"m_bOptimizeFlySpacePathfinds": true,
"m_bStringPullFlySpacePathfinds": false,
"m_bSupportsTransitions": false,
"m_flTransitionPenalty": 200.000000
}