Handler created for ViewResourcesMsg
This commit is contained in:
1 parent
fbec206389
commit
80c11db80b
8 files changed
+83
-48
No files matched your search
+3
-3
@@ -18,7 +18,7 @@ import engine.net.client.Protocol;
|
||||
import engine.objects.*;
|
||||
|
||||
|
||||
public class ViewResourcesMessage extends ClientNetMsg {
|
||||
public class ViewResourcesMsg extends ClientNetMsg {
|
||||
|
||||
//resource hashes
|
||||
//0001240F
|
||||
@@ -55,7 +55,7 @@ public class ViewResourcesMessage extends ClientNetMsg {
|
||||
* This is the general purpose constructor.
|
||||
*/
|
||||
|
||||
public ViewResourcesMessage(PlayerCharacter player) {
|
||||
public ViewResourcesMsg(PlayerCharacter player) {
|
||||
super(Protocol.VIEWRESOURCES);
|
||||
this.guild = null;
|
||||
this.player = player;
|
||||
@@ -64,7 +64,7 @@ public class ViewResourcesMessage extends ClientNetMsg {
|
||||
/**
|
||||
* 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 ViewResourcesMessage(AbstractConnection origin, ByteBufferReader reader) {
|
||||
public ViewResourcesMsg(AbstractConnection origin, ByteBufferReader reader) {
|
||||
super(Protocol.VIEWRESOURCES, origin, reader);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user