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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user