Class ColShape
Inheritance
System.Object
ColShape
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 ColShape : WorldObject, IInternalBaseObject, IColShape, ISharedColShape, IWorldObject, ISharedWorldObject, IBaseObject, ISharedBaseObject, INative
Constructors
|
Improve this Doc
View Source
ColShape(ICore, IntPtr, BaseObjectType, UInt32)
Declaration
public ColShape(ICore core, IntPtr nativePointer, BaseObjectType baseObjectType, uint id)
Parameters
Type |
Name |
Description |
ICore |
core |
|
System.IntPtr |
nativePointer |
|
BaseObjectType |
baseObjectType |
|
System.UInt32 |
id |
|
|
Improve this Doc
View Source
ColShape(ICore, IntPtr, UInt32)
Declaration
public ColShape(ICore core, IntPtr nativePointer, uint id)
Parameters
Type |
Name |
Description |
ICore |
core |
|
System.IntPtr |
nativePointer |
|
System.UInt32 |
id |
|
Properties
|
Improve this Doc
View Source
ColShapeNativePointer
Declaration
public IntPtr ColShapeNativePointer { get; }
Property Value
Type |
Description |
System.IntPtr |
|
|
Improve this Doc
View Source
ColShapeType
Declaration
public ColShapeType ColShapeType { get; }
Property Value
|
Improve this Doc
View Source
IsPlayersOnly
Declaration
public bool IsPlayersOnly { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
NativePointer
Declaration
public override IntPtr NativePointer { get; }
Property Value
Type |
Description |
System.IntPtr |
|
Overrides
Methods
|
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
IsEntityIdIn(UInt32)
Declaration
public bool IsEntityIdIn(uint id)
Parameters
Type |
Name |
Description |
System.UInt32 |
id |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsEntityIn(IEntity)
Declaration
public bool IsEntityIn(IEntity entity)
Parameters
Type |
Name |
Description |
IEntity |
entity |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsEntityIn(ISharedEntity)
Declaration
public bool IsEntityIn(ISharedEntity entity)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsPlayerIn(IPlayer)
Declaration
[Obsolete("Use IsEntityIn instead")]
public bool IsPlayerIn(IPlayer player)
Parameters
Type |
Name |
Description |
IPlayer |
player |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsPointIn(Vector3)
Declaration
public bool IsPointIn(Vector3 point)
Parameters
Type |
Name |
Description |
System.Numerics.Vector3 |
point |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsVehicleIn(IVehicle)
Declaration
[Obsolete("Use IsEntityIn instead")]
public bool IsVehicleIn(IVehicle vehicle)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements