Table of Contents

Namespace CounterStrikeSharp.API.Modules.Utils

Classes

Angle

A Angle object represents 3D Euler angle, offset from the cardinal Z axis. Each angle contains three rotation values.

  • Xpitch +down/-up
  • Yyaw +left/-right
  • Zroll +right/-left
AttachmentHandle_t
CEntityHandle
CEntityKeyValues

WARNING: This is intended to be only used with DispatchSpawn(CEntityKeyValues?) for now!

CHandle<T>

CHandle is a class that represents a 32-bit ID (entindex + serial number) unique to every past and present entity in a game. It is used to refer to entities where pointers and entity indexes are unsafe; mainly across the client/server divide. More info

CStrongHandleCopyable<T>
CStrongHandle<T>
CTransform
CUtlStringToken
CWeakHandle<T>
ChatColors
EnumUtils
Masks

Composite trace masks (bspflags.h MASK_* defines).

NetworkedString
PointerTo<T>
QAngle
Quaternion
RecipientFilter

A generic filter for determining whom to send message/sounds etc. to and providing a bit of additional state information

ResourceManifest
Trace

Static class for performing ray and hull traces against the game world.

TraceOptions

Controls which physics layers a trace interacts with.

Vector

A Vector object represents a line with a direction and length. Each vector contains three co-ordinates:

  • X+forward/-backward
  • Y+left/-right
  • Z+up/-down
Vector2D
Vector4D
WorldGroupId_t
matrix3x4_t

Structs

CEntityIndex
TraceResult

Result of a ray or hull trace. Plain unmanaged value type — stack-allocated by the Trace methods and returned by value. No heap allocation, no disposal. Layout matches CSSTraceResult in natives_raytrace.cpp.

Enums

AcquireMethod
AcquireResult
Contents

Contents flags for physics interaction layers (bspflags.h / const.h). Used with TraceOptions and PointContents(Vector, Contents).

CsTeam
HudDestination
KeyValuesType

WARNING: This is intended to be only used with CEntityKeyValues for now!

PlayerFlags
RayType_t