Class LocalObject
Inheritance
System.Object
LocalObject
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 LocalObject : Object, IInternalBaseObject, IObject, ISharedObject, ILocalObject, IEntity, ISharedEntity, IWorldObject, ISharedWorldObject, IBaseObject, ISharedBaseObject, INative
Constructors
|
Improve this Doc
View Source
LocalObject(ICore, IntPtr, UInt32)
Declaration
public LocalObject(ICore core, IntPtr objectPointer, uint id)
Parameters
Type |
Name |
Description |
ICore |
core |
|
IntPtr |
objectPointer |
|
System.UInt32 |
id |
|
Properties
|
Improve this Doc
View Source
Alpha
Declaration
public byte Alpha { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
Collision
Declaration
public bool Collision { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Gravity
Declaration
public bool Gravity { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsDynamic
Declaration
public bool IsDynamic { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsStreamedIn
Declaration
public bool IsStreamedIn { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsWorldObject
Declaration
public bool IsWorldObject { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
LocalObjectNativePointer
Declaration
public IntPtr LocalObjectNativePointer { get; }
Property Value
|
Improve this Doc
View Source
LodDistance
Declaration
public ushort LodDistance { get; set; }
Property Value
Type |
Description |
System.UInt16 |
|
|
Improve this Doc
View Source
Model
Declaration
public uint Model { get; set; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
NativePointer
Declaration
public override IntPtr NativePointer { get; }
Property Value
Overrides
|
Improve this Doc
View Source
StreamingDistance
Declaration
public uint StreamingDistance { get; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
TextureVariation
Declaration
public byte TextureVariation { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
UsesStreaming
Declaration
public bool UsesStreaming { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Visible
Declaration
public bool Visible { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
ActivatePhysics()
Declaration
public void ActivatePhysics()
|
Improve this Doc
View Source
AttachToEntity(ISharedEntity, Int16, Position, Rotation, Boolean, Boolean, Boolean)
Declaration
public void AttachToEntity(ISharedEntity entity, short bone, Position position, Rotation rotation, bool useSoftPinning, bool collision, bool fixedRotation)
Parameters
Type |
Name |
Description |
ISharedEntity |
entity |
|
System.Int16 |
bone |
|
Position |
position |
|
Rotation |
rotation |
|
System.Boolean |
useSoftPinning |
|
System.Boolean |
collision |
|
System.Boolean |
fixedRotation |
|
|
Improve this Doc
View Source
AttachToEntity(UInt32, Int16, Position, Rotation, Boolean, Boolean, Boolean)
Declaration
public void AttachToEntity(uint scriptId, short bone, Position position, Rotation rotation, bool useSoftPinning, bool collision, bool fixedRotation)
Parameters
Type |
Name |
Description |
System.UInt32 |
scriptId |
|
System.Int16 |
bone |
|
Position |
position |
|
Rotation |
rotation |
|
System.Boolean |
useSoftPinning |
|
System.Boolean |
collision |
|
System.Boolean |
fixedRotation |
|
|
Improve this Doc
View Source
Detach(Boolean)
Declaration
public void Detach(bool dynamic)
Parameters
Type |
Name |
Description |
System.Boolean |
dynamic |
|
|
Improve this Doc
View Source
GetId(IntPtr)
Declaration
public static uint GetId(IntPtr objectPointer)
Parameters
Type |
Name |
Description |
IntPtr |
objectPointer |
|
Returns
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
PlaceOnGroundProperly()
Declaration
public void PlaceOnGroundProperly()
|
Improve this Doc
View Source
ResetAlpha()
Declaration
|
Improve this Doc
View Source
SetPositionFrozen(Boolean)
Declaration
public void SetPositionFrozen(bool state)
Parameters
Type |
Name |
Description |
System.Boolean |
state |
|
|
Improve this Doc
View Source
ToggleCollision(Boolean, Boolean)
Declaration
public void ToggleCollision(bool toggle, bool keepPhysics)
Parameters
Type |
Name |
Description |
System.Boolean |
toggle |
|
System.Boolean |
keepPhysics |
|
Implements