Add class reference
This commit is contained in:
parent
b71ee96c8f
commit
c2e49dc4b5
|
@ -19,6 +19,7 @@ for (int i = 0; i < reflect_%classname%_methods_arr.length; i++) {
|
||||||
reflect_%classname%.set("constructors", reflect_%classname%_constructors_arr);
|
reflect_%classname%.set("constructors", reflect_%classname%_constructors_arr);
|
||||||
reflect_%classname%.set("methods", reflect_%classname%_methods_arr);
|
reflect_%classname%.set("methods", reflect_%classname%_methods_arr);
|
||||||
reflect_%classname%.set("className", "%classname%");
|
reflect_%classname%.set("className", "%classname%");
|
||||||
|
reflect_%classname%.set("class", %classname%.class);
|
||||||
reflectProfiles.add(reflect_%classname%);
|
reflectProfiles.add(reflect_%classname%);
|
||||||
|
|
||||||
`;
|
`;
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
function reflect_hook() {
|
||||||
|
var ModAPI = window.ModAPI || {};
|
||||||
|
ModAPI.javaClass = function javaClass(getClass) {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue