SwiftlyS2

INativeHandle

Interface INativeHandle

Namespace: SwiftlyS2.Shared.Natives

Assembly: SwiftlyS2.CS2.dll

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

public interface INativeHandle

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

On this page