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

---
title: "CPAssignment_t"
navbar: dynamic
asidebar: hide
---
# CPAssignment\_t

Schema class in module `particles`.

## Summary

- Kind: `class`
- Module: `particles`
- Size: `1768 (0x06E8)`
- Size bytes: `1768`
- Parent: `value.DeclaredClass`
- Inherited fields: `0`
- Product: Counter-Strike 2

## Inheritance

- [value.DeclaredClass](/cs2/api_reference/engine/value#valuedeclaredclass) (class)

## Own Fields

| Field | Type | Offset | Bits | Default | Metadata |
| --- | --- | --- | --- | --- | --- |
| `m_nCPNumber` | [number](/cs2/api_reference/lua/base#number) | 0 (0x00) | - | - | `MPropertyFriendlyName`: "Control Point Number" |
| `m_nOrientationMode` | [ParticleOrientationSetMode\_t](/cs2/dumped_data/schema/particles/ParticleOrientationSetMode_t) | 1760 (0x06E0) | - | - | `MPropertyFriendlyName`: "CP Orientation Type" |

## Referenced By

| Name | Field | Module | Relation |
| --- | --- | --- | --- |
| [C\_OP\_CreateParticleSystemRenderer](/cs2/dumped_data/schema/particles/C_OP_CreateParticleSystemRenderer) | `m_vecCPs` | particles | - |

