Leaderboard Update & Support for Universe Registration

This commit is contained in:
AconiteX
2021-06-01 05:21:14 -04:00
parent 530f543e33
commit 2f09afaa7c
3 changed files with 25 additions and 7 deletions
@@ -26839,4 +26839,20 @@ public class base_class
}
}
/**
* Registers an Object to the Universe by adding it to the
* tracking list of the Universe Process so that the object
* will always be proxied on every Game Server and thereby
* accessible in any context.
*
* Primary implementation is intended for special Master Objects.
* This should not be used on players or regular tangibles.
*
* @param object the object to register
*/
public static void registerObjectToUniverse(obj_id object) {
_registerObjectToUniverse(getLongWithNull(object));
}
private static native void _registerObjectToUniverse(long target);
} // class base_class