Class LocalPlayer
Inheritance
System.Object
LocalPlayer
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: AltV.Net.Client.dll
Syntax
public class LocalPlayer : Player, IInternalBaseObject, ILocalPlayer, IPlayer, ISharedPlayer, IEntity, ISharedEntity, IWorldObject, ISharedWorldObject, IBaseObject, ISharedBaseObject, INative
Constructors
|
Improve this Doc
View Source
LocalPlayer(ICore, IntPtr, UInt32)
Declaration
public LocalPlayer(ICore core, IntPtr localPlayerPointer, uint id)
Parameters
Type |
Name |
Description |
ICore |
core |
|
IntPtr |
localPlayerPointer |
|
System.UInt32 |
id |
|
Properties
|
Improve this Doc
View Source
CurrentAmmo
Declaration
public ushort CurrentAmmo { get; }
Property Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
Dimension
Declaration
public int Dimension { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
IsLocal
Declaration
public override bool IsLocal { get; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
LocalPlayerNativePointer
Declaration
public IntPtr LocalPlayerNativePointer { get; }
Property Value
|
Improve this Doc
View Source
MaxStamina
Declaration
public float MaxStamina { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Stamina
Declaration
public float Stamina { get; set; }
Property Value
Type |
Description |
System.Single |
|
Methods
|
Improve this Doc
View Source
GetWeaponAmmo(UInt32)
Declaration
public ushort GetWeaponAmmo(uint weaponHash)
Parameters
Type |
Name |
Description |
System.UInt32 |
weaponHash |
|
Returns
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
GetWeaponData()
Declaration
public WeaponData GetWeaponData()
Returns
|
Improve this Doc
View Source
HasWeapon(UInt32)
Declaration
public bool HasWeapon(uint weaponHash)
Parameters
Type |
Name |
Description |
System.UInt32 |
weaponHash |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
WeaponComponents(UInt32)
Declaration
public uint[] WeaponComponents(uint weaponHash)
Parameters
Type |
Name |
Description |
System.UInt32 |
weaponHash |
|
Returns
Type |
Description |
System.UInt32[] |
|
|
Improve this Doc
View Source
Weapons()
Declaration
Returns
Type |
Description |
System.UInt32[] |
|
Implements