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

This commit is contained in:
micialware committed 2025-01-13 15:03:03 +03:00
1 parent ca045890e7
commit 2f1a1e250b
6 files changed
+23 -19

No files matched your search

+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;