This commit is contained in:
azw 2023-04-17 03:01:43 +00:00
parent 47c546ece5
commit 2c3eddd247
2 changed files with 7 additions and 0 deletions

View File

@ -251,6 +251,7 @@ void App::QuickExecute()
{ {
f8::MsgQueue::Instance()->Update(); f8::MsgQueue::Instance()->Update();
DispatchMsg(); DispatchMsg();
DispatchUdpMsg();
f8::Timer::Instance()->Update(); f8::Timer::Instance()->Update();
} }
@ -558,3 +559,8 @@ void App::AddUdpMsg(a8::UdpPacket* pkt)
udp_msg_mutex_->unlock(); udp_msg_mutex_->unlock();
NotifyLoopCond(); NotifyLoopCond();
} }
void App::DispatchUdpMsg()
{
}

View File

@ -43,6 +43,7 @@ private:
bool HasTask(); bool HasTask();
void DispatchMsg(); void DispatchMsg();
void DispatchUdpMsg();
void ProcessClientMsg(f8::MsgHdr& hdr); void ProcessClientMsg(f8::MsgHdr& hdr);
void ProcessMasterServerMsg(f8::MsgHdr& hdr); void ProcessMasterServerMsg(f8::MsgHdr& hdr);