Are player custom properties deleted on room left?

Options
The doc says:
Custom Properties

In Photon, you can set Custom Properties for Rooms and Players. In both cases, the custom properties are provided as Hashtable and the key must be of type String but can have any (serializable) value.

Custom Properties are deleted when players abandon a game. Turnbased "async" games will persist them.


So the question is: do game in this context means room or game server?

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @Evgen,

    Thank you for choosing Photon!

    "game" means "room", those two words are often used interchangeably.
    So if an actor leaves the room for good, it will be removed from the actors' list with all its properties.
    An actor may become inactive (in the room's state but not actually joined) and remain in the actors' list with all its properties but marked as inactive.