Class PlayerPool
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.Client.Elements.Pools
Assembly: AltV.Net.Client.dll
Syntax
public class PlayerPool : EntityPool<IPlayer>, IPlayerPool, IEntityPool<IPlayer>, IReadOnlyEntityPool<IPlayer>
Constructors
| Improve this Doc View SourcePlayerPool(IPlayerFactory)
Declaration
public PlayerPool(IPlayerFactory entityFactory)
Parameters
| Type | Name | Description |
|---|---|---|
| IPlayerFactory | entityFactory |
Properties
| Improve this Doc View SourceLocalPlayer
Declaration
public ILocalPlayer LocalPlayer { get; }
Property Value
| Type | Description |
|---|---|
| ILocalPlayer |
Methods
| Improve this Doc View SourceGetId(IntPtr)
Declaration
protected sealed override uint GetId(IntPtr playerPointer)
Parameters
| Type | Name | Description |
|---|---|---|
| IntPtr | playerPointer |
Returns
| Type | Description |
|---|---|
| System.UInt32 |
Overrides
AltV.Net.Client.Elements.Pools.EntityPool<AltV.Net.Client.Elements.Interfaces.IPlayer>.GetId(IntPtr)
|
Improve this Doc
View Source
InitLocalPlayer(ICore)
Declaration
public void InitLocalPlayer(ICore core)
Parameters
| Type | Name | Description |
|---|---|---|
| ICore | core |