private void NPCMerchant_OnRightClickDown(On.NPCMerchant.orig_OnRightClickDown orig, NPCMerchant self, ClickDownInfo clickInfo) { // If the shift key is down, instead of doing it right away, add it to a queue. if (ConditionalAddToQueue(new QueueData(self, clickInfo))) { return; } orig(self, clickInfo); }
public QueueData(NPCMerchant merch, ClickDownInfo info) { this.merch = merch; Setup(info); }