Class renaming for clarity

This commit is contained in:
2024-03-25 04:44:35 -04:00
parent 678f5463ea
commit ded3e16d48
6 changed files with 34 additions and 34 deletions
@@ -17,7 +17,7 @@ import engine.net.ByteBufferWriter;
import engine.net.client.Protocol;
import engine.objects.Item;
public class BuyFromNPCMsg extends ClientNetMsg {
public class VendorBuyMsg extends ClientNetMsg {
private int npcType;
private int npcID;
@@ -29,7 +29,7 @@ public class BuyFromNPCMsg extends ClientNetMsg {
/**
* This is the general purpose constructor
*/
public BuyFromNPCMsg() {
public VendorBuyMsg() {
super(Protocol.BUYFROMNPC);
}
@@ -39,7 +39,7 @@ public class BuyFromNPCMsg extends ClientNetMsg {
* past the limit) then this constructor Throws that Exception to the
* caller.
*/
public BuyFromNPCMsg(AbstractConnection origin, ByteBufferReader reader) {
public VendorBuyMsg(AbstractConnection origin, ByteBufferReader reader) {
super(Protocol.BUYFROMNPC, origin, reader);
}
@@ -21,7 +21,7 @@ import engine.net.client.Protocol;
*
* @author Eighty
*/
public class SellToNPCMsg extends ClientNetMsg {
public class VendorSellMsg extends ClientNetMsg {
int npcType;
int npcID;
@@ -32,8 +32,8 @@ public class SellToNPCMsg extends ClientNetMsg {
/**
* This is the general purpose constructor
*/
public SellToNPCMsg() {
super(Protocol.SELLOBJECT);
public VendorSellMsg() {
super(Protocol.SELLTONPC);
}
/**
@@ -42,8 +42,8 @@ public class SellToNPCMsg extends ClientNetMsg {
* past the limit) then this constructor Throws that Exception to the
* caller.
*/
public SellToNPCMsg(AbstractConnection origin, ByteBufferReader reader) {
super(Protocol.SELLOBJECT, origin, reader);
public VendorSellMsg(AbstractConnection origin, ByteBufferReader reader) {
super(Protocol.SELLTONPC, origin, reader);
}
/**