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