Interface IColShape
Inherited Members
AltV.Net.Shared.Elements.Entities.ISharedBaseObject.SetMetaData(Dictionary<, >)
Assembly: AltV.Net.dll
Syntax
public interface IColShape : ISharedColShape, IWorldObject, ISharedWorldObject, IBaseObject, ISharedBaseObject, INative
Properties
|
Improve this Doc
View Source
ColShapeType
Returns the ColShape type
Declaration
ColShapeType ColShapeType { get; }
Property Value
|
Improve this Doc
View Source
IsPlayersOnly
Sets / Gets if the ColShape only triggers for players
Declaration
bool IsPlayersOnly { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
IsEntityIn(IEntity)
Declaration
bool IsEntityIn(IEntity entity)
Parameters
Type |
Name |
Description |
IEntity |
entity |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
IsPlayerIn(IPlayer)
Returns if the entity is inside the ColShape
Declaration
[Obsolete("Use IsEntityIn instead")]
bool IsPlayerIn(IPlayer entity)
Parameters
Type |
Name |
Description |
IPlayer |
entity |
The entity
|
Returns
Type |
Description |
System.Boolean |
|
Exceptions
|
Improve this Doc
View Source
IsVehicleIn(IVehicle)
Returns if the entity is inside the ColShape
Declaration
[Obsolete("Use IsEntityIn instead")]
bool IsVehicleIn(IVehicle entity)
Parameters
Type |
Name |
Description |
IVehicle |
entity |
The entity
|
Returns
Type |
Description |
System.Boolean |
|
Exceptions
Extension Methods