mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-22 16:30:51 +01:00
Merge pull request #177 from WiredSpast/master
Updated catalog parsers to include Silver
This commit is contained in:
commit
ef18ff1fd0
@ -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