Enhance the sending message API

- Change sendGameMessage call to addGameMessage to allow sending messages with all supported fields
- Update chat message manager to support sending messages with all supported fields
This commit is contained in:
Tomas Slusny
2018-02-20 13:03:14 -05:00
parent 397cb2f99f
commit 04cf082b9c
10 changed files with 82 additions and 61 deletions

View File

@@ -204,8 +204,8 @@ public interface RSClient extends RSGameEngine, Client
@Import("worldList")
RSWorld[] getWorldList();
@Import("sendGameMessage")
void sendGameMessage(int var1, String var2, String var3);
@Import("addChatMessage")
void addChatMessage(int type, String name, String message, String sender);
@Override
@Import("getObjectDefinition")