mirror of
https://github.com/ChronosX88/mta-mono.git
synced 2024-11-22 02:02:23 +00:00
34f4eebb14
Removed Native static classes.
37 lines
1005 B
C#
37 lines
1005 B
C#
using System;
|
|
using System.Runtime.CompilerServices;
|
|
|
|
namespace MultiTheftAuto
|
|
{
|
|
public class RadarArea : Element
|
|
{
|
|
internal RadarArea()
|
|
{
|
|
}
|
|
|
|
[MethodImpl( MethodImplOptions.InternalCall )]
|
|
public extern RadarArea( float leftX, float bottomY, float sizeX, float sizeY, Color color = null, Element visibleTo = null );
|
|
|
|
[MethodImpl( MethodImplOptions.InternalCall )]
|
|
public extern Vector3 GetSize();
|
|
|
|
[MethodImpl( MethodImplOptions.InternalCall )]
|
|
public extern Color GetColor();
|
|
|
|
[MethodImpl( MethodImplOptions.InternalCall )]
|
|
public extern bool IsFlashing();
|
|
|
|
[MethodImpl( MethodImplOptions.InternalCall )]
|
|
public extern bool IsInside( float leftX, float bottomY );
|
|
|
|
[MethodImpl( MethodImplOptions.InternalCall )]
|
|
public extern bool SetSize( float sizeX, float sizeY );
|
|
|
|
[MethodImpl( MethodImplOptions.InternalCall )]
|
|
public extern bool SetColor( Color color );
|
|
|
|
[MethodImpl( MethodImplOptions.InternalCall )]
|
|
public extern bool SetFlashing( bool enabled );
|
|
}
|
|
}
|