Update ModToolSanctionInfoComposer.java

This commit is contained in:
David Silva 2020-01-21 09:25:55 -05:00
parent 3bc3682771
commit f1e3a3126a

View File

@ -59,13 +59,13 @@ public class ModToolSanctionInfoComposer extends MessageComposer {
this.response.appendBoolean(item.probationTimestamp >= Emulator.getIntUnixTimestamp()); // is on probation
this.response.appendString(modToolSanctions.getSanctionType(modToolSanctionLevelItem)); // current sanction type
this.response.appendInt(modToolSanctions.getTimeOfSanction(modToolSanctionLevelItem)); // time of current sanction
this.response.appendInt(30); // unused?
this.response.appendInt(30); // TODO: unused?
this.response.appendString(item.reason.equals("") ? "cfh.reason.EMPTY" : item.reason); // reason
this.response.appendString(probationStartTime == null ? Emulator.getDate().toString() : probationStartTime.toString()); // probation start time
this.response.appendInt(0); // unused?
this.response.appendInt(0); // TODO: unused?
this.response.appendString(modToolSanctions.getSanctionType(nextModToolSanctionLevelItem)); // next sanction type
this.response.appendInt(modToolSanctions.getTimeOfSanction(nextModToolSanctionLevelItem)); // time to be applied in next sanction (in hours)
this.response.appendInt(30); // unused?
this.response.appendInt(30); // TODO: unused?
this.response.appendBoolean(item.isMuted); // muted
this.response.appendString(tradeLockedUntil == null ? "" : tradeLockedUntil.toString()); // trade locked until
@ -76,13 +76,13 @@ public class ModToolSanctionInfoComposer extends MessageComposer {
this.response.appendBoolean(false); // is on probation
this.response.appendString("ALERT"); // last sanction type
this.response.appendInt(0); // time of current sanction
this.response.appendInt(30); // unused?
this.response.appendInt(30); // TODO: unused?
this.response.appendString("cfh.reason.EMPTY"); // reason
this.response.appendString(Emulator.getDate().toString()); // probation start time
this.response.appendInt(0); // unused?
this.response.appendInt(0); // TODO: unused?
this.response.appendString("ALERT"); // next sanction type
this.response.appendInt(0); // time to be applied in next sanction (in hours)
this.response.appendInt(30); // unused?
this.response.appendInt(30); // TODO: unused?
this.response.appendBoolean(false); // muted
this.response.appendString(""); // trade locked until