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