Table of Contents

Class ObjectHandleExtensions

Namespace
Vintagestory.API.Util
Assembly
VintagestoryAPI.dll
public static class ObjectHandleExtensions
Inheritance
ObjectHandleExtensions
Inherited Members

Methods

ToGcHandle(object)

public static GCHandle ToGcHandle(this object target)

Parameters

target object

Returns

GCHandle

ToIntPtr(object)

public static nint ToIntPtr(this object target)

Parameters

target object

Returns

nint

ToIntPtr(GCHandle)

public static nint ToIntPtr(this GCHandle target)

Parameters

target GCHandle

Returns

nint