Class WorldObject
Inheritance
System.Object
WorldObject
Inherited Members
AltV.Net.Shared.Elements.Entities.SharedBaseObject.SetMetaData(Dictionary<, >)
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.dll
Syntax
public abstract class WorldObject : BaseObject, IInternalBaseObject, IWorldObject, ISharedWorldObject, IBaseObject, ISharedBaseObject, INative
Constructors
|
Improve this Doc
View Source
WorldObject(ICore, IntPtr, BaseObjectType, UInt32)
Declaration
protected WorldObject(ICore core, IntPtr nativePointer, BaseObjectType type, uint id)
Parameters
Type |
Name |
Description |
ICore |
core |
|
System.IntPtr |
nativePointer |
|
BaseObjectType |
type |
|
System.UInt32 |
id |
|
Properties
|
Improve this Doc
View Source
Dimension
Declaration
public int Dimension { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
NativePointer
Declaration
public override IntPtr NativePointer { get; }
Property Value
Type |
Description |
System.IntPtr |
|
Overrides
|
Improve this Doc
View Source
Position
Declaration
public Position Position { get; set; }
Property Value
Type |
Description |
Position |
|
|
Improve this Doc
View Source
WorldObjectNativePointer
Declaration
public IntPtr WorldObjectNativePointer { get; }
Property Value
Type |
Description |
System.IntPtr |
|
Methods
|
Improve this Doc
View Source
CheckIfEntityExists()
Declaration
public override void CheckIfEntityExists()
Overrides
|
Improve this Doc
View Source
GetPosition()
Declaration
public (float X, float Y, float Z) GetPosition()
Returns
Type |
Description |
System.ValueTuple<System.Single, System.Single, System.Single> |
|
|
Improve this Doc
View Source
SetCached(IntPtr)
Declaration
public override void SetCached(IntPtr cachedWorldObject)
Parameters
Type |
Name |
Description |
System.IntPtr |
cachedWorldObject |
|
|
Improve this Doc
View Source
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 |
|
|
Improve this Doc
View Source
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