mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-17 08:25:14 -06:00
Started organizing CS2/Protocol-related functions
This commit is contained in:
parent
46740027df
commit
ef6a5d7385
268 changed files with 5936 additions and 6093 deletions
|
|
@ -9,19 +9,19 @@ public final class StockMarketOffer {
|
|||
private byte aByte17;
|
||||
|
||||
@OriginalMember(owner = "client!sg", name = "f", descriptor = "I")
|
||||
public int anInt5089;
|
||||
public int completedCount;
|
||||
|
||||
@OriginalMember(owner = "client!sg", name = "g", descriptor = "I")
|
||||
public int anInt5090;
|
||||
public int count;
|
||||
|
||||
@OriginalMember(owner = "client!sg", name = "j", descriptor = "I")
|
||||
public int anInt5092;
|
||||
public int completedGold;
|
||||
|
||||
@OriginalMember(owner = "client!sg", name = "m", descriptor = "I")
|
||||
public int anInt5094;
|
||||
public int item;
|
||||
|
||||
@OriginalMember(owner = "client!sg", name = "s", descriptor = "I")
|
||||
public int anInt5099;
|
||||
public int price;
|
||||
|
||||
@OriginalMember(owner = "client!sg", name = "<init>", descriptor = "()V")
|
||||
public StockMarketOffer() {
|
||||
|
|
@ -30,20 +30,20 @@ public final class StockMarketOffer {
|
|||
@OriginalMember(owner = "client!sg", name = "<init>", descriptor = "(Lclient!wa;)V")
|
||||
public StockMarketOffer(@OriginalArg(0) Buffer arg0) {
|
||||
this.aByte17 = arg0.g1s();
|
||||
this.anInt5094 = arg0.g2();
|
||||
this.anInt5099 = arg0.g4();
|
||||
this.anInt5090 = arg0.g4();
|
||||
this.anInt5089 = arg0.g4();
|
||||
this.anInt5092 = arg0.g4();
|
||||
this.item = arg0.g2();
|
||||
this.price = arg0.g4();
|
||||
this.count = arg0.g4();
|
||||
this.completedCount = arg0.g4();
|
||||
this.completedGold = arg0.g4();
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!sg", name = "a", descriptor = "(Z)I")
|
||||
public final int method3904() {
|
||||
public final int getStatus() {
|
||||
return this.aByte17 & 0x7;
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!sg", name = "b", descriptor = "(B)I")
|
||||
public final int method3905() {
|
||||
public final int getType() {
|
||||
return (this.aByte17 & 0x8) == 8 ? 1 : 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue