все рабоатет вроде

This commit is contained in:
2025-01-13 15:03:03 +03:00
parent ca045890e7
commit 2f1a1e250b
6 changed files with 23 additions and 19 deletions
+9 -5
View File
@@ -4,13 +4,17 @@ public interface ICallRequest
{
int CommandId { get; }
int ClientId { get; }
public int ObjectId { get; }
public object Parameter { get; }
int ObjectId { get; }
object Parameter { get; }
}
public class JsonCallRequest : ICallRequest
{
public int CommandId { get; set; }
public int ClientId { get; set; }
public int ObjectId { get; set; } = -1;
public object Parameter { get; set; }
}
public struct HardCallRequest : ICallRequest
{
public int CommandId => Command;