Interface FriendshipService

All Known Implementing Classes:
InMemoryFriendshipService, PostgresFriendshipService

public interface FriendshipService
  • Method Details

    • getFriendship

      Friendship getFriendship(UUID uuid1, UUID uuid2)
    • getFriendships

      List<Friendship> getFriendships(UUID playerId)
    • saveFriendship

      boolean saveFriendship(Friendship playerIds)
    • deleteFriendship

      boolean deleteFriendship(UUID uuid1, UUID uuid2)
      Returns:
      True if friendship deleted, false if none found