コード例 #1
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            var g = new Bomber();

            SetContentView((View)g.Services.GetService(typeof(View)));
            g.Run();
        }
コード例 #2
0
 public EventsHandler(Bomber plugin) => this.plugin = plugin;
コード例 #3
0
ファイル: Commands.cs プロジェクト: joker-119/SCPSLGamemodes
 public BomberCommand(Bomber plugin) => this.plugin = plugin;
コード例 #4
0
 public override void OnEnable()
 {
     singleton = this;
     this.Info(this.Details.name + " v." + this.Details.version + " has been enabled.");
 }
コード例 #5
0
ファイル: Functions.cs プロジェクト: joker-119/SCPSLGamemodes
 public Functions(Bomber plugin) => this.plugin = plugin;
コード例 #6
0
 public Functions(Bomber plugin)
 {
     this.Bomber         = plugin;
     Functions.singleton = this;
 }