Esempio n. 1
0
        public override ArrayList getXmlNodeList(SecurityElement config, string itemNode)
        {
            ArrayList itemNodeList = new ArrayList();

            UtilXml.getXmlChildList(config, itemNode, ref itemNodeList);
            return(itemNodeList);
        }
Esempio n. 2
0
        override public void parseXmlElem(SecurityElement elem_)
        {
            base.parseXmlElem(elem_);

            // 解析攻击特效
            ArrayList attackEffectList = new ArrayList();   // 攻击者攻击特效

            UtilXml.getXmlChildList(elem_, "AttackEffect", ref attackEffectList);
            if (attackEffectList != null)
            {
                m_attackEffectList = new AttackEffectList();
                m_attackEffectList.parseXmlElemList(attackEffectList);
            }
        }