public bool GetItemElement(int nPlaceID, out BuildingsExploreElement ItemElement)
 {
     ItemElement = null;
     if (!_mItemElementList.TryGetValue(nPlaceID, out ItemElement))
     {
         return(false);
     }
     return(true);
 }
    private bool LoatItemElement(SecurityElement element, out BuildingsExploreElement ItemElement)
    {
        ItemElement = new BuildingsExploreElement();
        string attribute = element.Attribute("Building_ID");

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

        attribute = element.Attribute("Place_ID");
        if (attribute != null)
        {
            ItemElement.nPlaceID = StrParser.ParseDecInt(attribute, -1);
        }
        attribute = element.Attribute("Building_Name");
        if (attribute != null)
        {
            ItemElement.strBuildingName = StrParser.ParseStr(attribute, "");
        }
        return(true);
    }