Some notes about the returned values from the API:
In some cases (not all, it seems), the data returned is in an inconsistent format.
Some portion of the data will take the form (when viewing the saved info):
{
true,
nil,
nil,
true,
}
while the rest will appear as:
{
[12345] = true,
[12857] = true,
[2345] = true,
[87432] = true,
}
In the first, you will have both "true" and "nil" as values and the keys (questids) are sequential. In the second, the keys are random and the value will always be true. It's easy to handle, but it helps to know it's there.
|