Table of Contents

Class EntitySystem

Namespace
CounterStrikeSharp.API.Modules.Entities
Assembly
CounterStrikeSharp.API.dll
public static class EntitySystem
Inheritance
EntitySystem

Properties

FirstActiveEntity

public static nint FirstActiveEntity { get; }

Property Value

nint

Methods

GetEntityByHandle(uint)

public static nint? GetEntityByHandle(uint raw)

Parameters

raw uint

Returns

nint?

GetEntityByHandle<T>(CHandle<T>)

public static nint? GetEntityByHandle<T>(CHandle<T> handle) where T : NativeEntity

Parameters

handle CHandle<T>

Returns

nint?

Type Parameters

T

GetEntityByIndex(uint)

public static nint? GetEntityByIndex(uint index)

Parameters

index uint

Returns

nint?

GetRawHandleFromEntityPointer(nint)

public static uint GetRawHandleFromEntityPointer(nint pointer)

Parameters

pointer nint

Returns

uint