internal static void Postfix(HashSet <SteamUGCDetails_t> ___publishes) { foreach (var details in ___publishes) { ModEditor.AddModInfo(details); } }
internal ModEditDialog(GameObject parent, KMod.Mod target) { if (target == null) { throw new ArgumentNullException("target"); } if (target.label.distribution_platform != KMod.Label.DistributionPlatform.Steam) { throw new ArgumentException("Only works on Steam mods"); } mod = target; editor = new ModEditor(target); editor.OnModifyComplete += OnModifyComplete; editor.OnModifyFailed += OnModifyFailed; this.parent = parent; }