forked from MagicBane/Server
Project cleanup pre merge.
This commit is contained in:
@@ -19,43 +19,42 @@ import engine.objects.Mob;
|
||||
public class RotateObjectMsg extends ClientNetMsg {
|
||||
|
||||
|
||||
/**
|
||||
* This is the general purpose constructor.
|
||||
*/
|
||||
public RotateObjectMsg(int type, Mob pet) {
|
||||
super(Protocol.ROTATEMSG);
|
||||
|
||||
/**
|
||||
* This is the general purpose constructor.
|
||||
*/
|
||||
public RotateObjectMsg(int type, Mob pet) {
|
||||
super(Protocol.ROTATEMSG);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 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 RotateObjectMsg(AbstractConnection origin, ByteBufferReader reader) {
|
||||
super(Protocol.ROTATEMSG, 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 RotateObjectMsg(AbstractConnection origin, ByteBufferReader reader) {
|
||||
super(Protocol.ROTATEMSG, origin, reader);
|
||||
}
|
||||
|
||||
/**
|
||||
* Serializes the subclass specific items to the supplied NetMsgWriter.
|
||||
*/
|
||||
@Override
|
||||
protected void _serialize(ByteBufferWriter writer) {
|
||||
|
||||
}
|
||||
/**
|
||||
* Serializes the subclass specific items to the supplied NetMsgWriter.
|
||||
*/
|
||||
@Override
|
||||
protected void _serialize(ByteBufferWriter writer) {
|
||||
|
||||
/**
|
||||
* Deserializes the subclass specific items from the supplied NetMsgReader.
|
||||
*/
|
||||
@Override
|
||||
protected void _deserialize(ByteBufferReader reader) {
|
||||
reader.getInt();
|
||||
reader.getInt();
|
||||
reader.getFloat();
|
||||
reader.getFloat();
|
||||
reader.getFloat();
|
||||
reader.getInt();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Deserializes the subclass specific items from the supplied NetMsgReader.
|
||||
*/
|
||||
@Override
|
||||
protected void _deserialize(ByteBufferReader reader) {
|
||||
reader.getInt();
|
||||
reader.getInt();
|
||||
reader.getFloat();
|
||||
reader.getFloat();
|
||||
reader.getFloat();
|
||||
reader.getInt();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user