Class AsyncVirtualEntityPool
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.Async.Elements.Pools
Assembly: AltV.Net.Async.dll
Syntax
public class AsyncVirtualEntityPool : AsyncBaseObjectPool<IVirtualEntity>, IBaseObjectPool<IVirtualEntity>, IReadOnlyBaseObjectPool<IVirtualEntity>
Constructors
| Improve this Doc View SourceAsyncVirtualEntityPool(IBaseObjectFactory<IVirtualEntity>, Boolean)
Declaration
public AsyncVirtualEntityPool(IBaseObjectFactory<IVirtualEntity> entityFactory, bool forceAsync = false)
Parameters
Type | Name | Description |
---|---|---|
IBaseObjectFactory<IVirtualEntity> | entityFactory | |
System.Boolean | forceAsync |
Methods
| Improve this Doc View SourceForEach(IAsyncBaseObjectCallback<IVirtualEntity>)
Declaration
public override async Task ForEach(IAsyncBaseObjectCallback<IVirtualEntity> asyncBaseObjectCallback)
Parameters
Type | Name | Description |
---|---|---|
IAsyncBaseObjectCallback<IVirtualEntity> | asyncBaseObjectCallback |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Overrides
AltV.Net.Async.AsyncBaseObjectPool<AltV.Net.Elements.Entities.IVirtualEntity>.ForEach(AltV.Net.Elements.Pools.IAsyncBaseObjectCallback<AltV.Net.Elements.Entities.IVirtualEntity>)
|
Improve this Doc
View Source
ForEach(IBaseObjectCallback<IVirtualEntity>)
Declaration
public override void ForEach(IBaseObjectCallback<IVirtualEntity> baseObjectCallback)
Parameters
Type | Name | Description |
---|---|---|
IBaseObjectCallback<IVirtualEntity> | baseObjectCallback |
Overrides
AltV.Net.Async.AsyncBaseObjectPool<AltV.Net.Elements.Entities.IVirtualEntity>.ForEach(AltV.Net.Elements.Pools.IBaseObjectCallback<AltV.Net.Elements.Entities.IVirtualEntity>)
|
Improve this Doc
View Source
GetId(IntPtr)
Declaration
public override uint GetId(IntPtr entityPointer)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | entityPointer |
Returns
Type | Description |
---|---|
System.UInt32 |
Overrides
AltV.Net.Async.AsyncBaseObjectPool<AltV.Net.Elements.Entities.IVirtualEntity>.GetId(System.IntPtr)