Client Scripting Classes: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(22 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<pageclass class="client"></pageclass>
<pageclass class="client"></pageclass>
{{Adding_Pages_to_Categories_and_Templates}}
{{Adding_Pages_to_Categories_and_Templates}}
This page lists all the '''client-side''' scripting classes that are being implemented in the 1.4 version of Multi Theft Auto. It mirrors the procedural [[Client_Scripting_Functions|Client Functions]].
This page lists all the '''client-side''' scripting classes that are implemented in the 1.4 version of Multi Theft Auto. It mirrors the procedural [[Client_Scripting_Functions|client functions]]. For information on how to enable OOP in 1.4 please refer to [[Meta.xml]].


Classes can be instantiated by either calling the '''create''' method, when available, or calling the class. For example: ''Vehicle(...)'' is the same as ''Vehicle.create(...)''.
Classes can be instantiated by either calling the '''create''' method, when applicable, or by calling the class. For example: ''Vehicle(...)'' is the same as ''Vehicle.create(...)''.


__TOC__
Here is a list of all the current classes (nested classes are subclasses):


==Vector3==
*[[Vector3D_class|Vector3]]
{{Client_vector3_class}}
*[[Vector2D_class|Vector2]]
 
*[[Matrix_class|Matrix]]
==Matrix==
*[[Camera_class|Camera]]
{{Client_matrix_class}}
*[[Element_class|Element]]
 
**[[Ped_class|Ped]]
==Element==
**[[Player_class|Player]]
{{Client_element_class}}
**[[Vehicle_class|Vehicle]]
 
**[[Object_class|Object]]
===Entity===
**[[Marker_class|Marker]]
====Ped====
**[[Blip_class|Blip]]
<section name="Ped class" class="server" show="true">
**[[Pickup_class|Pickup]]
{{Client_ped_class}}
**[[ColShape_class|ColShape]]
</section>
**[[Projectile_class|Projectile]]
 
**[[RadarArea_class|RadarArea]]
=====Player=====
**[[Team_class|Team]]
<section name="Player class" class="server" show="true">
**[[Water_class|Water]]
{{Client_player_class}}
**[[Sound_class|Sound]]
</section>
***[[Sound3D_class|Sound3D]]
 
**[[Weapon_class|Weapon]]
====Vehicle====
**[[GuiElement_class|GuiElement]]
<section name="Vehicle class" class="server" show="true">
***[[GuiWindow_class|GuiWindow]]
{{Client_vehicle_class}}
***[[GuiButton_class|GuiButton]]
</section>
***[[GuiEdit_class|GuiEdit]]
 
***[[GuiLabel_class|GuiLabel]]
====Object====
***[[GuiMemo_class|GuiMemo]]
<section name="Object class" class="server" show="true">
***[[GuiImage_class|GuiImage]]
{{Client_object_class}}
***[[GuiComboBox_class|GuiComboBox]]
</section>
***[[GuiCheckBox_class|GuiCheckBox]]
 
***[[GuiRadioButton_class|GuiRadioButton]]
====Marker====
***[[GuiScrollPane_class|GuiScrollPane]]
<section name="Marker class" class="server" show="true">
***[[GuiScrollBar_class|GuiScrollBar]]
{{Client_marker_class}}
***[[GuiProgressBar_class|GuiProgressBar]]
</section>
***[[GuiGridList_class|GuiGridList]]
 
***[[GuiTabPanel_class|GuiTabPanel]]
====Blip====
***[[GuiTab_class|GuiTab]]
<section name="Object class" class="server" show="true">
*[[Resource_class|Resource]]
{{Client_object_class}}
*[[Timer_class|Timer]]
</section>
*[[File_class|File]]
 
*[[XmlNode_class|XmlNode]]
====Pickup====
<section name="Pickup class" class="server" show="true">
{{Client_pickup_class}}
</section>
 
====Collision shape====
<section name="ColShape class" class="server" show="true">
{{Client_colshape_class}}
</section>
 
====Projectile====
<section name="Projectile class" class="server" show="true">
{{Client_projectile_class}}
</section>
 
====Radar area====
<section name="RadarArea class" class="server" show="true">
{{Client_radararea_class}}
</section>
 
====Team====
<section name="Team class" class="server" show="true">
{{Client_team_class}}
</section>
 
====Water====
<section name="Water class" class="server" show="true">
{{Client_water_class}}
</section>
 
====Sound====
<section name="Sound class" class="server" show="true">
{{Client_sound_class}}
</section>
 
====Sound3D====
<section name="Sound3D class" class="server" show="true">
{{Client_sound3_class}}
</section>
 
====Weapon====
<section name="Weapon class" class="server" show="true">
{{Client_weapon_class}}
</section>
 
===Miscellaneous===
====GUI Base====
<section name="GuiElement class" class="server" show="true">
{{Client_GUIElement_class}}
</section>
 
=====Window=====
<section name="GuiWindow class" class="server" show="true">
{{Client_GUIWindow_class}}
</section>
 
=====Button=====
<section name="GuiButton class" class="server" show="true">
{{Client_GUIButton_class}}
</section>
 
=====Edit box=====
<section name="GuiEdit class" class="server" show="true">
{{Client_GUIEdit_class}}
</section>
 
=====Label=====
<section name="GuiLabel class" class="server" show="true">
{{Client_GUILabel_class}}
</section>
 
=====Memo box=====
<section name="GuiMemo class" class="server" show="true">
{{Client_GUIMemo_class}}
</section>
 
=====Image=====
<section name="GuiImage class" class="server" show="true">
{{Client_GUIImage_class}}
</section>
 
=====Combo box=====
<section name="GuiComboBox class" class="server" show="true">
{{Client_GUIComboBox_class}}
</section>
 
=====Check box=====
<section name="GuiCheckBox class" class="server" show="true">
{{Client_GUICheckBox_class}}
</section>
 
=====Radio button=====
<section name="GuiRadioButton class" class="server" show="true">
{{Client_object_class}}
</section>
 
=====Scroll pane=====
<section name="GuiScrollPane class" class="server" show="true">
{{Client_GUIScrollPane_class}}
</section>
 
=====Scroll bar=====
<section name="GuiScrollBar class" class="server" show="true">
{{Client_GUIScrollBar_class}}
</section>
 
=====Progress bar=====
<section name="GuiProgressBar class" class="server" show="true">
{{Client_GUIProgressBar_class}}
</section>
 
=====Grid list=====
<section name="GuiGridList class" class="server" show="true">
{{Client_GUIGridList_class}}
</section>
 
=====Tab panel=====
<section name="GuiTabPanel class" class="server" show="true">
{{Client_GUITabPanel_class}}
</section>
 
=====Tab=====
<section name="GuiTab class" class="server" show="true">
{{Client_GUITab_class}}
</section>
 
==Resource==
{{Client_resource_class}}
 
==Timer==
{{Client_timer_class}}
 
==File==
{{Client_file_class}}
 
==XmlNode==
{{Client_xmlNode_class}}

Latest revision as of 11:21, 9 April 2014

Contributors: Did you create a page but it's not on this list? Confused? Read: Adding Pages to Categories and Templates

This page lists all the client-side scripting classes that are implemented in the 1.4 version of Multi Theft Auto. It mirrors the procedural client functions. For information on how to enable OOP in 1.4 please refer to Meta.xml.

Classes can be instantiated by either calling the create method, when applicable, or by calling the class. For example: Vehicle(...) is the same as Vehicle.create(...).

Here is a list of all the current classes (nested classes are subclasses):