The order in which messages are received is the same for different actors if receivers is ReceiverGroup.All?
The sequencing does not change, ReceiverGroup.All is just the way of identifying people without tightly linking their ActorNumber into the request.
As @Tobias has said in the past. Use ReceiverGroup when you want to avoid race conditions whereby people's leave request might get enqueued into the room fiber before your request does, so the ActorNumber you supplied would become useless.
Thanks for answer. I will try give more details.
We want to use the photon server as an arbiter. Two players send a message with ReceiverGroup.All and we believe that winner of race condition the one whose message came first.
Since ReceiverGroup.All is used, our message will be returned from the server. And it is important for us that the order of messages for both players is the same.
Can we rely on it?
Yes, ReceiverGroup does not change how the server sequences commands... it merely dictates who receives it.
The Photon server will enqueue incoming commands into the room where they are tended to in a FIFO manner. Whoever reaches the server first will be ahead in the sequence and the next command is not processed until the previous one is finished. Therefore, the actor who's command was processed first will be the first response you get back from the server.
analyze performance and traffic on our website.
By clicking on the „Accept All“ button you consent to the use of non-functional cookies and the subsequent
processing of personal data to optimize our website and services as described in more detail in our
By clicking on the „Customize or Deny all“ button you can decide otherwise.
Clicking on the „Customize“ button will take you to a page where you can configure the usage of non-functional
cookies (and related technologies) or deny all of them. You can access these settings at any time and also
subsequently deselect cookies at any time in the footer area of our website.
We use the following categories of cookies and related technologies to enhance your experience,
show you personalized content, and analyze performance and traffic on our website.
We respect your right to privacy and accordingly you can chose to not allow some types of cookies (and related technologies).
Click on the different category sliders and change our default settings to manage your cookie settings.
For more information on the specific cookies/related technologies we use and on how we use these,
Authentication cookies we use are required to run our services … Cookies are required:
These cookies collect anonymous data and allow us to optimize our
website and user experience. These cookies are listed here:
Help us to understand how visitors interact with our services, enables us
to analyze and improve our services (also through third party analytics).