diff --git a/wadsrc/static/zscript/events.txt b/wadsrc/static/zscript/events.txt index 6452d19e0..c1f59a60e 100755 --- a/wadsrc/static/zscript/events.txt +++ b/wadsrc/static/zscript/events.txt @@ -283,12 +283,12 @@ class StaticEventHandler : Object native play { // static event handlers CAN register other static event handlers. // unlike EventHandler.Create that will not create them. - protected static native StaticEventHandler Create(class type); - protected static native StaticEventHandler CreateOnce(class type); - protected static native StaticEventHandler Find(Class type); // just for convenience. who knows. + clearscope protected static native StaticEventHandler Create(class type); + clearscope protected static native StaticEventHandler CreateOnce(class type); + clearscope protected static native StaticEventHandler Find(Class type); // just for convenience. who knows. - protected static native bool Register(StaticEventHandler handler); - protected static native bool Unregister(StaticEventHandler handler); + clearscope protected static native bool Register(StaticEventHandler handler); + clearscope protected static native bool Unregister(StaticEventHandler handler); // these are called when the handler gets registered or unregistered // you can set Order/IsUiProcessor here. @@ -337,12 +337,12 @@ class StaticEventHandler : Object native play class EventHandler : StaticEventHandler native { - static native StaticEventHandler Create(class type); - static native StaticEventHandler CreateOnce(class type); - static native StaticEventHandler Find(class type); + clearscope static native StaticEventHandler Create(class type); + clearscope static native StaticEventHandler CreateOnce(class type); + clearscope static native StaticEventHandler Find(class type); - static native bool Register(StaticEventHandler handler); - static native bool Unregister(StaticEventHandler handler); + clearscope static native bool Register(StaticEventHandler handler); + clearscope static native bool Unregister(StaticEventHandler handler); clearscope static native void SendNetworkEvent(String name, int arg1 = 0, int arg2 = 0, int arg3 = 0); }