Compare commits
No commits in common. "192ddb67d970ef9a965d4da7864db5414d0ac93d" and "344f58286d4a9e8071c723e41eecada8e5c0d735" have entirely different histories.
192ddb67d9
...
344f58286d
Binary file not shown.
BIN
ArmaRAMDb_x64.so
BIN
ArmaRAMDb_x64.so
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -69,10 +69,6 @@ namespace ArmaRAMDb
|
||||
{
|
||||
int start = int.Parse(startIndex);
|
||||
int end = int.Parse(endIndex);
|
||||
|
||||
if (end == -1)
|
||||
end = list.Count - 1;
|
||||
|
||||
start = Math.Max(0, start);
|
||||
end = Math.Min(list.Count - 1, end);
|
||||
|
||||
@ -84,18 +80,8 @@ namespace ArmaRAMDb
|
||||
Main.Log($"ListRange: {listName} - StartIndex: {start} - EndIndex: {end} - Count: {count}", "debug");
|
||||
Utils.CheckByteCount(uniqueId, $"[{data}]", function, entity, Convert.ToBoolean(call), bufferSize);
|
||||
}
|
||||
else
|
||||
{
|
||||
Main.Log($"ListRange: {listName} - Invalid range or empty result", "debug");
|
||||
Utils.CheckByteCount(uniqueId, "[]", function, entity, Convert.ToBoolean(call), bufferSize);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Main.Log($"ListRange: {listName} - List not found", "debug");
|
||||
Utils.CheckByteCount(uniqueId, "[]", function, entity, Convert.ToBoolean(call), bufferSize);
|
||||
}
|
||||
}
|
||||
|
||||
public static async Task ListSetAsync(string listName, string index, string value)
|
||||
|
Loading…
x
Reference in New Issue
Block a user