示例#1
0
 public bool Update(float delta)
 {
     if (m_bBlock)
     {
         return(false);
     }
     if (m_BlockList.Count > 0)
     {
         BlockData bd = m_BlockList.First.Value;
         m_BlockList.RemoveFirst();
         if (bd.URL)
         {
             NativeInterface.Block_DownNewClientVersion(bd.Msg);
         }
         else
         {
             NativeInterface.Block_ShowMsg(bd.Msg, bd.Code, bd.Close);
         }
         m_bClose = bd.Close;
         m_bBlock = bd.Block;
     }
     return(!m_bBlock);
 }