Help: Load-balancing Operations
LeonPS
✭
Hi, I have been researching about photon for quite a while now and I just cant seem to get my head around Loadbalancing and how I could implement operations/Plugins. I have read quite a few similar questions however there still hasn't been even a small tutorial created yet. I would be really grateful if someone would be able to make just a really small tutorial on how to implement an operation and how to call it from say a Unity client.
Thanks, --
Thanks, --
0
Comments
-
hi, @LeonPS
we have for instance this tutorial: https://doc.photonengine.com/en-us/onpremise/current/app-framework/an-app-from-scratch. it helps to see how to operations are used. this is a very basic tutorial. there is no need to repeat basic things in more complex samples.
Just reread this: https://doc.photonengine.com/en-us/onpremise/current/applications/loadbalancing/application.
then you may open OperationCode.cs file which contains enums for basic operations. See how they are used. later you may add yours. but I do not think you need to...
For plugins you could use our test plugins. they do simple things and can serve as sample
best,
ilya0