Class AsyncWorldObject
Inheritance
System.Object
AsyncWorldObject
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 AsyncWorldObject : AsyncBaseObject, IInternalBaseObject, IWorldObject, ISharedWorldObject, IBaseObject, ISharedBaseObject
Constructors
| Improve this Doc View SourceAsyncWorldObject(IWorldObject, IAsyncContext)
Declaration
public AsyncWorldObject(IWorldObject worldObject, IAsyncContext asyncContext)
Parameters
Type | Name | Description |
---|---|---|
IWorldObject | worldObject | |
IAsyncContext | asyncContext |
Fields
| Improve this Doc View SourceWorldObject
Declaration
protected readonly IWorldObject WorldObject
Field Value
Type | Description |
---|---|
IWorldObject |
Properties
| Improve this Doc View SourceDimension
Declaration
public int Dimension { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Position
Declaration
public Position Position { get; set; }
Property Value
Type | Description |
---|---|
Position |
WorldObjectNativePointer
Declaration
public IntPtr WorldObjectNativePointer { get; }
Property Value
Type | Description |
---|---|
System.IntPtr |
Methods
| Improve this Doc View SourceGetPosition()
Declaration
public (float X, float Y, float Z) GetPosition()
Returns
Type | Description |
---|---|
System.ValueTuple<System.Single, System.Single, System.Single> |
SetPosition(Single, Single, Single)
Declaration
public void SetPosition(float x, float y, float z)
Parameters
Type | Name | Description |
---|---|---|
System.Single | x | |
System.Single | y | |
System.Single | z |
SetPosition((Single X, Single Y, Single Z))
Declaration
public void SetPosition((float X, float Y, float Z) position)
Parameters
Type | Name | Description |
---|---|---|
System.ValueTuple<System.Single, System.Single, System.Single> | position |
Implements
IInternalBaseObject