Client Scripting Classes: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
(30 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]]
==Vehicle==
**[[Marker_class|Marker]]
This class inherits Element.
**[[Blip_class|Blip]]
{{Client_vehicle_class}}
**[[Pickup_class|Pickup]]
 
**[[ColShape_class|ColShape]]
==Ped==
**[[Projectile_class|Projectile]]
This class inherits Element.
**[[RadarArea_class|RadarArea]]
{{Client_ped_class}}
**[[Team_class|Team]]
 
**[[Water_class|Water]]
==Player==
**[[Sound_class|Sound]]
This class inherits Ped.
***[[Sound3D_class|Sound3D]]
{{Client_player_class}}
**[[Weapon_class|Weapon]]
 
**[[GuiElement_class|GuiElement]]
==Object==
***[[GuiWindow_class|GuiWindow]]
This class inherits Element.
***[[GuiButton_class|GuiButton]]
{{Client_object_class}}
***[[GuiEdit_class|GuiEdit]]
 
***[[GuiLabel_class|GuiLabel]]
==Camera==
***[[GuiMemo_class|GuiMemo]]
{{Client_camera_class}}
***[[GuiImage_class|GuiImage]]
 
***[[GuiComboBox_class|GuiComboBox]]
==Marker==
***[[GuiCheckBox_class|GuiCheckBox]]
This class inherits Element.
***[[GuiRadioButton_class|GuiRadioButton]]
{{Client_marker_class}}
***[[GuiScrollPane_class|GuiScrollPane]]
 
***[[GuiScrollBar_class|GuiScrollBar]]
==Blip==
***[[GuiProgressBar_class|GuiProgressBar]]
This class inherits Element.
***[[GuiGridList_class|GuiGridList]]
{{Client_blip_class}}
***[[GuiTabPanel_class|GuiTabPanel]]
 
***[[GuiTab_class|GuiTab]]
==Pickup==
*[[Resource_class|Resource]]
This class inherits Element.
*[[Timer_class|Timer]]
{{Client_pickup_class}}
*[[File_class|File]]
 
*[[XmlNode_class|XmlNode]]
==Collision shape==
This class inherits Element.
{{Client_colshape_class}}
 
==Projectile==
This class inherits Element.
{{Client_projectile_class}}
 
==Radar area==
This class inherits Element.
{{Client_radararea_class}}
 
==Team==
This class inherits Element.
{{Client_team_class}}
 
==Water==
This class inherits Element.
{{Client_water_class}}
 
==Sound==
This class inherits Element.
{{Client_sound_class}}
 
==Sound3D==
This class inherits Sound.
{{Client_sound3_class}}
 
==Weapon==
This class inherits Element.
{{Client_weapon_class}}
 
==GUI classes==
 
===Base element===
This class inherits Element.
{{Client_GUIElement_class}}
 
===Window===
This class inherits GuiElement.
{{Client_GUIWindow_class}}
 
===Button===
This class inherits GuiElement.
{{Client_GUIButton_class}}
 
===Edit box===
This class inherits GuiElement.
{{Client_GUIEdit_class}}
 
===Label===
This class inherits GuiElement.
{{Client_GUILabel_class}}
 
===Memo box===
This class inherits GuiElement.
{{Client_GUIMemo_class}}
 
===Image===
This class inherits GuiElement.
{{Client_GUIImage_class}}
 
===Combo box===
This class inherits GuiElement.
{{Client_GUIComboBox_class}}
 
===Check box===
This class inherits GuiElement.
{{Client_GUICheckBox_class}}
 
===Radio button===
This class inherits GuiElement.
{{Client_GUIRadioButton_class}}
 
===Scroll pane===
This class inherits GuiElement.
{{Client_GUIScrollPane_class}}
 
===Scroll bar===
This class inherits GuiElement.
{{Client_GUIScrollBar_class}}
 
===Progress bar===
This class inherits GuiElement.
{{Client_GUIProgressBar_class}}
 
===Grid list===
This class inherits GuiElement.
{{Client_GUIGridList_class}}
 
===Tab panel===
This class inherits GuiElement.
{{Client_GUITabPanel_class}}
 
===Tab===
This class inherits GuiElement.
{{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):