public void CheckDLC(NodeAddedEvent e, SingleNode <SelfUserComponent> user, [JoinAll] SingleNode <SteamComponent> steam) { if (!string.IsNullOrEmpty(SteamComponent.Ticket)) { CheckSteamDlcEvent eventInstance = new CheckSteamDlcEvent(steam.component.SteamID, SteamComponent.Ticket); base.NewEvent(eventInstance).Attach(user).Schedule(); } }
public void CheckDLC(RequestCheckSteamDlcInstalledEvent e, SingleNode <SteamComponent> steam, [JoinAll] SingleNode <SelfUserComponent> user) { CheckSteamDlcEvent eventInstance = new CheckSteamDlcEvent(steam.component.SteamID, SteamComponent.Ticket); base.NewEvent(eventInstance).Attach(user).Schedule(); }