Project cleanup pre merge.

This commit is contained in:
2023-07-15 09:23:48 -04:00
parent 134b651df8
commit 9bbdef224d
747 changed files with 99704 additions and 101200 deletions
@@ -17,90 +17,90 @@ import engine.net.client.Protocol;
public class SendSummonsRequestMsg extends ClientNetMsg {
private int powerToken;
private int sourceType;
private int sourceID;
private String targetName;
private int trains;
private int powerToken;
private int sourceType;
private int sourceID;
private String targetName;
private int trains;
/**
* This is the general purpose constructor.
*/
public SendSummonsRequestMsg() {
super(Protocol.POWERTARGNAME);
}
/**
* This is the general purpose constructor.
*/
public SendSummonsRequestMsg() {
super(Protocol.POWERTARGNAME);
}
/**
* This constructor is used by NetMsgFactory. It attempts to deserialize the
* ByteBuffer into a message. If a BufferUnderflow occurs (based on reading
* past the limit) then this constructor Throws that Exception to the
* caller.
*/
public SendSummonsRequestMsg(AbstractConnection origin, ByteBufferReader reader) {
super(Protocol.POWERTARGNAME, origin, reader);
}
/**
* This constructor is used by NetMsgFactory. It attempts to deserialize the
* ByteBuffer into a message. If a BufferUnderflow occurs (based on reading
* past the limit) then this constructor Throws that Exception to the
* caller.
*/
public SendSummonsRequestMsg(AbstractConnection origin, ByteBufferReader reader) {
super(Protocol.POWERTARGNAME, origin, reader);
}
/**
* Serializes the subclass specific items to the supplied NetMsgWriter.
*/
@Override
protected void _serialize(ByteBufferWriter writer) {
writer.putInt(this.powerToken);
writer.putInt(this.sourceType);
writer.putInt(this.sourceID);
writer.putString(this.targetName);
writer.putInt(this.trains);
}
/**
* Serializes the subclass specific items to the supplied NetMsgWriter.
*/
@Override
protected void _serialize(ByteBufferWriter writer) {
writer.putInt(this.powerToken);
writer.putInt(this.sourceType);
writer.putInt(this.sourceID);
writer.putString(this.targetName);
writer.putInt(this.trains);
}
/**
* Deserializes the subclass specific items from the supplied NetMsgReader.
*/
@Override
protected void _deserialize(ByteBufferReader reader) {
this.powerToken = reader.getInt();
this.sourceType = reader.getInt();
this.sourceID = reader.getInt();
this.targetName = reader.getString();
this.trains = reader.getInt();
}
/**
* Deserializes the subclass specific items from the supplied NetMsgReader.
*/
@Override
protected void _deserialize(ByteBufferReader reader) {
this.powerToken = reader.getInt();
this.sourceType = reader.getInt();
this.sourceID = reader.getInt();
this.targetName = reader.getString();
this.trains = reader.getInt();
}
public int getPowerToken() {
return this.powerToken;
}
public int getPowerToken() {
return this.powerToken;
}
public int getSourceType() {
return this.sourceType;
}
public void setPowerToken(int value) {
this.powerToken = value;
}
public int getSourceID() {
return this.sourceID;
}
public int getSourceType() {
return this.sourceType;
}
public String getTargetName() {
return this.targetName;
}
public void setSourceType(int value) {
this.sourceType = value;
}
public int getTrains() {
return this.trains;
}
public int getSourceID() {
return this.sourceID;
}
public void setPowerToken(int value) {
this.powerToken = value;
}
public void setSourceID(int value) {
this.sourceID = value;
}
public void setSourceType(int value) {
this.sourceType = value;
}
public String getTargetName() {
return this.targetName;
}
public void setSourceID(int value) {
this.sourceID = value;
}
public void setTargetName(String value) {
this.targetName = value;
}
public void setTargetName(String value) {
this.targetName = value;
}
public int getTrains() {
return this.trains;
}
public void setTrains(int value) {
this.trains = value;
}
public void setTrains(int value) {
this.trains = value;
}
}