swiftlys2/docs/api/ai/
API Reference Natives

IAllocableNativeHandle

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

Allocated handle from swiftly c++ native side. We are using native for now to allocate objects to make use of the hl2sdk and memoverride.\ TODO: Not sure if it's a good idea to have an interface for this, because ideally there shouldn't be any difference between this and the `INativeHandle` from users' perspective, as allocation and destruction should be for internal use only and handled within the core.

View source