wServer.realm.LogicTicker.TickWorlds2 C# (CSharp) Method

TickWorlds2() private method

private TickWorlds2 ( RealmTime t ) : void
t RealmTime
return void
        private void TickWorlds2(RealmTime t)
        {
            long counter = t.thisTickTimes;
            var c = t.tickCount - t.thisTickCounts;
            var x = t.tickTimes - t.thisTickTimes;
            while (counter >= MsPT)
            {
                c++;
                x += MsPT;
                TickWorlds1(new RealmTime
                {
                    thisTickCounts = 1,
                    thisTickTimes = MsPT,
                    tickCount = c,
                    tickTimes = x
                });
                counter -= MsPT;
            }
        }