> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "HostagePathCost"
navbar: dynamic
asidebar: hide
---
# HostagePathCost

Schema class in module `server`.

## Summary

- Kind: `class`
- Module: `server`
- Size: `48 (0x30)`
- Size bytes: `48`
- Parent: `CNavPathCost`
- Inherited fields: `13`
- Product: Counter-Strike 2

## Inheritance

- [CNavPathCost](/cs2/dumped_data/schema/navlib/CNavPathCost) (class)
- [INavPathCost](/cs2/dumped_data/schema/navlib/INavPathCost) (class)
- [value.DeclaredClass](/cs2/api_reference/engine/value#valuedeclaredclass) (class)

## Own Fields

No fields.

## Inherited Fields From INavPathCost

| Field | Type | Offset | Bits | Default | Metadata |
| --- | --- | --- | --- | --- | --- |
| `m_navHull` | [NavHull\_t](/cs2/dumped_data/schema/navlib/NavHull_t) | 8 (0x08) | - | - | - |

## Inherited Fields From CNavPathCost

| Field | Type | Offset | Bits | Default | Metadata |
| --- | --- | --- | --- | --- | --- |
| `m_bAllowLadders` | [boolean](/cs2/api_reference/lua/base#boolean) | 16 (0x10) | - | - | - |
| `m_bCanFly` | [boolean](/cs2/api_reference/lua/base#boolean) | 17 (0x11) | - | - | - |
| `m_bCanSwim` | [boolean](/cs2/api_reference/lua/base#boolean) | 18 (0x12) | - | - | - |
| `m_flWaterToGroundMaxHeight` | [number](/cs2/api_reference/lua/base#number) | 20 (0x14) | - | - | - |
| `m_flGroundToWaterMaxHeight` | [number](/cs2/api_reference/lua/base#number) | 24 (0x18) | - | - | - |
| `m_flGroundToWaterTransitionDistance` | [number](/cs2/api_reference/lua/base#number) | 28 (0x1C) | - | - | - |
| `m_flWaterToGroundTransitionDistance` | [number](/cs2/api_reference/lua/base#number) | 32 (0x20) | - | - | - |
| `m_flFlyingTransitionTolerance` | [number](/cs2/api_reference/lua/base#number) | 36 (0x24) | - | - | - |
| `m_bOptimizeFlySpacePathfinds` | [boolean](/cs2/api_reference/lua/base#boolean) | 40 (0x28) | - | - | - |
| `m_bStringPullFlySpacePathfinds` | [boolean](/cs2/api_reference/lua/base#boolean) | 41 (0x29) | - | - | - |
| `m_bSupportsTransitions` | [boolean](/cs2/api_reference/lua/base#boolean) | 42 (0x2A) | - | - | - |
| `m_flTransitionPenalty` | [number](/cs2/api_reference/lua/base#number) | 44 (0x2C) | - | - | - |

