question

altuntasfth avatar image
altuntasfth asked

Hi! I login to the game with my PlayFab username. After I'm entering a room created by Photon. My purose; When I enter the room, I want to see me and other users PlayFab Username or display name. What should I do?

Player Datadataphoton
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Sarah Zhang avatar image
Sarah Zhang answered

For syncing players’ display names on the server executable, a possible idea is to let every client send a message contains their own display names to the sever, then let the server broadcast names to every client. You can call client API GetPlayerProfile to get the player’s display name after they logged in, properties those allow to be retrieved are configured in the Game Manager "Client Profile Options" tab in the "Settings" section. If you have some advanced questions about Photon servers, you can navigate to Photon forum for professional supports.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Error rendering WebPanel (widgets/consolidation-widget.ftl): org.hibernate.hql.internal.ast.QuerySyntaxException: AvailableConsolidation is not mapped [from AvailableConsolidation up where up.node = :node]