Files
space-engineers/Ingame/IMyLaserAntenna.cs
2022-05-18 19:57:23 +03:00

44 lines
1015 B
C#
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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; }
}
}