Example #1
0
 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();
     }
 }
Example #2
0
        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();
        }