示例#1
0
文件: World.cs 项目: yahyaguzide/daud
 private void InitializeStepTimer()
 {
     Heartbeat = new Timer((state) =>
     {
         Step();
         ConnectionHeartbeat.Step();
     }, null, 0, Hook.StepTime);
 }
示例#2
0
文件: World.cs 项目: ckissane/IOGame
        private void InitializeStepTimer()
        {
            Heartbeat = new Timer((state) =>
            {
                if (Processing)
                {
                    return;
                }

                Step();
                ConnectionHeartbeat.Step();
            }, null, 0, Hook.StepTime);
            Disposables.Add(Heartbeat);
        }
示例#3
0
 public virtual void ConnectionHeartbeat(C context, ConnectionHeartbeat mystruct)
 {
 }