This commit is contained in:
2022-05-18 19:57:23 +03:00
commit 0ad135ca0f
73 changed files with 2282 additions and 0 deletions

17
Ingame/IMyBlockGroup.cs Normal file
View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sandbox.ModAPI;
namespace Sandbox.ModAPI.Ingame
{
public interface IMyBlockGroup
{
void GetBlocks(List<IMyTerminalBlock> blocks, Func<IMyTerminalBlock, bool> collect = null);
void GetBlocksOfType<T>(List<IMyTerminalBlock> blocks, Func<IMyTerminalBlock, bool> collect = null) where T : class;
void GetBlocksOfType<T>(List<T> blocks, Func<T, bool> collect = null) where T : class;
string Name { get;}
}
}