Пример #1
0
 protected override void Load()
 {
     Instance = this;
     U.Events.OnPlayerConnected += voteTrigger;
     if (Configuration.Instance.EnableRewardBundles)
     {
         OnPlayerVoted += Votifier_OnPlayerVoted;
     }
 }
Пример #2
0
 public CommandReward(IPlugin plugin)
 {
     _votifier = (Votifier)plugin;
 }
Пример #3
0
 public void Execute(IRocketPlayer caller, params string[] command)
 {
     Votifier.Vote((UnturnedPlayer)caller);
 }