My plug-in has stopped compiling, the line below:var listeners = RFManager.GetListenList(3760); Results in a definition not found error. I assume I'm missing a using statement at the top?
Thanks in advance for any help.
RFManager.GetListenList missing a definition?
I am getting the same exact error: Error while compiling RaidableBases: 'RFManager' does not contain a definition for 'GetListenList' | Line: 14639, Pos: 49
It was working on my Halloween map, but when i swapped maps, I noticed RaidableBases wasn't working and I have made 0 changes on plugins. Sure enough I get this error every time i try a reload. Which file is that statement in?
edit: Nevermind, I looked in my main cs plugin file and found the exact line it references. Whatever it missing, I haven't a clue. I'll try seeing if the dev has updated...sure enough, he has. i uploaded the new CS file and it compiled and loaded no problem. Make sure you get the latest plugin file. I put the line changes below.
My Current: TryInvokeMethod(() => RFManager.GetListenList(1).RemoveAll(obj => !BaseEntityEx.IsValidEntityReference(obj)));
Updated: TryInvokeMethod(() => RFManager.GetListenerSet(1).RemoveWhere(obj => obj == null || !BaseEntityEx.IsValidEntityReference(obj)));