Client Scripting Classes: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(25 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==
{{Client_vector3_class}}


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