FromAddress

Last Updated2026-07-23
Created At2026-07-23

Wraps an existing native KeyValues pointer in a KeyValues Handle, for example one obtained from the game through an SDKCall or a detour. The returned Handle does NOT own the underlying KeyValues: closing or deleting it will not free the pointed-to memory (which is owned by whoever created it, typically the game). The Handle must not be used after the underlying KeyValues has been freed.

native KeyValues FromAddress(Address pKeyValues)

Parameters

Address pKeyValues
Address of a native KeyValues object.

Return Value

KeyValues A KeyValues Handle wrapping the given pointer.

Error

Address is null.