more stuff

This commit is contained in:
Alex
2025-01-24 12:17:48 +00:00
parent 3eaf6887a1
commit 627d5dfe5c
3 changed files with 372 additions and 187 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ public class InventoryHelper(
try
{
if (request.Callback is not null)
request.Callback(rootItemToAdd.Upd.StackObjectsCount.Value);
request.Callback((int) (rootItemToAdd.Upd.StackObjectsCount ?? 0));
}
catch (Exception ex)
{
@@ -15,7 +15,7 @@ public record AddItemDirectRequest
public bool? FoundInRaid { get; set; }
[JsonPropertyName("callback")]
public Action<double>? Callback { get; set; }
public Action<int>? Callback { get; set; }
[JsonPropertyName("useSortingTable")]
public bool? UseSortingTable { get; set; }
File diff suppressed because it is too large Load Diff