mirror of
https://github.com/ChronosX88/mta-mono.git
synced 2024-11-22 02:02:23 +00:00
34f4eebb14
Removed Native static classes.
56 lines
1.4 KiB
C#
56 lines
1.4 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Runtime.CompilerServices;
|
|
|
|
namespace MultiTheftAuto
|
|
{
|
|
public class Marker : Element
|
|
{
|
|
#region Constructors
|
|
|
|
internal Marker()
|
|
{
|
|
}
|
|
|
|
[MethodImpl( MethodImplOptions.InternalCall )]
|
|
public extern Marker( Vector3 position, string type = "checkpoint", float size = 4.0f, Color color = null, Element visibleTo = null );
|
|
|
|
#endregion
|
|
|
|
[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 );
|
|
}
|
|
}
|