Class PlayerFactory
Inheritance
System.Object
PlayerFactory
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.Factories
Assembly: AltV.Net.Client.dll
Syntax
public class PlayerFactory : IPlayerFactory, IEntityFactory<IPlayer>
Methods
| Improve this Doc View SourceCreate(ICore, IntPtr, UInt32)
Declaration
public IPlayer Create(ICore core, IntPtr playerPointer, uint id)
Parameters
Type | Name | Description |
---|---|---|
ICore | core | |
IntPtr | playerPointer | |
System.UInt32 | id |
Returns
Type | Description |
---|---|
IPlayer |
GetLocalPlayer(ICore, IntPtr, UInt32)
Declaration
public ILocalPlayer GetLocalPlayer(ICore core, IntPtr localPlayerPointer, uint id)
Parameters
Type | Name | Description |
---|---|---|
ICore | core | |
IntPtr | localPlayerPointer | |
System.UInt32 | id |
Returns
Type | Description |
---|---|
ILocalPlayer |