mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-23 00:40:51 +01:00
Updated catalog parsers to include Silver
This commit is contained in:
parent
8a717ad73f
commit
4299428465
@ -13,6 +13,7 @@ public class HOffer {
|
||||
private int priceInCredits;
|
||||
private int priceInActivityPoints;
|
||||
private int activityPointType;
|
||||
private int priceInSilver;
|
||||
private boolean giftable;
|
||||
private List<HProduct> products = new ArrayList<>();
|
||||
private int clubLevel;
|
||||
@ -28,6 +29,7 @@ public class HOffer {
|
||||
this.priceInCredits = packet.readInteger();
|
||||
this.priceInActivityPoints = packet.readInteger();
|
||||
this.activityPointType = packet.readInteger();
|
||||
this.priceInSilver = packet.readInteger();
|
||||
this.giftable = packet.readBoolean();
|
||||
|
||||
int productCount = packet.readInteger();
|
||||
@ -65,6 +67,10 @@ public class HOffer {
|
||||
return activityPointType;
|
||||
}
|
||||
|
||||
public int getPriceInSilver() {
|
||||
return priceInSilver;
|
||||
}
|
||||
|
||||
public boolean isGiftable() {
|
||||
return giftable;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user