Class AsyncPedPool
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 AsyncPedPool : AsyncEntityPool<IPed>, IEntityPool<IPed>, IReadOnlyEntityPool<IPed>
Constructors
| Improve this Doc View SourceAsyncPedPool(IEntityFactory<IPed>, Boolean)
Declaration
public AsyncPedPool(IEntityFactory<IPed> entityFactory, bool forceAsync = false)
Parameters
Type | Name | Description |
---|---|---|
IEntityFactory<IPed> | entityFactory | |
System.Boolean | forceAsync |
Methods
| Improve this Doc View SourceForEach(IAsyncBaseObjectCallback<IPed>)
Declaration
public override async Task ForEach(IAsyncBaseObjectCallback<IPed> asyncBaseObjectCallback)
Parameters
Type | Name | Description |
---|---|---|
IAsyncBaseObjectCallback<IPed> | asyncBaseObjectCallback |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
Overrides
AltV.Net.Async.AsyncEntityPool<AltV.Net.Elements.Entities.IPed>.ForEach(AltV.Net.Elements.Pools.IAsyncBaseObjectCallback<AltV.Net.Elements.Entities.IPed>)
|
Improve this Doc
View Source
ForEach(IBaseObjectCallback<IPed>)
Declaration
public override void ForEach(IBaseObjectCallback<IPed> baseObjectCallback)
Parameters
Type | Name | Description |
---|---|---|
IBaseObjectCallback<IPed> | baseObjectCallback |
Overrides
AltV.Net.Async.AsyncEntityPool<AltV.Net.Elements.Entities.IPed>.ForEach(AltV.Net.Elements.Pools.IBaseObjectCallback<AltV.Net.Elements.Entities.IPed>)
|
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.AsyncEntityPool<AltV.Net.Elements.Entities.IPed>.GetId(System.IntPtr)