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

43
Ingame/IMyLaserAntenna.cs Normal file
View File

@@ -0,0 +1,43 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VRageMath;
namespace Sandbox.ModAPI.Ingame
{
/// <summary>
/// Laser antenna block interface
/// </summary>
public interface IMyLaserAntenna : IMyFunctionalBlock
{
/// <summary>
/// get target coordinates
/// </summary>
Vector3D TargetCoords
{
get;
}
/// <summary>
/// Set coordinates of target
/// </summary>
/// <param name="coords">GPS coordinates string</param>
void SetTargetCoords(string coords);
/// <summary>
/// Connect to target defined by SetTargetCoords
/// </summary>
void Connect();
/// <summary>
/// Connection is permanent
/// </summary>
bool IsPermanent { get; }
/// <summary>
/// Target is outside movement limits of antenna
/// </summary>
bool IsOutsideLimits { get; }
}
}