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
@@ -18,61 +18,60 @@ import engine.net.client.msg.ClientNetMsg;
public class SwearInGuildMsg extends ClientNetMsg {
private int guildType;
private int guildUUID;
private int guildType;
private int guildUUID;
private String message;
private String message;
/**
* This is the general purpose constructor.
*/
public SwearInGuildMsg() {
super(Protocol.SWEARINGUILD);
}
/**
* This is the general purpose constructor.
*/
public SwearInGuildMsg() {
super(Protocol.SWEARINGUILD);
}
/**
* 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 SwearInGuildMsg(AbstractConnection origin, ByteBufferReader reader)
{
super(Protocol.SWEARINGUILD, 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 SwearInGuildMsg(AbstractConnection origin, ByteBufferReader reader) {
super(Protocol.SWEARINGUILD, origin, reader);
}
/**
* Serializes the subclass specific items to the supplied ByteBufferWriter.
*/
@Override
protected void _serialize(ByteBufferWriter writer) {
/**
* Serializes the subclass specific items to the supplied ByteBufferWriter.
*/
@Override
protected void _serialize(ByteBufferWriter writer) {
}
}
/**
* Deserializes the subclass specific items from the supplied ByteBufferReader.
*/
@Override
protected void _deserialize(ByteBufferReader reader) {
this.guildType = reader.getInt();
this.guildUUID = reader.getInt();
reader.getInt();
this.message = reader.getString();
}
/**
* Deserializes the subclass specific items from the supplied ByteBufferReader.
*/
@Override
protected void _deserialize(ByteBufferReader reader) {
/**
* @return the targetType
*/
this.guildType = reader.getInt();
this.guildUUID = reader.getInt();
reader.getInt();
this.message = reader.getString();
}
public String getMessage() {
return message;
}
/**
* @return the targetType
*/
public void setMessage(String message) {
this.message = message;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public int getGuildUUID() {
return guildUUID;
}
public int getGuildUUID() {
return guildUUID;
}
}