19 lines
465 B
C#
19 lines
465 B
C#
using System.Collections.Generic;
|
|
using Vintagestory.API.MathTools;
|
|
|
|
namespace ClaimLink;
|
|
|
|
public static class ClaimLinkApi
|
|
{
|
|
public static IReadOnlyDictionary<int, List<Cuboidi>> BufferMap
|
|
{
|
|
get
|
|
{
|
|
Dictionary<int, List<Cuboidi>> result = new();
|
|
foreach (int groupId in ClaimLinkModSystem.Registry.All)
|
|
result[groupId] = ClaimLinkBuffer.GetBuffer(groupId);
|
|
return result;
|
|
}
|
|
}
|
|
}
|