示例#1
0
        public int RegisterAndGetReceiverId(PluginMsgReceiver receiver)
        {
            int index = snCurReceiverIdx;

            snCurReceiverIdx++;

            m_dictReceiver[index] = receiver;
            return(index);
        }