Overwatch + A Question on Combining/Removing Delegates
Posted: March 9th, 2015, 4:53 am
Hey there! Was wondering if I should just upload the version of Overwatch with the fix for the bar moonlighting issue (was away for some time after that, should have asked this question before I left now that I think about it), or if there are other upcoming updates to it in which case I should just leave it be as it is since my changes have already been merged to the source? On the subject of the moonlighting fix, I couldn't really decide between using ImmediateEventListener or DelayedEventListener in this case so I just used the former, but would there be a significant difference/benefit in perhaps using Delayed instead?
And since it's been a while since I've posted here, there's something totally unrelated that I could use some help/explanation with. In Sims3.UI.ObjectPickerDialog, there's this part in the constructor that I want to emulate/change
this.mTable.SelectionChanged += new ObjectPicker.ObjectPickerSelectionChanged(this.OnSelectionChanged);
but whenever I try to combine/remove delegates or do anything at all with mTable.SelectionChanged, I keep getting a "Ambiguity between Sims3.UI.ObjectPicker.SelectionChanged and Sims3.UI.ObjectPicker.SelectionChanged" error which I have no idea what to do about. I've run into this similar 'ambiguity' issue in the past and have yet to find a way to get past it so I could really appreciate some insight into this.
And since it's been a while since I've posted here, there's something totally unrelated that I could use some help/explanation with. In Sims3.UI.ObjectPickerDialog, there's this part in the constructor that I want to emulate/change
this.mTable.SelectionChanged += new ObjectPicker.ObjectPickerSelectionChanged(this.OnSelectionChanged);
but whenever I try to combine/remove delegates or do anything at all with mTable.SelectionChanged, I keep getting a "Ambiguity between Sims3.UI.ObjectPicker.SelectionChanged and Sims3.UI.ObjectPicker.SelectionChanged" error which I have no idea what to do about. I've run into this similar 'ambiguity' issue in the past and have yet to find a way to get past it so I could really appreciate some insight into this.