mirror of
https://github.com/2006-Scape/Parabot-317-API-Minified.git
synced 2026-07-05 00:37:51 +00:00
Reflection support for accessors (wrappers)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package org.rev317.min.api.wrappers;
|
||||
|
||||
import org.parabot.core.reflect.RefClass;
|
||||
import org.rev317.min.Loader;
|
||||
import org.rev317.min.api.interfaces.Locatable;
|
||||
import org.rev317.min.api.methods.Calculations;
|
||||
@@ -144,6 +145,14 @@ public class Character implements Locatable {
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the accessor class
|
||||
* @return RefClass of accessor
|
||||
*/
|
||||
public RefClass getRefClass() {
|
||||
return new RefClass(this.accessor);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
|
||||
Reference in New Issue
Block a user