Class AsyncEntity
Inheritance
System.Object
AsyncEntity
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()
Assembly: AltV.Net.Async.dll
Syntax
public class AsyncEntity : AsyncWorldObject, IInternalBaseObject, IEntity, ISharedEntity, IWorldObject, ISharedWorldObject, IBaseObject, ISharedBaseObject
Constructors
|
Improve this Doc
View Source
AsyncEntity(IEntity, IAsyncContext)
Declaration
public AsyncEntity(IEntity entity, IAsyncContext asyncContext)
Parameters
Fields
|
Improve this Doc
View Source
Entity
Declaration
protected readonly IEntity Entity
Field Value
Properties
|
Improve this Doc
View Source
Collision
Declaration
public bool Collision { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
EntityNativePointer
Declaration
public IntPtr EntityNativePointer { get; }
Property Value
| Type |
Description |
| System.IntPtr |
|
|
Improve this Doc
View Source
Frozen
Declaration
public bool Frozen { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Model
Declaration
public virtual uint Model { get; }
Property Value
| Type |
Description |
| System.UInt32 |
|
|
Improve this Doc
View Source
NetworkOwner
Declaration
public IPlayer NetworkOwner { get; }
Property Value
|
Improve this Doc
View Source
Rotation
Declaration
public Rotation Rotation { get; set; }
Property Value
| Type |
Description |
| Rotation |
|
|
Improve this Doc
View Source
Streamed
Declaration
public bool Streamed { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
StreamingDistance
Declaration
public uint StreamingDistance { get; set; }
Property Value
| Type |
Description |
| System.UInt32 |
|
|
Improve this Doc
View Source
Timestamp
Declaration
public uint Timestamp { get; }
Property Value
| Type |
Description |
| System.UInt32 |
|
|
Improve this Doc
View Source
Visible
Declaration
public bool Visible { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Methods
|
Improve this Doc
View Source
AttachToEntity(IEntity, String, String, Position, Rotation, Boolean, Boolean)
Declaration
public void AttachToEntity(IEntity entity, string otherBone, string ownBone, Position position, Rotation rotation, bool collision, bool noFixedRotation)
Parameters
| Type |
Name |
Description |
| IEntity |
entity |
|
| System.String |
otherBone |
|
| System.String |
ownBone |
|
| Position |
position |
|
| Rotation |
rotation |
|
| System.Boolean |
collision |
|
| System.Boolean |
noFixedRotation |
|
|
Improve this Doc
View Source
AttachToEntity(IEntity, UInt16, UInt16, Position, Rotation, Boolean, Boolean)
Declaration
public void AttachToEntity(IEntity entity, ushort otherBoneId, ushort ownBoneId, Position position, Rotation rotation, bool collision, bool noFixedRotation)
Parameters
| Type |
Name |
Description |
| IEntity |
entity |
|
| System.UInt16 |
otherBoneId |
|
| System.UInt16 |
ownBoneId |
|
| Position |
position |
|
| Rotation |
rotation |
|
| System.Boolean |
collision |
|
| System.Boolean |
noFixedRotation |
|
|
Improve this Doc
View Source
Declaration
public void DeleteStreamSyncedMetaData(string key)
Parameters
| Type |
Name |
Description |
| System.String |
key |
|
|
Improve this Doc
View Source
Detach()
Declaration
|
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(string key, out int value)
Parameters
| Type |
Name |
Description |
| System.String |
key |
|
| System.Int32 |
value |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public bool GetStreamSyncedMetaData(string key, out float value)
Parameters
| Type |
Name |
Description |
| System.String |
key |
|
| System.Single |
value |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public bool GetStreamSyncedMetaData(string key, out uint value)
Parameters
| Type |
Name |
Description |
| System.String |
key |
|
| System.UInt32 |
value |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public bool GetStreamSyncedMetaData<T1>(string key, out T1 result)
Parameters
| Type |
Name |
Description |
| System.String |
key |
|
| T1 |
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
ResetNetworkOwner()
Declaration
public void ResetNetworkOwner()
|
Improve this Doc
View Source
SetNetworkOwner(IPlayer, Boolean)
Declaration
public void SetNetworkOwner(IPlayer player, bool disableMigration = true)
Parameters
| Type |
Name |
Description |
| IPlayer |
player |
|
| System.Boolean |
disableMigration |
|
|
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
IInternalBaseObject