problems while writing my own codes

Hi guys,i'm new user of photon server,and i am building my own server with the give photon server loadbalancing example.
Now i am running the server successfully, i am able to connect with my client side,and i can create rooms and join rooms, and such other things, but i wonder where should i write my own quest resolving codes bides the given ones, like i need respond the register request and login request from the client side,where should i add these codes, thanks
poor english,forgive plz

Comments

  • can anyone give some suggestions please....... need help ,many thanks
  • hi, @meeeen

    there is Loadbalancing\Operations\OperationCode.cs file in LoadBalancing project. You may add there your operations

    best,
    ilya
  • thanks a lot @chvetsov ! And i have another question, how should i broadcast a message from the master server to some specific clients, like i want to tell some clients that the server will be shutting down in an hour because of some updates
  • class ApplicationBase has method BroadcastEvent. you need provide list of peers and event.

    best
    ilya
  • thank you very much @chvesto ! Have a good day !