Beispiel #1
0
 void DisableProcessor()
 {
     foreach (NetMsgProcessorPair Pair in m_ProcessorList)
     {
         NetMsgMap.UnRegistMsgProcessor(Pair.getMsgType(), Pair.getProcessor());
     }
 }
Beispiel #2
0
 public void ClearNetMsgProcessor()
 {
     foreach (NetMsgProcessorPair Pair in m_ProcessorList)
     {
         NetMsgMap.UnRegistMsgProcessor(Pair.getMsgType(), Pair.getProcessor());
     }
     m_ProcessorList.Clear();
 }