runelite-api: expose Friend
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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
|
||||
{
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user