swiftlys2/docs/api/ai/
API Reference Natives

INativeHandle

Interface
Namespace: SwiftlyS2.Shared.Natives · Assembly: SwiftlyS2.CS2.dll
public interface INativeHandle

Native handle from swiftly c++ native side, either allocated or borrowed from game.

View source

Properties

Address

Dangerous method to get the memory address of the object

nint Address { get; }
Property Value

IsValid

Return whether a handle is valid. Still might be dangerous for some pointer that borrowed from game instead of allocated by ourselves.

bool IsValid { get; }
Property Value