internal OnTargetEventArgs(MtaElement target) { Target = ElementManager.Instance.GetElement <PhysicalElement>(target); }
public override void HandleEvent(string eventName, MtaElement element, object p1, object p2, object p3, object p4, object p5, object p6, object p7, object p8) { OnMiscelaniousEvent?.Invoke(eventName, element, p1, p2, p3, p4, p5, p6, p7, p8); }
internal OnPedHitEventArgs(MtaElement ped) { Ped = ElementManager.Instance.GetElement <Ped>(ped); }
internal OnStartEnterEventArgs(MtaElement player, dynamic seat, dynamic door) { Player = ElementManager.Instance.GetElement <Player>(player); Seat = (Seat)seat; Door = (Door)door; }
public Marker(MtaElement element) : base(element) { }
internal OnExitEventArgs(MtaElement player, dynamic seat) { Player = ElementManager.Instance.GetElement <Player>(player); Seat = (Seat)seat; }
public CheckBox(MtaElement element) : base(element) { }
public MyPlayer(MtaElement element) : base(element) { OnSpawn += OnPlayerSpawn; }
internal OnPickupLeaveEventArgs(MtaElement pickup, dynamic dim) { Pickup = ElementManager.Instance.GetElement <Pickup>(pickup); IsDimensionMatching = (bool)dim; }
public TurretedVehicle(MtaElement element) : base(element) { }
public RadarArea(MtaElement element) : base(element) { }
public Boat(MtaElement element) : base(element) { }
public Trailer(MtaElement element) : base(element) { }
public Taxi(MtaElement element) : base(element) { }
internal OnAttachEventArgs(MtaElement truck) { Truck = ElementManager.Instance.GetElement <Vehicle>(truck); }
public SharedMarker(MtaElement element) : base(element) { }
internal OnUseEventArgs(MtaElement usingPlayer) { Player = ElementManager.Instance.GetElement <Player>(usingPlayer); }
public ScrollPane(MtaElement element) : base(element) { }
public CollisionShape(MtaElement element) : base(element) { }
public Player(MtaElement mtaElement) : base(mtaElement) { }
public Pickup(MtaElement element) : base(element) { }
internal OnHitEventArgs(MtaElement element, dynamic matchingDimension) { Element = ElementManager.Instance.GetElement <PhysicalElement>(element); IsDimensionMatching = (bool)matchingDimension; }
public Browser(MtaElement element) : base(element) { }
public GuiElement(MtaElement element) : base(element) { }
public Helicopter(MtaElement element) : base(element) { }
public WorldObject(MtaElement element) : base(element) { }
internal OnAcceptedEventArgs(MtaElement element) { Element = ElementManager.Instance.GetElement <GuiElement>(element); }
public Ped(MtaElement element) : base(element) { }
internal OnPickupHitEventArgs(MtaElement pickup) { Pickup = ElementManager.Instance.GetElement <Pickup>(pickup); }
public virtual void HandleEvent(string eventName, MtaElement source, object p1, object p2, object p3, object p4, object p5, object p6, object p7, object p8) { }