Difference between revisions of "ServerObject:update"
(Created page with 'Connect to a server. == Function == === Synopsis === <source lang="lua"> clientobject:init( sockettype ) </source> === Arguments === {{param|SocketType|string|"tcp", "udp" or use…') |
|||
Line 1: | Line 1: | ||
− | + | Update the server. Checks for incoming messages, and classifies as ping, connect, disconnect and raw data, Also checks ping (since 0.6) | |
+ | |||
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | server:update(dt) | |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
− | {{param| | + | {{param|Number|dt|Delta-time.}} |
=== Returns === | === Returns === | ||
Nothing. | Nothing. | ||
Line 12: | Line 13: | ||
* [[parent::ServerObject]] | * [[parent::ServerObject]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description= | + | {{#set:Description=Update the server.}} |
== Other Languages == | == Other Languages == | ||
{{i18n|ServerObject:init}} | {{i18n|ServerObject:init}} |
Revision as of 01:17, 20 November 2010
Update the server. Checks for incoming messages, and classifies as ping, connect, disconnect and raw data, Also checks ping (since 0.6)
Function
Synopsis
server:update(dt)
Arguments
Number dt
- Delta-time.
Returns
Nothing.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info