public void Init(Weatherman plugin) { SupportedWeathers = new List <WeathermanWeather>(); if (plugin.GetWeathers(ZoneId) != null) { foreach (var w in plugin.GetWeathers(ZoneId)) { SupportedWeathers.Add(new WeathermanWeather(w, false, plugin.IsWeatherNormal(w, ZoneId))); } } }
public Gui(Weatherman plugin) { this.plugin = plugin; }