mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 22:30:45 +00:00
AMF3 Dictionary weakKeys attribute to String
This commit is contained in:
@@ -218,6 +218,7 @@ public class AMF3Tools {
|
||||
ret.append("{\r\n");
|
||||
ret.append(indent(level + 1)).append("\"type\": \"Dictionary\",\r\n");
|
||||
ret.append(addId);
|
||||
ret.append(indent(level + 1)).append("\"weakKeys\": " + dt.hasWeakKeys() + ",\r\n");
|
||||
ret.append(indent(level + 1)).append("\"value\": {\r\n");
|
||||
for (int i = 0; i < dt.getPairs().size(); i++) {
|
||||
Pair<Object, Object> pair = dt.getPairs().get(i);
|
||||
|
||||
@@ -35,4 +35,8 @@ public class DictionaryType implements WithSubValues {
|
||||
return AMF3Tools.amfToString(this);
|
||||
}
|
||||
|
||||
public boolean hasWeakKeys() {
|
||||
return weakKeys;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user