Doing this :produces an error like this:Is this a bug or I'm missing something?
Code:
Class ClassA play{static void RunStuff(Function<play void(int)> func){func.Call(2);}}Class ClassB play{static void TryRunStuff(){ClassA.RunStuff(callback);}void callback(int i){}}
Code:
Cannot convert Function<play void (Pointer<Class<ClassB>>, SInt4)> to Function<play void (SInt4)>
Statistics: Posted by krokots — Tue Jun 11, 2024 11:22 am