generating order changed

This commit is contained in:
2025-06-30 00:09:30 +03:00
parent 0958ba20ee
commit c14f0498a8
8 changed files with 43 additions and 14 deletions
@@ -0,0 +1,18 @@
using System;
namespace mROA.Implementation.Attributes
{
public class ApiLevelAttribute : Attribute
{
public int ApiLevel { get; set; }
public ApiLevelAttribute(int level)
{
ApiLevel = level;
}
public ApiLevelAttribute() : this(0)
{
}
}
}
+16
View File
@@ -0,0 +1,16 @@
using System.Collections.Generic;
namespace mROA.Implementation
{
public class CallIndexConfig : List<IndexSpan>
{
}
public class IndexSpan
{
public string Identifier { get; set; }
public int ApiLevel { get; set; }
public int Offset { get; set; }
public int Length { get; set; }
}
}
+3
View File
@@ -7,9 +7,12 @@ namespace mROA.Implementation
{
public IInstanceRepository RealRepository { get; set; }
public IInstanceRepository RemoteRepository { get; set; }
public ICallIndexProvider CallIndexProvider { get; }
public CallIndexConfig CallIndexConfig { get; set; }
public int HostId { get; set; }
public int OwnerId { get; set; }
public void Inject<T>(T dependency)
{
+1 -1
View File
@@ -3,7 +3,7 @@ namespace mROA.Implementation
public class IdAssignment : INetworkMessage
{
public int Id { get; set; }
public CallIndexConfig IndexConfig { get; set; }
public EMessageType MessageType => EMessageType.IdAssigning;
}