internal static void InstallEvents() { DlcInstalled_t.Install((DlcInstalled_t x) => { Action <AppId> onDlcInstalled = SteamApps.OnDlcInstalled; if (onDlcInstalled != null) { onDlcInstalled(x.AppID); } else { } }, false); NewUrlLaunchParameters_t.Install((NewUrlLaunchParameters_t x) => { Action onNewLaunchParameters = SteamApps.OnNewLaunchParameters; if (onNewLaunchParameters != null) { onNewLaunchParameters(); } else { } }, false); }
internal static void InstallEvents() { DlcInstalled_t.Install(x => OnDlcInstalled?.Invoke(x.AppID)); NewUrlLaunchParameters_t.Install(x => OnNewLaunchParameters?.Invoke()); }