forked from MagicBane/Server
Class renaming for clarity
This commit is contained in:
+3
-3
@@ -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);
|
||||
}
|
||||
|
||||
+5
-5
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
Reference in New Issue
Block a user