What is called when max CCU is reached?
Options
Hello Photon,
what function is called when a player tries to connect to a server that has already 100 CCU and the limit is 100 CCU?
What exception is thrown? How can I catch it?
I know that for PUN v1, a callback was called 'OnPhotonMaxCccuReached', but it doesn't exist in v2.
Thanks
what function is called when a player tries to connect to a server that has already 100 CCU and the limit is 100 CCU?
What exception is thrown? How can I catch it?
I know that for PUN v1, a callback was called 'OnPhotonMaxCccuReached', but it doesn't exist in v2.
Thanks
0
Comments
-
public override void OnDisconnected (DisconnectCause cause){ if(cause == DisconnectCause.MaxCcuReached){ //max reached } }
2 -
OneManArmy wrote: »
public override void OnDisconnected (DisconnectCause cause){ if(cause == DisconnectCause.MaxCcuReached){ //max reached } }
Thank you!0 -
Hi @yakirbu,
Thank you for choosing Photon!
@OneManArmy is right.
The information could be found on the "Migration Notes" page.0