Class TickComponent
The component which handles tick related features.
Inherited Members
      System.Object.ToString()
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
  Namespace: Exiled.API.Features.Core
Assembly: Exiled.API.dll
Syntax
public sealed class TickComponent : EObject
  Fields
| Improve this Doc View SourceDefaultFixedTickRate
The default fixed tick rate.
Declaration
public const float DefaultFixedTickRate = 0.016F
  Field Value
| Type | Description | 
|---|---|
| System.Single | 
Properties
| Improve this Doc View SourceBoundHandles
Gets all the currently bound handles.
Declaration
public IReadOnlyCollection<CoroutineHandle> BoundHandles { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Collections.Generic.IReadOnlyCollection<MEC.CoroutineHandle> | 
CanEverTick
Gets or sets a value indicating whether the EActor can tick.
Declaration
public bool CanEverTick { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Instructions
Gets a System.Collections.Generic.List<T> of System.Action containing all the delegates to be invoked.
Declaration
public List<Action> Instructions { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Collections.Generic.List<System.Action> | 
TickRate
Gets or sets the current tick rate.
Declaration
public float TickRate { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Single | 
Methods
| Improve this Doc View SourceBindHandle(CoroutineHandle)
Binds a MEC.CoroutineHandle.
Declaration
public void BindHandle(CoroutineHandle handle)
  Parameters
| Type | Name | Description | 
|---|---|---|
| MEC.CoroutineHandle | handle | The MEC.CoroutineHandle to bind.  | 
      
BindHandle(ref CoroutineHandle, IEnumerator<Single>)
Binds a MEC.CoroutineHandle.
Declaration
public void BindHandle(ref CoroutineHandle handle, IEnumerator<float> coroutine)
  Parameters
| Type | Name | Description | 
|---|---|---|
| MEC.CoroutineHandle | handle | The MEC.CoroutineHandle to bind.  | 
      
| System.Collections.Generic.IEnumerator<System.Single> | coroutine | The coroutine to handle.  | 
      
OnBeginDestroy()
Declaration
protected override void OnBeginDestroy()
  Overrides
| Improve this Doc View SourceUnbindAllHandles()
Unbinds all the currently bound handles.
Declaration
public void UnbindAllHandles()
  UnbindHandle(CoroutineHandle)
Unbinds a MEC.CoroutineHandle.
Declaration
public void UnbindHandle(CoroutineHandle handle)
  Parameters
| Type | Name | Description | 
|---|---|---|
| MEC.CoroutineHandle | handle | The MEC.CoroutineHandle to unbind.  |