Ejemplo n.º 1
0
 public void Dispose()
 {
     CommandRegistrationHelper.Unregister(Name);
     CommandRegistrationHelper.Unregister(Name + "2");
 }
Ejemplo n.º 2
0
 public void Ready()
 {
     CommandRegistrationHelper.Register <string>(Name, (name) => tryOrCommandLogError(() => this.Pixi(null, name)), Description);
     CommandRegistrationHelper.Register <string, string>(Name + "2", this.Pixi, "Import something into Gamecraft using magic. Usage: Pixi \"importer\" \"myfile.png\"");
 }