Class VirtualEntity
Inheritance
System.Object
VirtualEntity
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 class VirtualEntity : WorldObject, IInternalBaseObject, IVirtualEntity, ISharedVirtualEntity, IWorldObject, ISharedWorldObject, IBaseObject, ISharedBaseObject, INative
Constructors
|
Improve this Doc
View Source
VirtualEntity(ICore, IntPtr, UInt32)
Declaration
public VirtualEntity(ICore core, IntPtr nativePointer, uint id)
Parameters
Type |
Name |
Description |
ICore |
core |
|
System.IntPtr |
nativePointer |
|
System.UInt32 |
id |
|
Properties
|
Improve this Doc
View Source
Group
Declaration
public ISharedVirtualEntityGroup Group { get; }
Property Value
|
Improve this Doc
View Source
NativePointer
Declaration
public override IntPtr NativePointer { get; }
Property Value
Type |
Description |
System.IntPtr |
|
Overrides
|
Improve this Doc
View Source
StreamingDistance
Declaration
public uint StreamingDistance { get; }
Property Value
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
VirtualEntityNativePointer
Declaration
public IntPtr VirtualEntityNativePointer { get; }
Property Value
Type |
Description |
System.IntPtr |
|
|
Improve this Doc
View Source
Visible
Declaration
public bool Visible { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
Declaration
public void DeleteStreamSyncedMetaData(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
|
Improve this Doc
View Source
GetId(IntPtr)
Declaration
public static uint GetId(IntPtr pedPointer)
Parameters
Type |
Name |
Description |
System.IntPtr |
pedPointer |
|
Returns
Type |
Description |
System.UInt32 |
|
|
Improve this Doc
View Source
Declaration
public void GetStreamSyncedMetaData(string key, out MValueConst value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
MValueConst |
value |
|
|
Improve this Doc
View Source
Declaration
public bool GetStreamSyncedMetaData<T>(string key, out T result)
Parameters
Type |
Name |
Description |
System.String |
key |
|
T |
result |
|
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
|
Improve this Doc
View Source
Declaration
public bool HasStreamSyncedMetaData(string key)
Parameters
Type |
Name |
Description |
System.String |
key |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public void SetStreamSyncedMetaData(Dictionary<string, object> metaData)
Parameters
Type |
Name |
Description |
System.Collections.Generic.Dictionary<System.String, System.Object> |
metaData |
|
|
Improve this Doc
View Source
Declaration
public void SetStreamSyncedMetaData(string key, in MValueConst value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
MValueConst |
value |
|
|
Improve this Doc
View Source
Declaration
public void SetStreamSyncedMetaData(string key, object value)
Parameters
Type |
Name |
Description |
System.String |
key |
|
System.Object |
value |
|
Implements