Custom Events and RPCs on self hosted server
Pickle
✭
Hi everyone, I'm super new to photon's self hosted server with unity, but I did play around with the cloud version before.
I am trying to setup my own server logic on top of the load balance template, but I need a bit of direction to start.
I want to setup my own events from and to the server.
For example, I want the master server to send a call to the user (who is in the lobby) when something on the server happens (eg. get a friend request, message, etc)
I'm also looking to create something similar with the game server itself
what is the best way to approach this?
Also, how do I send a specific event from unity? for example, I want to create an event on the server an event to generate a random reward, how do I trigger it from the client in Unity?
Thanks!
I am trying to setup my own server logic on top of the load balance template, but I need a bit of direction to start.
I want to setup my own events from and to the server.
For example, I want the master server to send a call to the user (who is in the lobby) when something on the server happens (eg. get a friend request, message, etc)
I'm also looking to create something similar with the game server itself
what is the best way to approach this?
Also, how do I send a specific event from unity? for example, I want to create an event on the server an event to generate a random reward, how do I trigger it from the client in Unity?
Thanks!
0