Class AsyncPed
Inheritance
System.Object
AsyncPed
Implements
IInternalBaseObject
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()
Assembly: AltV.Net.Async.dll
Syntax
public class AsyncPed : AsyncEntity, IInternalBaseObject, IPed, ISharedPed, IEntity, ISharedEntity, IWorldObject, ISharedWorldObject, IAsyncConvertible<IPed>, IBaseObject, ISharedBaseObject
Constructors
|
Improve this Doc
View Source
AsyncPed(IPed, IAsyncContext)
Declaration
public AsyncPed(IPed ped, IAsyncContext asyncContext)
Parameters
|
Improve this Doc
View Source
AsyncPed(ICore, IntPtr, UInt32)
Declaration
public AsyncPed(ICore core, IntPtr nativePointer, uint id)
Parameters
Type |
Name |
Description |
ICore |
core |
|
System.IntPtr |
nativePointer |
|
System.UInt32 |
id |
|
Fields
|
Improve this Doc
View Source
Ped
Declaration
protected readonly IPed Ped
Field Value
Properties
|
Improve this Doc
View Source
Armour
Declaration
public ushort Armour { get; set; }
Property Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
CurrentWeapon
Declaration
public uint CurrentWeapon { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
Health
Declaration
public ushort Health { get; set; }
Property Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
MaxHealth
Declaration
public ushort MaxHealth { get; set; }
Property Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
PedNativePointer
Declaration
public IntPtr PedNativePointer { get; }
Property Value
Type |
Description |
System.IntPtr |
|
Methods
|
Improve this Doc
View Source
ToAsync(IAsyncContext)
Declaration
[Obsolete("Use new async API instead")]
public IPed ToAsync(IAsyncContext asyncContext)
Parameters
Returns
Implements
IInternalBaseObject