package io.xchris6041x.devin.playerdata.request;

import java.util.UUID;

import org.bukkit.OfflinePlayer;
import org.bukkit.entity.Player;

/**
 * @author Christopher Bishop
 */
public abstract class PlayerRequest {

	private UUID from;
	private UUID to;
	
	public PlayerRequest(Player from, OfflinePlayer to) {
		this.from = from.getUniqueId();
		this.to = to.getUniqueId();
	}
	
	public abstract String getDescription();
	
	
	/**
	 * @return the unique id of
	 */
	public UUID getFromUniqueId() {
		return from;
	}
	
	/**
	 * @return the uinque id of the player who was sent the request.
	 */
	public UUID getToUniqueId() {
		return to;
	}
	
}

@@ -225,20 +225,22 @@
 te UUID 
-from
+sender
 ;%0A%09priva
@@ -247,18 +247,24 @@
 te UUID 
-to
+receiver
 ;%0A%09%0A%09pub
@@ -288,20 +288,22 @@
 (Player 
-from
+sender
 , Offlin
@@ -310,18 +310,24 @@
 ePlayer 
-to
+receiver
 ) %7B%0A%09%09th
@@ -333,19 +333,23 @@
 his.
-from = from
+sender = sender
 .get
@@ -371,15 +371,27 @@
 his.
-to = to
+receiver = receiver
 .get
@@ -486,16 +486,49 @@
 ue id of
+ the player who sent the request.
 %0A%09 */%0A%09p
@@ -545,12 +545,14 @@
  get
-From
+Sender
 Uniq
@@ -573,12 +573,14 @@
 urn 
-from
+sender
 ;%0A%09%7D
@@ -635,16 +635,16 @@
 who 
-was sent
+received
  the
@@ -678,10 +678,16 @@
  get
-To
+Receiver
 Uniq
@@ -704,18 +704,24 @@
 %09return 
-to
+receiver
 ;%0A%09%7D%0A%09%0A%7D

Change the name "from" and "to" to "sender" and "receiver".