Interface ILocalPlayer
Assembly: AltV.Net.Client.dll
Syntax
public interface ILocalPlayer : IPlayer, ISharedPlayer, IEntity, ISharedEntity, IWorldObject, ISharedWorldObject, IBaseObject, ISharedBaseObject, INative
Properties
|
Improve this Doc
View Source
CurrentAmmo
Declaration
ushort CurrentAmmo { get; }
Property Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
Dimension
Declaration
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
LocalPlayerNativePointer
Declaration
IntPtr LocalPlayerNativePointer { get; }
Property Value
|
Improve this Doc
View Source
MaxStamina
Declaration
float MaxStamina { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Stamina
Declaration
float Stamina { get; set; }
Property Value
Type |
Description |
System.Single |
|
Methods
|
Improve this Doc
View Source
GetWeaponAmmo(UInt32)
Declaration
ushort GetWeaponAmmo(uint weaponHash)
Parameters
Type |
Name |
Description |
System.UInt32 |
weaponHash |
|
Returns
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
GetWeaponData()
Declaration
WeaponData GetWeaponData()
Returns
|
Improve this Doc
View Source
HasWeapon(UInt32)
Declaration
bool HasWeapon(uint weaponHash)
Parameters
Type |
Name |
Description |
System.UInt32 |
weaponHash |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
WeaponComponents(UInt32)
Declaration
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[] |
|