Exemplo n.º 1
0
 public static void UpdateInfo()
 {
     lock (new object())
     {
         FractionStats.UpdateStats();
     }
 }
Exemplo n.º 2
0
 public MainLogic(IServiceProvider services)
 {
     SeasonId      = 1;
     FractionStats = new FractionStats(services.GetService <HexaceContext>());
     Chat          = new Chat(services.GetService <HexaceContext>());
     Timer         = new Timer(services.GetService <HexaceContext>());
     GameModel     = new GameModel(services.GetService <HexaceContext>());
 }