Skip to content

CNavPathCost

CS2 build 25218825 · Steam date 2026-09-09 · platform windows-x86_64 · cs2_schema.json

Kind: classSize: 48 bytes (0x30)Alignment: unspecified (0xff sentinel)Module: navlibBinary: !GlobalTypes

Relationships

Inherits from: INavPathCost

Inheritance tree
Relationship diagram (1 edges)
classDiagram
    INavPathCost <|-- CNavPathCost
Inheritance chain, direct subclasses (up to 20) and a few composition edges

Memory layout

13 fields, 12 declared here and 1 inherited. Offsets are absolute from the object base on windows-x86_64.

INavPathCostCNavPathCost

OffsetFieldTypeFromAnnotations
0x8m_navHullNavHull_tINavPathCost
0x10m_bAllowLaddersbool
0x11m_bCanFlybool
0x12m_bCanSwimbool
0x14m_flWaterToGroundMaxHeightfloat32
0x18m_flGroundToWaterMaxHeightfloat32
0x1cm_flGroundToWaterTransitionDistancefloat32
0x20m_flWaterToGroundTransitionDistancefloat32
0x24m_flFlyingTransitionTolerancefloat32
0x28m_bOptimizeFlySpacePathfindsbool
0x29m_bStringPullFlySpacePathfindsbool
0x2am_bSupportsTransitionsbool
0x2cm_flTransitionPenaltyfloat32