mirror of
https://github.com/2006-Scape/Parabot-317-API-Minified.git
synced 2026-07-05 16:49:42 +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.api.interfaces.Locatable;
|
||||
import org.rev317.min.api.methods.Calculations;
|
||||
import org.rev317.min.api.methods.Game;
|
||||
@@ -75,5 +76,13 @@ public class GroundItem implements Locatable {
|
||||
public int getId() {
|
||||
return accessor.getId();
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the accessor class
|
||||
* @return RefClass of accessor
|
||||
*/
|
||||
public RefClass getRefClass() {
|
||||
return new RefClass(this.accessor);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user