api: expose chat messages hashtable

This commit is contained in:
Adam
2018-12-12 08:51:30 -05:00
parent 09e15ac255
commit 025799ace6
2 changed files with 11 additions and 0 deletions

View File

@@ -808,6 +808,13 @@ public interface Client extends GameEngine
*/
Map<Integer, ChatLineBuffer> getChatLineMap();
/**
* Map of message node id to message node
*
* @return the map
*/
IterableHashTable getMessages();
/**
* Gets the viewport widget.
* <p>

View File

@@ -454,6 +454,10 @@ public interface RSClient extends RSGameEngine, Client
@Override
Map getChatLineMap();
@Import("messages")
@Override
RSIterableHashTable getMessages();
@Import("revision")
@Override
int getRevision();