|
|
@ -40,7 +40,7 @@ public class ItemProductionMsg extends ClientNetMsg { |
|
|
|
private int unknown01; |
|
|
|
private int unknown01; |
|
|
|
private int templateID; |
|
|
|
private int templateID; |
|
|
|
private int itemType; |
|
|
|
private int itemType; |
|
|
|
private int totalProduction; |
|
|
|
private int total_to_produce; |
|
|
|
private int unknown03; |
|
|
|
private int unknown03; |
|
|
|
private int pToken; |
|
|
|
private int pToken; |
|
|
|
private int sToken; |
|
|
|
private int sToken; |
|
|
@ -62,7 +62,7 @@ public class ItemProductionMsg extends ClientNetMsg { |
|
|
|
this.buildingUUID = 0; |
|
|
|
this.buildingUUID = 0; |
|
|
|
this.unknown01 = 0; |
|
|
|
this.unknown01 = 0; |
|
|
|
this.templateID = 0; |
|
|
|
this.templateID = 0; |
|
|
|
this.totalProduction = 0; |
|
|
|
this.total_to_produce = 0; |
|
|
|
this.unknown03 = 0; |
|
|
|
this.unknown03 = 0; |
|
|
|
this.pToken = 0; |
|
|
|
this.pToken = 0; |
|
|
|
this.sToken = 0; |
|
|
|
this.sToken = 0; |
|
|
@ -83,7 +83,7 @@ public class ItemProductionMsg extends ClientNetMsg { |
|
|
|
this.itemType = item.getObjectType().ordinal(); |
|
|
|
this.itemType = item.getObjectType().ordinal(); |
|
|
|
this.templateID = item.getObjectUUID(); |
|
|
|
this.templateID = item.getObjectUUID(); |
|
|
|
this.unknown01 = 0; |
|
|
|
this.unknown01 = 0; |
|
|
|
this.totalProduction = 0; |
|
|
|
this.total_to_produce = 0; |
|
|
|
this.unknown03 = 0; |
|
|
|
this.unknown03 = 0; |
|
|
|
this.pToken = 0; |
|
|
|
this.pToken = 0; |
|
|
|
this.sToken = 0; |
|
|
|
this.sToken = 0; |
|
|
@ -323,7 +323,7 @@ public class ItemProductionMsg extends ClientNetMsg { |
|
|
|
case ACTION_COMPLETE: |
|
|
|
case ACTION_COMPLETE: |
|
|
|
writer.putInt(this.itemType); |
|
|
|
writer.putInt(this.itemType); |
|
|
|
writer.putInt(this.templateID); |
|
|
|
writer.putInt(this.templateID); |
|
|
|
writer.putInt(this.totalProduction); |
|
|
|
writer.putInt(this.total_to_produce); |
|
|
|
writer.putInt(this.unknown03); |
|
|
|
writer.putInt(this.unknown03); |
|
|
|
writer.putInt(this.pToken); |
|
|
|
writer.putInt(this.pToken); |
|
|
|
writer.putInt(this.sToken); |
|
|
|
writer.putInt(this.sToken); |
|
|
@ -335,7 +335,7 @@ public class ItemProductionMsg extends ClientNetMsg { |
|
|
|
case ACTION_JUNK: |
|
|
|
case ACTION_JUNK: |
|
|
|
writer.putInt(this.itemType); |
|
|
|
writer.putInt(this.itemType); |
|
|
|
writer.putInt(this.templateID); |
|
|
|
writer.putInt(this.templateID); |
|
|
|
writer.putInt(this.totalProduction); |
|
|
|
writer.putInt(this.total_to_produce); |
|
|
|
writer.putInt(this.unknown03); |
|
|
|
writer.putInt(this.unknown03); |
|
|
|
writer.putInt(this.pToken); |
|
|
|
writer.putInt(this.pToken); |
|
|
|
writer.putInt(this.sToken); |
|
|
|
writer.putInt(this.sToken); |
|
|
@ -418,7 +418,7 @@ public class ItemProductionMsg extends ClientNetMsg { |
|
|
|
case ACTION_JUNK: |
|
|
|
case ACTION_JUNK: |
|
|
|
this.itemType = reader.getInt(); |
|
|
|
this.itemType = reader.getInt(); |
|
|
|
this.templateID = reader.getInt(); |
|
|
|
this.templateID = reader.getInt(); |
|
|
|
this.totalProduction = reader.getInt(); |
|
|
|
this.total_to_produce = reader.getInt(); |
|
|
|
this.unknown03 = reader.getInt(); |
|
|
|
this.unknown03 = reader.getInt(); |
|
|
|
this.pToken = reader.getInt(); |
|
|
|
this.pToken = reader.getInt(); |
|
|
|
this.sToken = reader.getInt(); |
|
|
|
this.sToken = reader.getInt(); |
|
|
@ -430,7 +430,7 @@ public class ItemProductionMsg extends ClientNetMsg { |
|
|
|
default: |
|
|
|
default: |
|
|
|
this.itemType = reader.getInt(); |
|
|
|
this.itemType = reader.getInt(); |
|
|
|
this.templateID = reader.getInt(); |
|
|
|
this.templateID = reader.getInt(); |
|
|
|
this.totalProduction = reader.getInt(); |
|
|
|
this.total_to_produce = reader.getInt(); |
|
|
|
this.unknown03 = reader.getInt(); |
|
|
|
this.unknown03 = reader.getInt(); |
|
|
|
this.pToken = reader.getInt(); |
|
|
|
this.pToken = reader.getInt(); |
|
|
|
this.sToken = reader.getInt(); |
|
|
|
this.sToken = reader.getInt(); |
|
|
@ -459,12 +459,12 @@ public class ItemProductionMsg extends ClientNetMsg { |
|
|
|
this.unknown01 = unknown01; |
|
|
|
this.unknown01 = unknown01; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public int getTotalProduction() { |
|
|
|
public int getTotal_to_produce() { |
|
|
|
return totalProduction; |
|
|
|
return total_to_produce; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void setTotalProduction(int unknown02) { |
|
|
|
public void setTotal_to_produce(int unknown02) { |
|
|
|
this.totalProduction = unknown02; |
|
|
|
this.total_to_produce = unknown02; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public int getUnknown03() { |
|
|
|
public int getUnknown03() { |
|
|
|