public static void Deinit() { LocaleManager.eventLocaleChanged -= new LocaleManager.LocaleChangedHandler(LocaleModifier.Modify); LocaleModifier.Modify("AIINFO_BUSDEPOT_BUSCOUNT", "{0} / {1}", "{0}"); LocaleModifier.Modify("AIINFO_TRAMDEPOT_TRAMCOUNT", "{0} / {1}", "{0}"); }
private static void Modify() { LocaleModifier.Modify("AIINFO_BUSDEPOT_BUSCOUNT", "{0}", "{0} / {1}"); LocaleModifier.Modify("AIINFO_TRAMDEPOT_TRAMCOUNT", "{0}", "{0} / {1}"); }
public static void Init() { LocaleManager.eventLocaleChanged += new LocaleManager.LocaleChangedHandler(LocaleModifier.Modify); LocaleModifier.Modify(); }