Veilheim/Map/PortalsOnMap.cs
/// <summary>
///     CLIENT SIDE: Update portal pins on the minimap in each update cycle
/// </summary>
CLIENT SIDE: Update portal pins on the minimap in each update cycle
CLIENT SIDE : Update portal pins on the minimap in each update cycle
private static void UpdatePinsOnMinimap(On.Minimap.orig_UpdateLocationPins orig, Minimap self, float dt)
        {
            bool doPayload = self.m_updateLocationsTimer <= dt;
            orig(self, dt);
            if (doPayload)
            {
                if (ZNet.instance.IsServerInstance())
                {
                    return;
                }
                if (ConfigUtil.Get<bool>("Map", "showPortalsOnMap"))
                {
                    UpdateMinimap();
                }
            }
        }
private static void UpdatePinsOnMinimap ( On . Minimap . orig_UpdateLocationPins orig , Minimap self , float dt ) { bool doPayload = self . m_updateLocationsTimer <= dt ; orig ( self , dt ) ; if ( doPayload ) { if ( ZNet . instance . IsServerInstance ( ) ) { return ; } if ( ConfigUtil . Get < bool > ( " " , " " ) ) { UpdateMinimap ( ) ; } } }
CLIENT SIDE: Update portal pins on the minimap in each update cycle
CLIENT SIDE : Update portal pins on the minimap in each update cycle
orig
On.Minimap.orig_UpdateLocationPins
self
Minimap
dt
float