Nonoba
Spellen
Forum
Chat
Aanmelden
Login
Nonoba APIs and Tools
Developer Forum
Documentation
Download APIs
Nonoba Developer Forums
/
Multiplayer API
message sequence
scriptedfun
zei
een tijd geleden | Bericht #1
Hello,
Suppose on the server I do the following:
Broadcast(new Message("a"), new Message("b"));
If on the client I have
onMessage
as my
MessageEvent.MESSAGE
handler, is it safe to assume that
onMessage([message "a"]);
will be executed first before
onMessage([message "b"]);
? Does it also work the other way around, meaning, if I do
connection.Send(new Message("a"));
connection.Send(new Message("b"));
on the client, will
GotMessage(player, "message a");
be executed first before
GotMessage(player, "message b");
? Thanks in advance.
Laatst gewijzigd een tijd geleden
Antwoord op onderwerp
Schrijf je nu in
om te kunnen antwoorden op onderwerpen
Registreer
of
Login
scriptedfun zei
een tijd geleden | Bericht #1Suppose on the server I do the following:
Broadcast(new Message("a"), new Message("b"));
If on the client I have onMessage as my MessageEvent.MESSAGE handler, is it safe to assume that
onMessage([message "a"]);
will be executed first before
onMessage([message "b"]);
? Does it also work the other way around, meaning, if I do
connection.Send(new Message("a"));
connection.Send(new Message("b"));
on the client, will
GotMessage(player, "message a");
be executed first before
GotMessage(player, "message b");
? Thanks in advance.