Veilheim/Map/SharedMapSystem.cs
/// <summary>
///     Enqueue new exploration data if not added from SetMapData
/// </summary>
Enqueue new exploration data if not added from SetMapData
Enqueue new exploration data if not added from SetMapData
private static bool EnqueueExploreData(On.Minimap.orig_Explore_int_int orig, Minimap self, int x, int y)
        {
            if (Player.m_localPlayer?.InIntro() == true)
            {
                return false;
            }
            bool result = orig(self, x, y);
            if (result && !isInSetMapData)
            {
                lock (explorationQueue)
                {
                    explorationQueue.Add(x + y * Minimap.instance.m_textureSize);
                }
            }
            return result;
        }
private static bool EnqueueExploreData ( On . Minimap . orig_Explore_int_int orig , Minimap self , int x , int y ) { if ( Player . m_localPlayer ? . InIntro ( ) == true ) { return false ; } bool result = orig ( self , x , y ) ; if ( result && ! isInSetMapData ) { lock ( explorationQueue ) { explorationQueue . Add ( x + y * Minimap . instance . m_textureSize ) ; } } return result ; }
Enqueue new exploration data if not added from SetMapData
Enqueue new exploration data if not added from SetMapData
// Do not explore if we're in the intro phase
orig
On.Minimap.orig_Explore_int_int
self
Minimap
x
int
y
int