Sending a global event on all actors in different rooms.

Options
markphoton
edited January 2012 in Photon Server
Hello,

Is it possible raise an event where all the actors on different rooms in lite will receive the event? It is like a global event that will receive by all peers in different rooms.

If possible then how can I implement it?

Yours,
Mark

Comments

  • BenStahl
    Options
    Currently there is no build in function to sent an event to all clients.
    You can use the ApplicationBase.OnInint method to maintain a list of all connected clients and than use the EvenData.SenTo method to send events to all the clients in this list.