Add mappings and api for DMM player names

- Add mappings for DMM player names and methods using them
- Create class with DMM player name rendering masks
- Create mapping for cleanName from player
- Create mapping for setting name to player

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
Tomas Slusny
2018-03-28 12:21:11 +02:00
committed by Adam
parent 24e6b24200
commit 7c233a096c
6 changed files with 83 additions and 0 deletions

View File

@@ -549,4 +549,12 @@ public interface RSClient extends RSGameEngine, Client
@Import("drawObject")
void drawObject(int z, int x, int y, int randomColor1, int randomColor2);
@Import("playerNameMask")
@Override
void setPlayerNameMask(int mask);
@Import("playerNameMask")
@Override
int getPlayerNameMask();
}

View File

@@ -30,4 +30,10 @@ public interface RSName
{
@Import("name")
String getName();
@Import("cleanName")
String getCleanName();
@Import("name")
void setName(String name);
}