mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-26 18:30:52 +01:00
getters & ispet
This commit is contained in:
parent
d23701a3ca
commit
e94db6c85c
@ -32,4 +32,36 @@ public class HFrontPageItem {
|
||||
|
||||
this.expirationTime = packet.readInteger();
|
||||
}
|
||||
|
||||
public int getPosition() {
|
||||
return position;
|
||||
}
|
||||
|
||||
public String getItemName() {
|
||||
return itemName;
|
||||
}
|
||||
|
||||
public String getItemPromoImage() {
|
||||
return itemPromoImage;
|
||||
}
|
||||
|
||||
public int getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public String getCataloguePageLocation() {
|
||||
return cataloguePageLocation;
|
||||
}
|
||||
|
||||
public int getProductOfferId() {
|
||||
return productOfferId;
|
||||
}
|
||||
|
||||
public String getProductCode() {
|
||||
return productCode;
|
||||
}
|
||||
|
||||
public int getExpirationTime() {
|
||||
return expirationTime;
|
||||
}
|
||||
}
|
||||
|
@ -17,7 +17,7 @@ public class HOffer {
|
||||
private List<HProduct> products = new ArrayList<>();
|
||||
private int clubLevel;
|
||||
private boolean bundlePurchaseAllowed;
|
||||
private boolean unused;
|
||||
private boolean isPet;
|
||||
private String previewImage;
|
||||
|
||||
|
||||
@ -37,7 +37,7 @@ public class HOffer {
|
||||
|
||||
this.clubLevel = packet.readInteger();
|
||||
this.bundlePurchaseAllowed = packet.readBoolean();
|
||||
this.unused = packet.readBoolean();
|
||||
this.isPet = packet.readBoolean();
|
||||
this.previewImage = packet.readString();
|
||||
}
|
||||
|
||||
@ -81,8 +81,8 @@ public class HOffer {
|
||||
return bundlePurchaseAllowed;
|
||||
}
|
||||
|
||||
public boolean isUnused() {
|
||||
return unused;
|
||||
public boolean isPet() {
|
||||
return isPet;
|
||||
}
|
||||
|
||||
public String getPreviewImage() {
|
||||
|
Loading…
Reference in New Issue
Block a user