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
+72 -75
View File
@@ -17,90 +17,87 @@ import engine.net.client.Protocol;
public class WhoRequestMsg extends ClientNetMsg {
private int set;
private int filterType;
private String filter;
private int set;
private int filterType;
private String filter;
/**
* This is the general purpose constructor.
*/
public WhoRequestMsg() {
super(Protocol.WHOREQUEST);
}
/**
* This is the general purpose constructor.
*/
public WhoRequestMsg() {
super(Protocol.WHOREQUEST);
}
/**
* 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 WhoRequestMsg(AbstractConnection origin, ByteBufferReader reader) {
super(Protocol.WHOREQUEST, 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 WhoRequestMsg(AbstractConnection origin, ByteBufferReader reader) {
super(Protocol.WHOREQUEST, origin, reader);
}
/**
* Serializes the subclass specific items to the supplied NetMsgWriter.
*/
@Override
protected void _serialize(ByteBufferWriter writer) {
writer.putInt(this.set);
writer.putInt(this.filterType);
writer.putString(this.filter);
}
/**
* Serializes the subclass specific items to the supplied NetMsgWriter.
*/
@Override
protected void _serialize(ByteBufferWriter writer) {
writer.putInt(this.set);
writer.putInt(this.filterType);
writer.putString(this.filter);
}
/**
* Deserializes the subclass specific items from the supplied NetMsgReader.
*/
@Override
protected void _deserialize(ByteBufferReader reader) {
this.set = reader.getInt();
this.filterType = reader.getInt();
this.filter = reader.getString();
}
/**
* Deserializes the subclass specific items from the supplied NetMsgReader.
*/
@Override
protected void _deserialize(ByteBufferReader reader) {
this.set = reader.getInt();
this.filterType = reader.getInt();
this.filter = reader.getString();
}
/**
* @return the set
*/
public int getSet() {
return set;
}
/**
* @return the set
*/
public int getSet() {
return set;
}
/**
* @return the filterType
*/
public int getFilterType() {
return filterType;
}
/**
* @param set the set to set
*/
public void setSet(int set) {
this.set = set;
}
/**
* @return the filter
*/
public String getFilter() {
return filter;
}
/**
* @return the filterType
*/
public int getFilterType() {
return filterType;
}
/**
* @param set
* the set to set
*/
public void setSet(int set) {
this.set = set;
}
/**
* @param filterType the filterType to set
*/
public void setFilterType(int filterType) {
this.filterType = filterType;
}
/**
* @param filterType
* the filterType to set
*/
public void setFilterType(int filterType) {
this.filterType = filterType;
}
/**
* @return the filter
*/
public String getFilter() {
return filter;
}
/**
* @param filter
* the filter to set
*/
public void setFilter(String filter) {
this.filter = filter;
}
/**
* @param filter the filter to set
*/
public void setFilter(String filter) {
this.filter = filter;
}
}