Files
QuartZ-dump/GlobalShared/API/IGridData.cs
2024-12-29 21:15:58 +01:00

26 lines
624 B
C#

using System.Collections.Generic;
using Global.Shared.OcTree.Data;
using Sandbox.Game.Entities;
using Sandbox.Game.Entities.Cube;
using VRage.ObjectBuilders;
using VRageMath;
namespace Global.Shared.API
{
public interface IGridData : IOcTreeData
{
long Id { get; }
BoundingBoxD BoundingBox { get; }
MyCubeGrid CubeGrid { get; }
bool IsInVoxel { get; }
int BlockCount { get; }
IEnumerable<MyCubeBlock> GetBlocks(MyObjectBuilderType type);
IEnumerable<MyFunctionalBlock> GetAllFunctionalBlocks();
bool Contains(MyObjectBuilderType type);
}
}