static void Postfix(SteamHelper.DLC dlc, ref bool __result) { if (__result) { __result = __result && !ExcludedDLCs.Contains(dlc); } }
private string GetDlcName(DLCPanelNew panel, SteamHelper.DLC dlc) { string dlcName = panel.FindLocalizedDLCName(dlc); if (string.IsNullOrEmpty(dlcName)) { // Default to enum item name dlcName = dlc.ToString(); } return(dlcName); }