mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2026-08-17 08:25:14 -06:00
Moved source to rt4 package so external code can depend on it
This commit is contained in:
parent
dc6deb9151
commit
153d8569b5
624 changed files with 1253 additions and 7 deletions
|
|
@ -1,49 +0,0 @@
|
|||
import org.openrs2.deob.annotation.OriginalArg;
|
||||
import org.openrs2.deob.annotation.OriginalClass;
|
||||
import org.openrs2.deob.annotation.OriginalMember;
|
||||
|
||||
@OriginalClass("client!sg")
|
||||
public final class StockMarketOffer {
|
||||
|
||||
@OriginalMember(owner = "client!sg", name = "a", descriptor = "B")
|
||||
private byte aByte17;
|
||||
|
||||
@OriginalMember(owner = "client!sg", name = "f", descriptor = "I")
|
||||
public int completedCount;
|
||||
|
||||
@OriginalMember(owner = "client!sg", name = "g", descriptor = "I")
|
||||
public int count;
|
||||
|
||||
@OriginalMember(owner = "client!sg", name = "j", descriptor = "I")
|
||||
public int completedGold;
|
||||
|
||||
@OriginalMember(owner = "client!sg", name = "m", descriptor = "I")
|
||||
public int item;
|
||||
|
||||
@OriginalMember(owner = "client!sg", name = "s", descriptor = "I")
|
||||
public int price;
|
||||
|
||||
@OriginalMember(owner = "client!sg", name = "<init>", descriptor = "()V")
|
||||
public StockMarketOffer() {
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!sg", name = "<init>", descriptor = "(Lclient!wa;)V")
|
||||
public StockMarketOffer(@OriginalArg(0) Buffer arg0) {
|
||||
this.aByte17 = arg0.g1s();
|
||||
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 getStatus() {
|
||||
return this.aByte17 & 0x7;
|
||||
}
|
||||
|
||||
@OriginalMember(owner = "client!sg", name = "b", descriptor = "(B)I")
|
||||
public final int getType() {
|
||||
return (this.aByte17 & 0x8) == 8 ? 1 : 0;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue