26 lines
624 B
C#
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);
|
|
}
|
|
} |