GetServerTickRate: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|GetServerTickRate()}} {{FuncParameters}} {{FuncNoParam}} {{FuncReturnValue|__EDIT_ME__}} == Exam..." |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Server|1.0}} | {{Info|Function|Server|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Tick rate of the main thread. The rate is variable and depends on the load of the server. For an empty server this is between 500Hz and 1000Hz. For 500 concurrent players the tick rate should be above 150Hz.}} | ||
{{FuncSyntax|GetServerTickRate()}} | {{FuncSyntax|GetServerTickRate()}} | ||
Line 8: | Line 8: | ||
{{FuncNoParam}} | {{FuncNoParam}} | ||
{{FuncReturnValue| | {{FuncReturnValue|Returns a float of the tick rate.}} | ||
== Example == | == Example == |
Revision as of 10:37, 23 March 2019
Description
Tick rate of the main thread. The rate is variable and depends on the load of the server. For an empty server this is between 500Hz and 1000Hz. For 500 concurrent players the tick rate should be above 150Hz.
Syntax
GetServerTickRate()
Parameters
- This function has no parameters.
Return Value
- Returns a float of the tick rate.
Example
__EDIT_ME__
See also
__EDIT_ME__