SetProperties on Peer

doobster
edited February 2011 in Photon Server
Hey guys,

I was wondering if someone had some pseudo code to set properties on a peer then broadcast it to a room? Basically, I've created a new LoginOperation and upon success I want to set the properties from the database on the peer and broadcast it to the room they are in so the client can display their information.

Thanks.

Comments

  • sounds like you just want to call the server side incarnation of the SetProperty operation which will do both parts directly?
  • Yeah that sounds like it would work. How exactly is that done?