====== OnTick hook callback function ======
OnTick() is called every game tick (50 msec, or 20 times a second). If the server is overloaded, the interval is larger, which is indicated by the TimeDelta parameter.

===== Function signature =====
<code lua>
function OnTick(TimeDelta)
</code>
Parameters:
| TimeDelta | number | The number of milliseconds since the previous game tick |

===== Return values =====
Any return value is ignored.

===== Registering the callback =====
To register your plugin to receive a callback through this function, use the hook [[api:plugin:hooks|HOOK_TICK]]
<code lua>
cPluginManager:Get():AddHook(Plugin, cPluginManager.HOOK_TICK);
</code>
