Handler created for SendSummonsMsg

This commit is contained in:
2024-03-29 07:36:33 -04:00
parent 8997701d8a
commit f0ac342b1f
8 changed files with 105 additions and 64 deletions
@@ -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);
}
@@ -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);
}