Class AltColShape
Inheritance
System.Object
AltColShape
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()
Namespace: AltV.Net.ColShape
Assembly: AltV.Net.ColShape.dll
Syntax
public static class AltColShape
Properties
| Improve this Doc View SourceOnEntityEnterColShape
Declaration
public static Action<IWorldObject, IColShape> OnEntityEnterColShape { set; }
Property Value
| Type | Description |
|---|---|
| System.Action<IWorldObject, IColShape> |
OnEntityExitColShape
Declaration
public static Action<IWorldObject, IColShape> OnEntityExitColShape { set; }
Property Value
| Type | Description |
|---|---|
| System.Action<IWorldObject, IColShape> |
Methods
| Improve this Doc View SourceAdd(IColShape)
Declaration
public static void Add(IColShape colShape)
Parameters
| Type | Name | Description |
|---|---|---|
| IColShape | colShape |
Configure(Action<ColShapeModuleOptions>)
Configures the ColShape module
Declaration
public static void Configure(Action<ColShapeModuleOptions> options)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<ColShapeModuleOptions> | options |
Create(UInt64, Int32, Position, UInt32)
Declaration
public static IColShape Create(ulong id, int dimension, Position position, uint radius)
Parameters
| Type | Name | Description |
|---|---|---|
| System.UInt64 | id | |
| System.Int32 | dimension | |
| Position | position | |
| System.UInt32 | radius |
Returns
| Type | Description |
|---|---|
| IColShape |
Init(ColShapeModule)
Only use init when you know what you are doing
Declaration
public static void Init(ColShapeModule module)
Parameters
| Type | Name | Description |
|---|---|---|
| ColShapeModule | module |
Remove(IColShape)
Declaration
public static void Remove(IColShape colShape)
Parameters
| Type | Name | Description |
|---|---|---|
| IColShape | colShape |