mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-27 00:40:52 +01:00
Update ModToolSanctionInfoComposer.java
This commit is contained in:
parent
3bc3682771
commit
f1e3a3126a
@ -59,13 +59,13 @@ public class ModToolSanctionInfoComposer extends MessageComposer {
|
|||||||
this.response.appendBoolean(item.probationTimestamp >= Emulator.getIntUnixTimestamp()); // is on probation
|
this.response.appendBoolean(item.probationTimestamp >= Emulator.getIntUnixTimestamp()); // is on probation
|
||||||
this.response.appendString(modToolSanctions.getSanctionType(modToolSanctionLevelItem)); // current sanction type
|
this.response.appendString(modToolSanctions.getSanctionType(modToolSanctionLevelItem)); // current sanction type
|
||||||
this.response.appendInt(modToolSanctions.getTimeOfSanction(modToolSanctionLevelItem)); // time of current sanction
|
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(item.reason.equals("") ? "cfh.reason.EMPTY" : item.reason); // reason
|
||||||
this.response.appendString(probationStartTime == null ? Emulator.getDate().toString() : probationStartTime.toString()); // probation start time
|
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.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(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.appendBoolean(item.isMuted); // muted
|
||||||
this.response.appendString(tradeLockedUntil == null ? "" : tradeLockedUntil.toString()); // trade locked until
|
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.appendBoolean(false); // is on probation
|
||||||
this.response.appendString("ALERT"); // last sanction type
|
this.response.appendString("ALERT"); // last sanction type
|
||||||
this.response.appendInt(0); // time of current sanction
|
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("cfh.reason.EMPTY"); // reason
|
||||||
this.response.appendString(Emulator.getDate().toString()); // probation start time
|
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.appendString("ALERT"); // next sanction type
|
||||||
this.response.appendInt(0); // time to be applied in next sanction (in hours)
|
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.appendBoolean(false); // muted
|
||||||
this.response.appendString(""); // trade locked until
|
this.response.appendString(""); // trade locked until
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user