// TgirlID nFavqinmidu
    public bool GetItemElement(int id, out ImageInitData itemElement)
    {
        itemElement = null;
        if (!_mItemElementList.TryGetValue(id, out itemElement))
        {
            return(false);
        }

        return(true);
    }
    private bool LoatItemElement(SecurityElement element, out ImageInitData ItemElement)
    {
        ItemElement = new ImageInitData();
        string attribute = element.Attribute("Id");

        if (attribute != null)
        {
            ItemElement.nID = StrParser.ParseDecInt(attribute, -1);
        }

        attribute = element.Attribute("Gender");
        if (attribute != null)
        {
            ItemElement.nGener = StrParser.ParseDecInt(attribute, 0);
        }

        attribute = element.Attribute("type");
        if (attribute != null)
        {
            ItemElement.type = attribute;
        }

        attribute = element.Attribute("Icon");
        if (attribute != null)
        {
            ItemElement.icon = attribute;
        }

        attribute = element.Attribute("Value");
        if (attribute != null)
        {
            ItemElement.initValue = attribute;
        }


        return(true);
    }