How to set parameters for opWebRpc

Options
Hi,

I am trying to use webrpc for realtime C++ on version(Photon-iOS-Sdk_v4-1-0-4)

when I'm try to call webrpc , I am not sure how to pass the parameters as a Dictionary

e.g.
ExitGames::Common::Dictionary dic;
dic.put(L"name", L"test");

loadingBalancingClient.opWebRpc(PHOTON_START_BATTLE, ???);

Any suggestions?
Thanks
Charles

Comments

  • charlesso
    Options
    Hi.

    And one more question for opWebRpc ,
    How do I set for AuthCookie as well for realtime C++ on version(Photon-iOS-Sdk_v4-1-0-4)

    Thanks
    Charles
  • Kaiserludi
    Options
    Hi @charlesso.

    1)
    ExitGames::Common::Dictionary<ExitGames::Common::JString, ExitGames::Common::JString> dic;
    	dic.put(L"name", L"test");
    	loadingBalancingClient.opWebRpc(PHOTON_START_BATTLE, ExitGames::Common::ValueObject<ExitGames::Common::Dictionary<ExitGames::Common::JString, ExitGames::Common::JString> >(dic));
    2)
    I will check back on this question with a colleague. Thank you for your patience.
  • Kaiserludi
    Options
    Hi @charlesso.

    I am afraid that setting the auth cookie from the client side is not yet supported