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,58 +18,58 @@ import engine.objects.AbstractWorldObject;
public class ChatGroupMsg extends AbstractChatMsg {
/**
* This is the general purpose constructor.
*/
public ChatGroupMsg(AbstractWorldObject source, String message) {
super(Protocol.CHATGROUP, source, message);
}
/**
* This is the general purpose constructor.
*/
public ChatGroupMsg(AbstractWorldObject source, String message) {
super(Protocol.CHATGROUP, source, message);
}
/**
* 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 ChatGroupMsg(AbstractConnection origin, ByteBufferReader reader) {
super(Protocol.CHATGROUP, 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 ChatGroupMsg(AbstractConnection origin, ByteBufferReader reader) {
super(Protocol.CHATGROUP, origin, reader);
}
/**
* Copy constructor
*/
public ChatGroupMsg(ChatGroupMsg msg) {
super(msg);
}
/**
* Copy constructor
*/
public ChatGroupMsg(ChatGroupMsg msg) {
super(msg);
}
/**
* Deserializes the subclass specific items from the supplied ByteBufferReader.
*/
@Override
protected void _deserialize(ByteBufferReader reader) {
this.sourceType = reader.getInt();
this.sourceID = reader.getInt();
this.unknown01 = reader.getInt();
/**
* Deserializes the subclass specific items from the supplied ByteBufferReader.
*/
@Override
protected void _deserialize(ByteBufferReader reader) {
this.sourceType = reader.getInt();
this.sourceID = reader.getInt();
this.unknown01 = reader.getInt();
this.message = reader.getString();
this.sourceName = reader.getString();
this.message = reader.getString();
this.sourceName = reader.getString();
this.unknown02 = reader.getInt();
}
this.unknown02 = reader.getInt();
}
/**
* Serializes the subclass specific items to the supplied ByteBufferWriter.
*/
@Override
protected void _serialize(ByteBufferWriter writer) {
writer.putInt(this.sourceType);
writer.putInt(this.sourceID);
writer.putInt(this.unknown01);
/**
* Serializes the subclass specific items to the supplied ByteBufferWriter.
*/
@Override
protected void _serialize(ByteBufferWriter writer) {
writer.putInt(this.sourceType);
writer.putInt(this.sourceID);
writer.putInt(this.unknown01);
writer.putString(this.message);
writer.putString(this.sourceName);
writer.putString(this.message);
writer.putString(this.sourceName);
writer.putInt(this.unknown02);
}
writer.putInt(this.unknown02);
}
}