generating order changed
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user