Plugin and (IRaiseEventCallInfo.data) What kind of data?

I am starting my study on creating plugins, and I came across this question.
I am following the example ready "BanTestPlugin":
  base.OnRaiseEvent(info);
            var data = (Hashtable) info.Request.Data; //------> ????????What are the variables that this table is receiving?
            if ((bool) data[0])
            {
                //lets ban
                this.PluginHost.RemoveActor((int)data[1], RemoveActorReason.Banned, "bb");
            }
var data = (Hashtable) info.Request.Data -> What are the variables that this table is receiving?
I searched the documentation and own sources files available, but just i can not find information about this.

Please. Please. Can someone enlighten me this question?

Best Answers

Answers

  • Where can i get that bantest plugin?
  • Hi @rizwanbabar,

    Thank you for choosing Photon!

    We forgot to add it to the Plugins SDK but it's under "src-server\Plugins\TestPlugins" in the Photon Server SDK.
Sign In or Register to comment.