void UpdateStateFunc() { UpdateState.cycleTick = -1; UpdateState.AddMotion((deltaTime) => { //广播服务端信息 ServerCtrl.BroadcastServerInfo(); //收集客户端数据 ServerCtrl.CheckReceiveCmdStack(); ServerCtrl.CollectCmdServer(); ServerCtrl.RemoveOverMaxQueue(); }); }