mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-13 01:51:39 -07:00
Started moving around static methods/fields
This commit is contained in:
parent
bed128bd19
commit
6ba1f2f808
305 changed files with 5027 additions and 5075 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import java.awt.Component;
|
||||
import java.awt.event.FocusEvent;
|
||||
import java.awt.event.FocusListener;
|
||||
import java.awt.event.MouseEvent;
|
||||
|
|
@ -16,6 +17,24 @@ public final class Mouse implements MouseListener, MouseMotionListener, FocusLis
|
|||
public int mouseWheelX;
|
||||
public int mouseWheelY;
|
||||
|
||||
@OriginalMember(owner = "client!sc", name = "a", descriptor = "(ILjava/awt/Component;)V")
|
||||
public static void stop(@OriginalArg(1) Component arg0) {
|
||||
arg0.removeMouseListener(Static93.instance);
|
||||
arg0.removeMouseMotionListener(Static93.instance);
|
||||
arg0.removeFocusListener(Static93.instance);
|
||||
Static57.anInt1759 = 0;
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!ug", name = "a", descriptor = "(I)V")
|
||||
public static void quit() {
|
||||
if (Static93.instance != null) {
|
||||
@Pc(5) Mouse local5 = Static93.instance;
|
||||
synchronized (Static93.instance) {
|
||||
Static93.instance = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!ug", name = "mouseMoved", descriptor = "(Ljava/awt/event/MouseEvent;)V")
|
||||
@Override
|
||||
public final synchronized void mouseMoved(@OriginalArg(0) MouseEvent arg0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue