problem to send message

Options
mad_sir1
mad_sir1 ✭✭
edited July 2013 in Photon Server
Hi ,I am sorry to disturb everyone ,but I have meet a problem in my project ,my project base on the lite framework ,so everyone can send messages in the same room and so on ,but if I want to send a message to the all players or I I want to send a message from this room to another room ,what should I modify my server code ,or how to due to the logic ?is it difficult for me to sovle the problem?I has confused on it many days ?anyone can help me?? :?

Comments

  • It can be easily done by changing the server code.

    For example, you could modify the LiteGame.RemovePeerFromGame and LiteGame.TryAddActorToGame methods to maintain a list of actors, or use the GameCache.Instance.GetRoomNames() method to get a list of rooms & send an event to their players.