コード例 #1
0
 static void Postfix(SteamHelper.DLC dlc, ref bool __result)
 {
     if (__result)
     {
         __result = __result && !ExcludedDLCs.Contains(dlc);
     }
 }
コード例 #2
0
        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);
        }