Operation Response and Operation Request

Options
Sessional
edited July 2013 in Photon Server
Looking through the documentation for the Adding Operations stuff I came across the "Advanced" usage of the operations - which sounds like something I want to do. However the example code doesn't seem to compile.

Does someone have an example they can share that compiles? (I have photon control 3.2.6)

The points that are not working correctly: Operation doesn't have a constructor with one parameter - fix it by adding a second parameter of IRpcProtocol?

Second: the [ResponseParameter] portion isn't being detected, am I missing a reference to a dll somewhere? I have Phton.SocketServer, ExitGamesLibs, ExitGames.Logging.Log4net and PhotonHostRuntimeInterfaces

Thanks!

Comments

  • Hello!

    The code examples from the "Adding Operations" tutorial were terribly outdated. Sorry! I've updated them, they are now matching the latest Photon SDK and should compile just fine.

    Thanks for the hint!