forked from MagicBane/Server
Handler created for SendSummonsMsg
This commit is contained in:
+3
-3
@@ -15,7 +15,7 @@ import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
|
||||
public class RecvSummonsRequestMsg extends ClientNetMsg {
|
||||
public class RecvSummonsMsg extends ClientNetMsg {
|
||||
|
||||
private int sourceType;
|
||||
private int sourceID;
|
||||
@@ -26,7 +26,7 @@ public class RecvSummonsRequestMsg extends ClientNetMsg {
|
||||
/**
|
||||
* This is the general purpose constructor.
|
||||
*/
|
||||
public RecvSummonsRequestMsg(int sourceType, int sourceID, String sourceName, String locationName, boolean accepted) {
|
||||
public RecvSummonsMsg(int sourceType, int sourceID, String sourceName, String locationName, boolean accepted) {
|
||||
super(Protocol.ARCSUMMON);
|
||||
this.sourceType = sourceType;
|
||||
this.sourceID = sourceID;
|
||||
@@ -41,7 +41,7 @@ public class RecvSummonsRequestMsg extends ClientNetMsg {
|
||||
* past the limit) then this constructor Throws that Exception to the
|
||||
* caller.
|
||||
*/
|
||||
public RecvSummonsRequestMsg(AbstractConnection origin, ByteBufferReader reader) {
|
||||
public RecvSummonsMsg(AbstractConnection origin, ByteBufferReader reader) {
|
||||
super(Protocol.ARCSUMMON, origin, reader);
|
||||
}
|
||||
|
||||
+3
-3
@@ -15,7 +15,7 @@ import engine.net.ByteBufferReader;
|
||||
import engine.net.ByteBufferWriter;
|
||||
import engine.net.client.Protocol;
|
||||
|
||||
public class SendSummonsRequestMsg extends ClientNetMsg {
|
||||
public class SendSummonsMsg extends ClientNetMsg {
|
||||
|
||||
private int powerToken;
|
||||
private int sourceType;
|
||||
@@ -26,7 +26,7 @@ public class SendSummonsRequestMsg extends ClientNetMsg {
|
||||
/**
|
||||
* This is the general purpose constructor.
|
||||
*/
|
||||
public SendSummonsRequestMsg() {
|
||||
public SendSummonsMsg() {
|
||||
super(Protocol.POWERTARGNAME);
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ public class SendSummonsRequestMsg extends ClientNetMsg {
|
||||
* past the limit) then this constructor Throws that Exception to the
|
||||
* caller.
|
||||
*/
|
||||
public SendSummonsRequestMsg(AbstractConnection origin, ByteBufferReader reader) {
|
||||
public SendSummonsMsg(AbstractConnection origin, ByteBufferReader reader) {
|
||||
super(Protocol.POWERTARGNAME, origin, reader);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user