Exemplo n.º 1
0
 void OnJionin(object sender, int index)
 {
     if (m_RefNpc != null)
     {
         m_RefNpc.TrySetProcessingIndex(index);
         //lz-2016.06.27 单击如果:npc工作正常并且这个进程没有材料,就提示需要加材料
         if (m_RefNpc.CanProcess && !CheckProcessHasMaterial(index))
         {
             CSUI_MainWndCtrl.ShowStatusBar(PELocalization.GetString(82209012));
         }
     }
 }