Quantcast
Channel: Photon Server — Photon Engine
Viewing all articles
Browse latest Browse all 1557

Custom error code/message when removing actors from plugin?

$
0
0
Hi!

Is it possible to get a custom error code when kicking actors from a plugin?

Now I use:
PluginHost.RemoveActor(ActorNr, "Some error");

Also, what is the error message used for, logging purposes? I don't receive the error message at the client, just an error code (ExitGames::Photon::StatusCode::DISCONNECT_BY_SERVER_LOGIC):
virtual void connectionErrorReturn(int errorCode) {}

Viewing all articles
Browse latest Browse all 1557

Trending Articles