api: add cross world message fields
This commit is contained in:
@@ -1804,4 +1804,19 @@ public interface Client extends GameEngine
|
|||||||
* @see KeyCode
|
* @see KeyCode
|
||||||
*/
|
*/
|
||||||
boolean isKeyPressed(int keycode);
|
boolean isKeyPressed(int keycode);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the list of message ids for the recently received cross-world messages. The upper 32 bits of the
|
||||||
|
* id is the world id, the lower is a sequence number per-world.
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
long[] getCrossWorldMessageIds();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the index of the next message to be inserted in the cross world message id list
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
int getCrossWorldMessageIdsIndex();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user