internal OnTargetEventArgs(MtaElement target)
 {
     Target = ElementManager.Instance.GetElement <PhysicalElement>(target);
 }
Beispiel #2
0
 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);
 }
Beispiel #3
0
 internal OnPedHitEventArgs(MtaElement ped)
 {
     Ped = ElementManager.Instance.GetElement <Ped>(ped);
 }
Beispiel #4
0
 internal OnStartEnterEventArgs(MtaElement player, dynamic seat, dynamic door)
 {
     Player = ElementManager.Instance.GetElement <Player>(player);
     Seat   = (Seat)seat;
     Door   = (Door)door;
 }
Beispiel #5
0
 public Marker(MtaElement element) : base(element)
 {
 }
Beispiel #6
0
 internal OnExitEventArgs(MtaElement player, dynamic seat)
 {
     Player = ElementManager.Instance.GetElement <Player>(player);
     Seat   = (Seat)seat;
 }
Beispiel #7
0
 public CheckBox(MtaElement element) : base(element)
 {
 }
Beispiel #8
0
 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)
 {
 }
Beispiel #11
0
 public RadarArea(MtaElement element) : base(element)
 {
 }
Beispiel #12
0
 public Boat(MtaElement element) : base(element)
 {
 }
Beispiel #13
0
 public Trailer(MtaElement element) : base(element)
 {
 }
Beispiel #14
0
 public Taxi(MtaElement element) : base(element)
 {
 }
Beispiel #15
0
 internal OnAttachEventArgs(MtaElement truck)
 {
     Truck = ElementManager.Instance.GetElement <Vehicle>(truck);
 }
Beispiel #16
0
 public SharedMarker(MtaElement element) : base(element)
 {
 }
Beispiel #17
0
 internal OnUseEventArgs(MtaElement usingPlayer)
 {
     Player = ElementManager.Instance.GetElement <Player>(usingPlayer);
 }
Beispiel #18
0
 public ScrollPane(MtaElement element) : base(element)
 {
 }
Beispiel #19
0
 public CollisionShape(MtaElement element) : base(element)
 {
 }
Beispiel #20
0
 public Player(MtaElement mtaElement) : base(mtaElement)
 {
 }
Beispiel #21
0
 public Pickup(MtaElement element) : base(element)
 {
 }
Beispiel #22
0
 internal OnHitEventArgs(MtaElement element, dynamic matchingDimension)
 {
     Element             = ElementManager.Instance.GetElement <PhysicalElement>(element);
     IsDimensionMatching = (bool)matchingDimension;
 }
Beispiel #23
0
 public Browser(MtaElement element) : base(element)
 {
 }
Beispiel #24
0
 public GuiElement(MtaElement element) : base(element)
 {
 }
Beispiel #25
0
 public Helicopter(MtaElement element) : base(element)
 {
 }
Beispiel #26
0
 public WorldObject(MtaElement element) : base(element)
 {
 }
Beispiel #27
0
 internal OnAcceptedEventArgs(MtaElement element)
 {
     Element = ElementManager.Instance.GetElement <GuiElement>(element);
 }
Beispiel #28
0
 public Ped(MtaElement element) : base(element)
 {
 }
 internal OnPickupHitEventArgs(MtaElement pickup)
 {
     Pickup = ElementManager.Instance.GetElement <Pickup>(pickup);
 }
Beispiel #30
0
 public virtual void HandleEvent(string eventName, MtaElement source, object p1, object p2, object p3, object p4, object p5, object p6, object p7, object p8)
 {
 }