Class NativeResourcePool
Inheritance
System.Object
NativeResourcePool
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AltV.Net.Elements.Pools
Assembly: AltV.Net.dll
Syntax
public class NativeResourcePool : INativeResourcePool
Constructors
| Improve this Doc View SourceNativeResourcePool(INativeResourceFactory)
Declaration
public NativeResourcePool(INativeResourceFactory resourceFactory)
Parameters
Type | Name | Description |
---|---|---|
INativeResourceFactory | resourceFactory |
Methods
| Improve this Doc View SourceGetOrCreate(ICore, IntPtr, out INativeResource)
Declaration
public bool GetOrCreate(ICore core, IntPtr resourcePointer, out INativeResource resource)
Parameters
Type | Name | Description |
---|---|---|
ICore | core | |
System.IntPtr | resourcePointer | |
INativeResource | resource |
Returns
Type | Description |
---|---|
System.Boolean |