public event EnterMapHandler EnterMap; // Fires when the map is loaded protected void OnExitMap() { ExitMap?.Invoke(this); if (mapCon != null) { // reset spawn information window mapCon.ResetInfoWindow(); eq.selectedID = 99999; eq.SpawnX = -1.0f; eq.SpawnY = -1.0f; } }
public event EnterMapHandler EnterMap; // Fires when the map is loaded protected void OnExitMap() { ExitMap?.Invoke(this); if (mapCon != null) { // reset spawn information window mapCon.lblMobInfo.Text = "Spawn Information Window"; mapCon.lblMobInfo.BackColor = Color.White; mapCon.lblMobInfo.Visible = true; eq.selectedID = 99999; eq.SpawnX = -1.0f; eq.SpawnY = -1.0f; } }