2015-12-12 10:10:23 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
2016-01-06 22:01:37 +00:00
|
|
|
|
using System.Runtime.CompilerServices;
|
2015-12-12 10:10:23 +00:00
|
|
|
|
|
|
|
|
|
namespace MultiTheftAuto
|
|
|
|
|
{
|
|
|
|
|
public class Marker : Element
|
|
|
|
|
{
|
|
|
|
|
#region Constructors
|
|
|
|
|
|
2016-01-06 22:01:37 +00:00
|
|
|
|
internal Marker()
|
2015-12-12 10:10:23 +00:00
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
2016-01-06 22:01:37 +00:00
|
|
|
|
[MethodImpl( MethodImplOptions.InternalCall )]
|
|
|
|
|
public extern Marker( Vector3 position, string type = "checkpoint", float size = 4.0f, Color color = null, Element visibleTo = null );
|
|
|
|
|
|
2015-12-12 10:10:23 +00:00
|
|
|
|
#endregion
|
2016-01-06 22:01:37 +00:00
|
|
|
|
|
|
|
|
|
[MethodImpl( MethodImplOptions.InternalCall )]
|
|
|
|
|
public extern int GetCount();
|
|
|
|
|
|
|
|
|
|
[MethodImpl( MethodImplOptions.InternalCall )]
|
|
|
|
|
public extern string GetMarkerType();
|
|
|
|
|
|
|
|
|
|
[MethodImpl( MethodImplOptions.InternalCall )]
|
|
|
|
|
public extern float GetSize();
|
|
|
|
|
|
|
|
|
|
[MethodImpl( MethodImplOptions.InternalCall )]
|
|
|
|
|
public extern Color GetColor();
|
|
|
|
|
|
|
|
|
|
[MethodImpl( MethodImplOptions.InternalCall )]
|
|
|
|
|
public extern Vector3 GetTarget();
|
|
|
|
|
|
|
|
|
|
[MethodImpl( MethodImplOptions.InternalCall )]
|
|
|
|
|
public extern string GetIcon();
|
|
|
|
|
|
|
|
|
|
[MethodImpl( MethodImplOptions.InternalCall )]
|
|
|
|
|
public extern bool SetType( string type );
|
|
|
|
|
|
|
|
|
|
[MethodImpl( MethodImplOptions.InternalCall )]
|
|
|
|
|
public extern bool SetSize( float size );
|
|
|
|
|
|
|
|
|
|
[MethodImpl( MethodImplOptions.InternalCall )]
|
|
|
|
|
public extern bool SetColor( Color color );
|
|
|
|
|
|
|
|
|
|
[MethodImpl( MethodImplOptions.InternalCall )]
|
|
|
|
|
public extern bool SetTarget( Vector3 position );
|
|
|
|
|
|
|
|
|
|
[MethodImpl( MethodImplOptions.InternalCall )]
|
|
|
|
|
public extern bool SetIcon( string icon );
|
2015-12-12 10:10:23 +00:00
|
|
|
|
}
|
|
|
|
|
}
|