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

41
Ingame/IMySensorBlock.cs Normal file
View File

@@ -0,0 +1,41 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VRage.ModAPI;
namespace Sandbox.ModAPI.Ingame
{
public interface IMySensorBlock : IMyFunctionalBlock
{
/// <summary>
/// Param - active
/// </summary>
float MaxRange { get; }
float LeftExtend { get; }
float RightExtend { get; }
float TopExtend { get; }
float BottomExtend { get; }
float FrontExtend { get; }
float BackExtend { get; }
bool PlayProximitySound { get; }
bool DetectPlayers { get; }
bool DetectFloatingObjects { get; }
bool DetectSmallShips { get; }
bool DetectLargeShips { get; }
bool DetectStations { get; }
bool DetectSubgrids { get; }
bool DetectAsteroids { get; }
bool DetectOwner { get; }
bool DetectFriendly { get; }
bool DetectNeutral { get; }
bool DetectEnemy { get; }
bool IsActive { get; }
MyDetectedEntityInfo LastDetectedEntity { get; }
void DetectedEntities(List<MyDetectedEntityInfo> entities);
}
}