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

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

Schema class in module `entity2`.

## Summary

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

## Inheritance

- [Entity](/cs2/api_reference/engine/entity#entity-1) (class)

## Own Fields

| Field | Type | Offset | Bits | Default | Metadata |
| --- | --- | --- | --- | --- | --- |
| `m_iszPrivateVScripts` | [string](/cs2/api_reference/lua/base#string) | 8 (0x08) | - | - | - |
| `m_pEntity` | [CEntityIdentity](/cs2/dumped_data/schema/entity2/CEntityIdentity)? | 16 (0x10) | - | - | - |
| `m_CScriptComponent` | [CScriptComponent](/cs2/dumped_data/schema/entity2/CScriptComponent)? | 40 (0x28) | - | - | - |

## Referenced By

| Name | Field | Module | Relation |
| --- | --- | --- | --- |
| [C\_BaseEntity](/cs2/dumped_data/schema/client/C_BaseEntity) | - | client | class |
| [CGameSceneNode](/cs2/dumped_data/schema/client/CGameSceneNode) | `m_pOwner` | client | - |
| [CBaseEntity](/cs2/dumped_data/schema/server/CBaseEntity) | - | server | class |
| [CGameSceneNode](/cs2/dumped_data/schema/server/CGameSceneNode) | `m_pOwner` | server | - |

