Class AsyncObject
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()
Namespace: AltV.Net.Async.Elements.Entities
Assembly: AltV.Net.Async.dll
Syntax
public class AsyncObject : AsyncEntity, IInternalBaseObject, IObject, ISharedObject, IEntity, ISharedEntity, IWorldObject, ISharedWorldObject, IAsyncConvertible<IObject>, IBaseObject, ISharedBaseObject
Constructors
| Improve this Doc View SourceAsyncObject(IObject, IAsyncContext)
Declaration
public AsyncObject(IObject object, IAsyncContext asyncContext)
Parameters
Type | Name | Description |
---|---|---|
IObject | object | |
IAsyncContext | asyncContext |
AsyncObject(ICore, IntPtr, UInt32)
Declaration
public AsyncObject(ICore core, IntPtr nativePointer, uint id)
Parameters
Type | Name | Description |
---|---|---|
ICore | core | |
System.IntPtr | nativePointer | |
System.UInt32 | id |
Fields
| Improve this Doc View SourceObject
Declaration
protected readonly IObject Object
Field Value
Type | Description |
---|---|
IObject |
Properties
| Improve this Doc View SourceAlpha
Declaration
public byte Alpha { get; set; }
Property Value
Type | Description |
---|---|
System.Byte |
LodDistance
Declaration
public ushort LodDistance { get; set; }
Property Value
Type | Description |
---|---|
System.UInt16 |
ObjectNativePointer
Declaration
public IntPtr ObjectNativePointer { get; }
Property Value
Type | Description |
---|---|
System.IntPtr |
TextureVariation
Declaration
public byte TextureVariation { get; set; }
Property Value
Type | Description |
---|---|
System.Byte |
Methods
| Improve this Doc View SourceActivatePhysics()
Declaration
public void ActivatePhysics()
PlaceOnGroundProperly()
Declaration
public void PlaceOnGroundProperly()
ToAsync(IAsyncContext)
Declaration
[Obsolete("Use new async API instead")]
public IObject ToAsync(IAsyncContext asyncContext)
Parameters
Type | Name | Description |
---|---|---|
IAsyncContext | asyncContext |
Returns
Type | Description |
---|---|
IObject |
Implements
IInternalBaseObject