forked from MagicBane/Server
Project cleanup pre merge.
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
// www.magicbane.com
|
||||
|
||||
|
||||
|
||||
package engine.net.client.msg.guild;
|
||||
|
||||
|
||||
@@ -19,43 +18,42 @@ import engine.net.client.msg.ClientNetMsg;
|
||||
|
||||
public class BreakFealtyMsg extends ClientNetMsg {
|
||||
|
||||
private int guildUUID;
|
||||
private int guildUUID;
|
||||
|
||||
/**
|
||||
* This is the general purpose constructor.
|
||||
*/
|
||||
public BreakFealtyMsg() {
|
||||
super(Protocol.BREAKFEALTY);
|
||||
}
|
||||
/**
|
||||
* This is the general purpose constructor.
|
||||
*/
|
||||
public BreakFealtyMsg() {
|
||||
super(Protocol.BREAKFEALTY);
|
||||
}
|
||||
|
||||
/**
|
||||
* 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 BreakFealtyMsg(AbstractConnection origin, ByteBufferReader reader)
|
||||
{
|
||||
super(Protocol.BREAKFEALTY, 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 BreakFealtyMsg(AbstractConnection origin, ByteBufferReader reader) {
|
||||
super(Protocol.BREAKFEALTY, 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) {
|
||||
reader.getInt(); // Object Type Padding
|
||||
this.guildUUID = reader.getInt();
|
||||
reader.getInt();
|
||||
}
|
||||
/**
|
||||
* Deserializes the subclass specific items from the supplied ByteBufferReader.
|
||||
*/
|
||||
@Override
|
||||
protected void _deserialize(ByteBufferReader reader) {
|
||||
reader.getInt(); // Object Type Padding
|
||||
this.guildUUID = reader.getInt();
|
||||
reader.getInt();
|
||||
}
|
||||
|
||||
public int getGuildUUID() {
|
||||
return guildUUID;
|
||||
}
|
||||
public int getGuildUUID() {
|
||||
return guildUUID;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user