mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-18 23:46:28 +01:00
Added appropriate comments to DiscountComposer.
This commit is contained in:
parent
34f47b74fd
commit
7a29f56fb8
@ -10,13 +10,18 @@ public class DiscountComposer extends MessageComposer
|
||||
public ServerMessage compose()
|
||||
{
|
||||
this.response.init(Outgoing.DiscountComposer);
|
||||
this.response.appendInt(100);
|
||||
this.response.appendInt(6);
|
||||
|
||||
this.response.appendInt(100); // maximum allowed to buy
|
||||
|
||||
this.response.appendInt(6); // free every x
|
||||
|
||||
this.response.appendInt(1);
|
||||
this.response.appendInt(1);
|
||||
this.response.appendInt(2);
|
||||
this.response.appendInt(40);
|
||||
this.response.appendInt(99);
|
||||
|
||||
this.response.appendInt(2); // array count for additional extras
|
||||
this.response.appendInt(40); //extra free at 40
|
||||
this.response.appendInt(99); //extra free at 99
|
||||
|
||||
return this.response;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user