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,80 +17,80 @@ import engine.net.client.Protocol;
public class ToggleLfgRecruitingMsg extends ClientNetMsg {
private int sourceType;
private int sourceID;
private byte toggleLfgRecruiting;
private byte unknown01;
private int sourceType;
private int sourceID;
private byte toggleLfgRecruiting;
private byte unknown01;
/**
* This is the general purpose constructor.
*/
public ToggleLfgRecruitingMsg() {
super(Protocol.MODIFYGUILDSTATE);
}
/**
* This is the general purpose constructor.
*/
public ToggleLfgRecruitingMsg() {
super(Protocol.MODIFYGUILDSTATE);
}
/**
* 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 ToggleLfgRecruitingMsg(AbstractConnection origin, ByteBufferReader reader) {
super(Protocol.MODIFYGUILDSTATE, 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 ToggleLfgRecruitingMsg(AbstractConnection origin, ByteBufferReader reader) {
super(Protocol.MODIFYGUILDSTATE, origin, reader);
}
/**
* Serializes the subclass specific items to the supplied NetMsgWriter.
*/
@Override
protected void _serialize(ByteBufferWriter writer) {
writer.putInt(this.sourceType);
writer.putInt(this.sourceID);
writer.put(this.toggleLfgRecruiting);
writer.put(this.unknown01);
}
/**
* Serializes the subclass specific items to the supplied NetMsgWriter.
*/
@Override
protected void _serialize(ByteBufferWriter writer) {
writer.putInt(this.sourceType);
writer.putInt(this.sourceID);
writer.put(this.toggleLfgRecruiting);
writer.put(this.unknown01);
}
/**
* Deserializes the subclass specific items from the supplied NetMsgReader.
*/
@Override
protected void _deserialize(ByteBufferReader reader) {
this.sourceType = reader.getInt();
this.sourceID = reader.getInt();
this.toggleLfgRecruiting = reader.get();
this.unknown01 = reader.get();
}
/**
* Deserializes the subclass specific items from the supplied NetMsgReader.
*/
@Override
protected void _deserialize(ByteBufferReader reader) {
this.sourceType = reader.getInt();
this.sourceID = reader.getInt();
this.toggleLfgRecruiting = reader.get();
this.unknown01 = reader.get();
}
public int getSourceType() {
return this.sourceType;
}
public int getSourceType() {
return this.sourceType;
}
public int getSourceID() {
return this.sourceID;
}
public void setSourceType(int value) {
this.sourceType = value;
}
public byte toggleLfgRecruiting() {
return this.toggleLfgRecruiting;
}
public int getSourceID() {
return this.sourceID;
}
public byte getUnknown01() {
return this.unknown01;
}
public void setSourceID(int value) {
this.sourceID = value;
}
public void setSourceType(int value) {
this.sourceType = value;
}
public byte toggleLfgRecruiting() {
return this.toggleLfgRecruiting;
}
public void setSourceID(int value) {
this.sourceID = value;
}
public byte getUnknown01() {
return this.unknown01;
}
public void setToggleLfgRecruiting(byte value) {
this.toggleLfgRecruiting = value;
}
public void setUnknown01(byte value) {
this.unknown01 = value;
}
public void setUnknown01(byte value) {
this.unknown01 = value;
}
public void setToggleLfgRecruiting(byte value) {
this.toggleLfgRecruiting = value;
}
}