private String readCombatLogName(int idx) { return combatLogNames.hasIndex(idx) ? combatLogNames.getNameByIndex(idx) : null; }
private String readCombatLogName(int idx) { return combatLogNames.hasIndex(idx) ? combatLogNames.getNameByIndex(idx) : null; }
protected void setSingleEntry(StringTable table, int mode, int index, String name, ByteString value) { if (name.isEmpty() && table.hasIndex(index)) { // With console recorded replays, the replay sometimes has no name entry, // and supposedly expects us to use the one that is existing // see: https://github.com/skadistats/clarity/issues/147#issuecomment-409619763 // and Slack communication with Lukas // reuse the old key, and see if that works name = table.getNameByIndex(index); } table.set(mode, index, name, value); raise(table, index, name, value); }
protected void setSingleEntry(StringTable table, int mode, int index, String name, ByteString value) { if (name.isEmpty() && table.hasIndex(index)) { // With console recorded replays, the replay sometimes has no name entry, // and supposedly expects us to use the one that is existing // see: https://github.com/skadistats/clarity/issues/147#issuecomment-409619763 // and Slack communication with Lukas // reuse the old key, and see if that works name = table.getNameByIndex(index); } table.set(mode, index, name, value); raise(table, index, name, value); }