Extend photon load balancing?

Options
Dear Team,

In this section : https://doc.photonengine.com/en-us/onpremise/current/app-framework/adding-operations

I see that If Iwant to provide authorization, persistency or game-specific Operations, it's time to extend LoadBalancing.

You show me some example code but you didn't show which file I should implement that codes? Can you guide me more detail about this topic?

Comments

  • chvetsov
    Options
    Hi, Liam

    Authoriazation is already there. try to reuse existing code.

    Operation can be added to PhotonHive.Operations.OperationCode

    best,
    ilya
  • Liam
    Options
    Thank you, but what File have OnOperationRequest should me edit?
  • chvetsov
    Options
    I think you should start with HivePeer.cs and them move further

    best,
    ilya