Add isPlanetEnabledForCluster

This commit is contained in:
AconiteX
2021-08-14 22:10:22 -04:00
parent 2a2106cd20
commit 93cfd07fd6

View File

@@ -18750,6 +18750,12 @@ public class base_class
*/
public static native boolean isAreaTooFullForTravel (String planetName, int x, int z);
/**
* @param planetName the scene to check
* @return true if the planet is turned on for this server
*/
public static native boolean isPlanetEnabledForCluster(String planetName);
/**
* Send a request to the planet server for both object1 and object2 to be moved to the same game server.
* The planet server will try to move one of the objects to the server the other object is on.