Modding:Network API/ru: Difference between revisions
From Vintage Story Wiki
Mirotworez (talk | contribs) (Created page with "== Введение ==") |
Mirotworez (talk | contribs) (Created page with "В этом примере мы покажем вам, как отправлять пользовательские данные туда и обратно между серв...") |
||
Line 7: | Line 7: | ||
== Введение == | == Введение == | ||
В этом примере мы покажем вам, как отправлять пользовательские данные туда и обратно между сервером и клиентом. Для этого настроим сетевой канал, по которому в сетевом канале будут отправляться строковые сообщения. | |||
We will create a server command that will send out a message to all clients, and if a client receives this, it will send a response back to the server; upon receiving this response, the server will display it along with the responding client's player name. | We will create a server command that will send out a message to all clients, and if a client receives this, it will send a response back to the server; upon receiving this response, the server will display it along with the responding client's player name. |