Ejemplo n.º 1
0
 public void GenerateScoreboards()
 {
     foreach (PlayerMobile mobile in ParticipantsScores.Keys)
     {
         PlayerMobile mobile1 = mobile;
         Timer.DelayCall(
             TimeSpan.FromMinutes(1),
             () =>
         {
             var scrollgump = new PortalScoresScrollGump(mobile1, onAccept: x =>
             {
                 var scoreboard = new PortalScoresOverviewGump(mobile1, this).
                                  Send <InvasionScoresOverviewGump>();
             }).Send <PortalScoresScrollGump>();
         });
     }
 }
Ejemplo n.º 2
0
 public void GenerateScoreboards()
 {
     foreach (PlayerMobile mobile in ParticipantsScores.Keys)
     {
         PlayerMobile mobile1 = mobile;
         Timer.DelayCall(
             TimeSpan.FromMinutes(1),
             () =>
             {
                 var scrollgump = new PortalScoresScrollGump(mobile1, onAccept: x =>
                 {
                     var scoreboard = new PortalScoresOverviewGump(mobile1, this).
                         Send<InvasionScoresOverviewGump>();
                 }).Send<PortalScoresScrollGump>();
             });
     }
 }