Beispiel #1
0
 //Init is called after all of the plugins/modules have been loaded. At this point you need to provide a reference to your application wrapper and any
 //extra methods you want to expose to the API.
 public override void Init(out IApplicationWrapper Application, out WebMethodsBase APIMethods)
 {
     app         = new FiveMApp(this);
     Application = app;
     APIMethods  = null;
 }
Beispiel #2
0
 //Init is called after all of the plugins/modules have been loaded. At this point you need to provide a reference to your application wrapper and any
 //extra methods you want to expose to the API.
 public override void Init(out IApplicationWrapper Application, out WebMethodsBase APIMethods)
 {
     app         = new RustApp(this);
     Application = app;
     APIMethods  = new WebMethods(this);
 }