From 99ae3147fe2154c7f1c556d93db97ad5098ec80d Mon Sep 17 00:00:00 2001
From: Cj <161484149+CJ-SPT@users.noreply.github.com>
Date: Tue, 7 Jan 2025 01:41:07 -0500
Subject: [PATCH] Repair controller
---
Core/Controllers/RepairController.cs | 35 +++++++++++++++++++++++++++-
1 file changed, 34 insertions(+), 1 deletion(-)
diff --git a/Core/Controllers/RepairController.cs b/Core/Controllers/RepairController.cs
index 633517c1..584840bc 100644
--- a/Core/Controllers/RepairController.cs
+++ b/Core/Controllers/RepairController.cs
@@ -1,6 +1,39 @@
+using Core.Models.Eft.Common;
+
namespace Core.Controllers;
public class RepairController
{
- // TODO
+ ///
+ /// Handle TraderRepair event
+ /// Repair with trader
+ ///
+ /// session id
+ /// endpoint request data
+ /// player profile
+ /// item event router action
+ public ItemEventRouterResponse TraderRepair(
+ string sessionId,
+ TraderRepairActionDataRequest body,
+ PmcData pmcData)
+ {
+ throw new NotImplementedException();
+ }
+
+ ///
+ /// Handle Repair event
+ /// Repair with repair kit
+ ///
+ /// session id
+ /// endpoint request data
+ /// player profile
+ ///
+ ///
+ public ItemEventRouterResponse RepairWithKit(
+ string sessionId,
+ RepairActionDataRequest body,
+ PmcData pmcData)
+ {
+ throw new NotImplementedException();
+ }
}
\ No newline at end of file