С++ any way to know timeout et?


Is it possible for the Master Player to know when another player in the room has acknowledged his presence the last time? And what is the remaining time till he is disconnected by Photon?


  • Hi @ufnv.

    Clients send life-signs to the Photon servers, but not to other clients.
    Hence clients do not have this information about other clients.

    When you need this, then you can of course just add this yourself, by letting a client send around reliable ping events via opRaiseEvent() to the master client, if it has not send any reliable events to it for a certain amount of time.

    The master client can then simply keep an up to date list in which it stores the time of the last received event for each other client in the room and updates the according entry every time it receives an event from that client.