Class Player
Inheritance
System.Object
Player
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 Player : Entity, IInternalBaseObject, IPlayer, ISharedPlayer, IEntity, ISharedEntity, IWorldObject, ISharedWorldObject, IBaseObject, ISharedBaseObject, INative
Constructors
|
Improve this Doc
View Source
Player(ICore, IntPtr, UInt32)
Declaration
public Player(ICore core, IntPtr playerPointer, uint id)
Parameters
Type |
Name |
Description |
ICore |
core |
|
IntPtr |
playerPointer |
|
System.UInt32 |
id |
|
|
Improve this Doc
View Source
Player(ICore, IntPtr, UInt32, BaseObjectType)
Declaration
public Player(ICore core, IntPtr playerPointer, uint id, BaseObjectType baseObjectType)
Parameters
Type |
Name |
Description |
ICore |
core |
|
IntPtr |
playerPointer |
|
System.UInt32 |
id |
|
BaseObjectType |
baseObjectType |
|
Properties
|
Improve this Doc
View Source
AimPosition
Declaration
public Position AimPosition { get; }
Property Value
|
Improve this Doc
View Source
Armor
Declaration
public ushort Armor { get; }
Property Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
CurrentAnimationDict
Declaration
public uint CurrentAnimationDict { get; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
CurrentAnimationName
Declaration
public uint CurrentAnimationName { get; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
CurrentWeapon
Declaration
public uint CurrentWeapon { get; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
EntityAimingAt
Declaration
public IEntity EntityAimingAt { get; }
Property Value
|
Improve this Doc
View Source
EntityAimOffset
Declaration
public Position EntityAimOffset { get; }
Property Value
|
Improve this Doc
View Source
ForwardSpeed
Declaration
public float ForwardSpeed { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
HeadRotation
Declaration
public Rotation HeadRotation { get; }
Property Value
|
Improve this Doc
View Source
Health
Declaration
public ushort Health { get; }
Property Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
IsAiming
Declaration
public bool IsAiming { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsDead
Declaration
public bool IsDead { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsEnteringVehicle
Declaration
public bool IsEnteringVehicle { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsFlashlightActive
Declaration
public bool IsFlashlightActive { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsInCover
Declaration
public bool IsInCover { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsInMelee
Declaration
public bool IsInMelee { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsInRagdoll
Declaration
public bool IsInRagdoll { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsInVehicle
Declaration
public bool IsInVehicle { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsLeavingVehicle
Declaration
public bool IsLeavingVehicle { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsLocal
Declaration
public virtual bool IsLocal { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsOnLadder
Declaration
public bool IsOnLadder { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsParachuting
Declaration
public bool IsParachuting { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsReloading
Declaration
public bool IsReloading { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsSpawned
Declaration
public bool IsSpawned { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsTalking
Declaration
public bool IsTalking { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
MaxArmor
Declaration
public ushort MaxArmor { get; }
Property Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
MaxHealth
Declaration
public ushort MaxHealth { get; }
Property Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
MicLevel
Declaration
public float MicLevel { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
MoveSpeed
Declaration
public float MoveSpeed { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Name
Declaration
public string Name { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
NativePointer
Declaration
public override IntPtr NativePointer { get; }
Property Value
Overrides
|
Improve this Doc
View Source
NonSpatialVolume
Declaration
public float NonSpatialVolume { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
PlayerNativePointer
Declaration
public IntPtr PlayerNativePointer { get; }
Property Value
|
Improve this Doc
View Source
Seat
Declaration
public byte Seat { get; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
SpatialVolume
Declaration
public float SpatialVolume { get; set; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
StrafeSpeed
Declaration
public float StrafeSpeed { get; }
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
TaskData
Declaration
public string TaskData { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Vehicle
Declaration
public IVehicle Vehicle { get; }
Property Value
Methods
|
Improve this Doc
View Source
AddFilter(IAudioFilter)
Declaration
public void AddFilter(IAudioFilter filter)
Parameters
|
Improve this Doc
View Source
GetCurrentWeaponComponents(out UInt32[])
Declaration
public void GetCurrentWeaponComponents(out uint[] weaponComponents)
Parameters
Type |
Name |
Description |
System.UInt32[] |
weaponComponents |
|
|
Improve this Doc
View Source
GetFilter()
Declaration
public IAudioFilter GetFilter()
Returns
|
Improve this Doc
View Source
RemoveFilter()
Declaration
public void RemoveFilter()
|
Improve this Doc
View Source
SetCached(IntPtr)
Declaration
public override void SetCached(IntPtr cachedPlayer)
Parameters
Type |
Name |
Description |
IntPtr |
cachedPlayer |
|
Overrides
Explicit Interface Implementations
|
Improve this Doc
View Source
ISharedPlayer.EntityAimingAt
Declaration
ISharedEntity ISharedPlayer.EntityAimingAt { get; }
Returns
|
Improve this Doc
View Source
ISharedPlayer.Vehicle
Declaration
ISharedVehicle ISharedPlayer.Vehicle { get; }
Returns
Implements