Class ScriptCallbackEvent


  • public class ScriptCallbackEvent
    extends java.lang.Object
    A callback from a runelite_callback opcode in a cs2
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      java.lang.String getEventName()
      The name passed to runelite_callback
      Script getScript()
      The script that is currently being executed
      int hashCode()  
      void setEventName​(java.lang.String eventName)
      The name passed to runelite_callback
      void setScript​(Script script)
      The script that is currently being executed
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ScriptCallbackEvent

        public ScriptCallbackEvent()
    • Method Detail

      • getScript

        public Script getScript()
        The script that is currently being executed
      • getEventName

        public java.lang.String getEventName()
        The name passed to runelite_callback
      • setScript

        public void setScript​(Script script)
        The script that is currently being executed
      • setEventName

        public void setEventName​(java.lang.String eventName)
        The name passed to runelite_callback
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object