private bool IsValidData()
        {
            if (_data != null && _data.Type == HighlightType.Building && _data.BuildingID != 0)
            {
                if ((BuildingManager.instance.m_buildings.m_buffer[_data.BuildingID].m_flags & Building.Flags.Created) != 0)
                {
                    return(true);
                }

                _data.Reset(Type);
            }

            return(false);
        }
        private bool IsValidData()
        {
            if (_data != null && _data.Type == HighlightType.PTStop && _data.NodeID != 0)
            {
                if ((NetManager.instance.m_nodes.m_buffer[_data.NodeID].m_flags & NetNode.Flags.Created) != 0)
                {
                    return(true);
                }

                _data.Reset(Type);
            }

            return(false);
        }