mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 09:50:43 -05:00
- Reads service list from server - Properly calculates cost of taxi and delivery service - Only allows sending items to stash once per raid - Enable service debug commands `debug_show_dialog_screen` and `btr_deliver_items` (Only usable in raid) - Implements delivery of items via the BTR to stash Does not currently implement usage of taxi service Requires server PR: SPT-AKI/Server#187 Opening a PR at this point because the next processes can be built on top of this as separate tasks, and this is at a good usable state Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com> Reviewed-on: SPT-AKI/Modules#53 Co-authored-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com> Co-committed-by: DrakiaXYZ <drakiaxyz@noreply.dev.sp-tarkov.com>
19 lines
463 B
C#
19 lines
463 B
C#
using EFT;
|
|
using Newtonsoft.Json;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Aki.Debugging.BTR.Models
|
|
{
|
|
public class TraderServiceModel
|
|
{
|
|
[JsonProperty("serviceType")]
|
|
public ETraderServiceType ServiceType { get; set; }
|
|
|
|
[JsonProperty("itemsToPay")]
|
|
public Dictionary<string, int> ItemsToPay { get; set; }
|
|
|
|
[JsonProperty("subServices")]
|
|
public Dictionary<string, int> SubServices { get; set; }
|
|
}
|
|
}
|