forked from MagicBane/Server
Handlers created for gold-vault interactions
This commit is contained in:
+5
-5
@@ -21,7 +21,7 @@ import engine.net.client.Protocol;
|
||||
*
|
||||
* @author Eighty
|
||||
*/
|
||||
public class TransferGoldFromVaultToInventoryMsg extends ClientNetMsg {
|
||||
public class GoldFromVaultMsg extends ClientNetMsg {
|
||||
|
||||
private long unknown01;
|
||||
private long playerCompID;
|
||||
@@ -31,8 +31,8 @@ public class TransferGoldFromVaultToInventoryMsg extends ClientNetMsg {
|
||||
/**
|
||||
* This is the general purpose constructor
|
||||
*/
|
||||
public TransferGoldFromVaultToInventoryMsg(long unknown01, long playerCompID, long accountCompID, int amount) {
|
||||
super(Protocol.TRANSFERGOLDFROMVAULTTOINVENTORY);
|
||||
public GoldFromVaultMsg(long unknown01, long playerCompID, long accountCompID, int amount) {
|
||||
super(Protocol.GOLDFROMVAULT);
|
||||
this.unknown01 = unknown01;
|
||||
this.playerCompID = playerCompID;
|
||||
this.accountCompID = accountCompID;
|
||||
@@ -44,8 +44,8 @@ public class TransferGoldFromVaultToInventoryMsg extends ClientNetMsg {
|
||||
* past the limit) then this constructor Throws that Exception to the
|
||||
* caller.
|
||||
*/
|
||||
public TransferGoldFromVaultToInventoryMsg(AbstractConnection origin, ByteBufferReader reader) {
|
||||
super(Protocol.TRANSFERGOLDFROMVAULTTOINVENTORY, origin, reader);
|
||||
public GoldFromVaultMsg(AbstractConnection origin, ByteBufferReader reader) {
|
||||
super(Protocol.GOLDFROMVAULT, origin, reader);
|
||||
}
|
||||
|
||||
/**
|
||||
+4
-4
@@ -22,7 +22,7 @@ import engine.net.client.Protocol;
|
||||
* @author Eighty
|
||||
*/
|
||||
|
||||
public class TransferGoldFromInventoryToVaultMsg extends ClientNetMsg {
|
||||
public class GoldToVaultMsg extends ClientNetMsg {
|
||||
|
||||
private int playerID;
|
||||
private int accountID;
|
||||
@@ -33,12 +33,12 @@ public class TransferGoldFromInventoryToVaultMsg extends ClientNetMsg {
|
||||
/**
|
||||
* This is the general purpose constructor
|
||||
*/
|
||||
public TransferGoldFromInventoryToVaultMsg() {
|
||||
public GoldToVaultMsg() {
|
||||
super(Protocol.GOLDTOVAULT);
|
||||
|
||||
}
|
||||
|
||||
public TransferGoldFromInventoryToVaultMsg(int playerID, int npcID, int accountID, int amount) {
|
||||
public GoldToVaultMsg(int playerID, int npcID, int accountID, int amount) {
|
||||
super(Protocol.GOLDTOVAULT);
|
||||
this.playerID = playerID;
|
||||
this.npcID = npcID;
|
||||
@@ -52,7 +52,7 @@ public class TransferGoldFromInventoryToVaultMsg extends ClientNetMsg {
|
||||
* past the limit) then this constructor Throws that Exception to the
|
||||
* caller.
|
||||
*/
|
||||
public TransferGoldFromInventoryToVaultMsg(AbstractConnection origin, ByteBufferReader reader) {
|
||||
public GoldToVaultMsg(AbstractConnection origin, ByteBufferReader reader) {
|
||||
super(Protocol.GOLDTOVAULT, origin, reader);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user