runelite-api: expose Friend

This commit is contained in:
Adam
2018-05-08 10:27:03 -04:00
parent 0142e53e9f
commit 863522afa9
9 changed files with 152 additions and 6 deletions

View File

@@ -24,9 +24,10 @@
*/
package net.runelite.rs.api;
import net.runelite.api.ChatPlayer;
import net.runelite.mapping.Import;
public interface RSChatPlayer extends RSNameable
public interface RSChatPlayer extends ChatPlayer, RSNameable
{
@Import("world")
int getWorld();

View File

@@ -24,6 +24,8 @@
*/
package net.runelite.rs.api;
public interface RSFriend extends RSChatPlayer
import net.runelite.api.Friend;
public interface RSFriend extends Friend, RSChatPlayer
{
}

View File

@@ -26,7 +26,7 @@ package net.runelite.rs.api;
import net.runelite.mapping.Import;
public interface RSName
public interface RSName extends Comparable
{
@Import("name")
String getName();

View File

@@ -24,10 +24,14 @@
*/
package net.runelite.rs.api;
import net.runelite.api.Nameable;
import net.runelite.mapping.Import;
public interface RSNameable
public interface RSNameable extends Nameable, Comparable
{
@Import("name")
RSName getName();
RSName getRsName();
@Import("prevName")
RSName getRsPrevName();
}