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,55 +17,54 @@ import engine.net.client.Protocol;
public class RequestEnterWorldMsg extends ClientNetMsg {
private byte pad;
private byte pad;
/**
* This is the general purpose constructor.
*/
public RequestEnterWorldMsg() {
super(Protocol.ENTERWORLD);
this.pad = 0x00;
}
/**
* This is the general purpose constructor.
*/
public RequestEnterWorldMsg() {
super(Protocol.ENTERWORLD);
this.pad = 0x00;
}
/**
* 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 RequestEnterWorldMsg(AbstractConnection origin, ByteBufferReader reader) {
super(Protocol.ENTERWORLD, 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 RequestEnterWorldMsg(AbstractConnection origin, ByteBufferReader reader) {
super(Protocol.ENTERWORLD, origin, reader);
}
/**
* Serializes the subclass specific items to the supplied NetMsgWriter.
*/
@Override
protected void _serialize(ByteBufferWriter writer) {
writer.put(this.pad);
}
/**
* Serializes the subclass specific items to the supplied NetMsgWriter.
*/
@Override
protected void _serialize(ByteBufferWriter writer) {
writer.put(this.pad);
}
/**
* Deserializes the subclass specific items from the supplied NetMsgReader.
*/
@Override
protected void _deserialize(ByteBufferReader reader) {
this.pad = reader.get();
}
/**
* Deserializes the subclass specific items from the supplied NetMsgReader.
*/
@Override
protected void _deserialize(ByteBufferReader reader) {
this.pad = reader.get();
}
/**
* @return the pad
*/
public byte getPad() {
return pad;
}
/**
* @return the pad
*/
public byte getPad() {
return pad;
}
/**
* @param pad
* the pad to set
*/
public void setPad(byte pad) {
this.pad = pad;
}
/**
* @param pad the pad to set
*/
public void setPad(byte pad) {
this.pad = pad;
}
}