Class Blip
Blip element
A blip is an icon that shows up on the F11 map, and the radar.
Assembly: SlipeServer.Server.dll
Syntax
public class Blip : Element
Constructors
|
Edit this page
View Source
Blip(Vector3, BlipIcon, ushort, short)
Declaration
public Blip(Vector3 position, BlipIcon icon, ushort visibleDistance = 16000, short ordering = 0)
Parameters
Properties
|
Edit this page
View Source
Color
Declaration
public Color Color { get; set; }
Property Value
|
Edit this page
View Source
ElementType
The element type as per MTA's specifications. Multiple C# types can share the same MTA element type.
Declaration
public override ElementType ElementType { get; }
Property Value
Overrides
|
Edit this page
View Source
Icon
Declaration
public BlipIcon Icon { get; set; }
Property Value
|
Edit this page
View Source
Ordering
Declaration
public short Ordering { get; set; }
Property Value
|
Edit this page
View Source
Size
Declaration
public byte Size { get; set; }
Property Value
|
Edit this page
View Source
VisibleDistance
Declaration
public ushort VisibleDistance { get; set; }
Property Value
Methods
|
Edit this page
View Source
AssociateWith(MtaServer)
Declaration
public Blip AssociateWith(MtaServer server)
Parameters
Returns
Events
|
Edit this page
View Source
ColorChanged
Declaration
public event ElementChangedEventHandler<Blip, Color>? ColorChanged
Event Type
|
Edit this page
View Source
IconChanged
Declaration
public event ElementChangedEventHandler<Blip, BlipIcon>? IconChanged
Event Type
|
Edit this page
View Source
OrderingChanged
Declaration
public event ElementChangedEventHandler<Blip, short>? OrderingChanged
Event Type
|
Edit this page
View Source
SizeChanged
Declaration
public event ElementChangedEventHandler<Blip, byte>? SizeChanged
Event Type
|
Edit this page
View Source
VisibleDistanceChanged
Declaration
public event ElementChangedEventHandler<Blip, ushort>? VisibleDistanceChanged
Event Type
Extension Methods