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 GetBlocks(MyObjectBuilderType type); IEnumerable GetAllFunctionalBlocks(); bool Contains(MyObjectBuilderType type); } }