mixins: Add FriendAdded event

* added onAddedFriend() event

* renamed events to FriendAdded and FriendRemoved
This commit is contained in:
Visne
2019-07-08 17:34:25 +02:00
committed by Lucwousin
parent 9a98431ddb
commit a32c667251
5 changed files with 32 additions and 8 deletions

View File

@@ -0,0 +1,15 @@
package net.runelite.api.events;
import lombok.Value;
/**
* An event where a request to add a friend is sent to the server.
*/
@Value
public class FriendAdded
{
/**
* The name of the added friend.
*/
private final String name;
}

View File

@@ -30,7 +30,7 @@ import lombok.Value;
* An event where a request to remove a friend is sent to the server.
*/
@Value
public class RemovedFriend
public class FriendRemoved
{
/**
* The name of the removed friend.