Client-side functions: Difference between revisions

From RAGE Multiplayer Wiki
mNo edit summary
Line 1: Line 1:
Attention: work is still in progress. There still could be major changes in design of API.
Attention: work is still in progress. There still could be major changes in design of API.
=Game=
==Game==
==App==
===App===
{{App_functions_c}}
{{App_functions_c}}


==Audio==
===Audio===
{{Audio_functions_c}}
{{Audio_functions_c}}


==Brain==
===Brain===
{{Brain_functions_c}}
{{Brain_functions_c}}


==Cam==
===Cam===
{{Cam_functions_c}}
{{Cam_functions_c}}


==Controls==
===Controls===
{{Controls_functions_c}}
{{Controls_functions_c}}


==Cutscene==
===Cutscene==
{{Cutscene_functions_c}}
{{Cutscene_functions_c}}


==Datafile==
===Datafile===
{{Datafile_functions_c}}
{{Datafile_functions_c}}


==Decisionevent==
===Decisionevent===
{{Decisionevent_functions_c}}
{{Decisionevent_functions_c}}


==Decorator==
===Decorator===
*[[Decorator::decorIsRegisteredAsType|mp.game.decorator.decorIsRegisteredAsType]]
*[[Decorator::decorIsRegisteredAsType|mp.game.decorator.decorIsRegisteredAsType]]
*[[Decorator::decorRegister|mp.game.decorator.decorRegister]]
*[[Decorator::decorRegister|mp.game.decorator.decorRegister]]


==DLC==
===DLC===
{{Dlc1_functions_c}}
{{Dlc1_functions_c}}


==DLC2==
===DLC2===
*[[Dlc2::nullify|mp.game.dlc2.nullify]]
*[[Dlc2::nullify|mp.game.dlc2.nullify]]
*[[Dlc2::isDlcPresent|mp.game.dlc2.isDlcPresent]]
*[[Dlc2::isDlcPresent|mp.game.dlc2.isDlcPresent]]


==Fire==
===Fire===
{{Fire_functions_c}}
{{Fire_functions_c}}


==Gameplay==
===Gameplay===
{{Gameplay_functions_c}}
{{Gameplay_functions_c}}


==Game Globals==
===Game Globals===
*Functions:
*Functions:
**[[Globals::joaat|mp.game.joaat]]
**[[Globals::joaat|mp.game.joaat]]
Line 83: Line 83:
**[[Client-side_functions#Zone|mp.game.zone]]
**[[Client-side_functions#Zone|mp.game.zone]]


==Graphics==
===Graphics===
{{Graphics_functions_c}}
{{Graphics_functions_c}}


==Interior==
===Interior==
{{Interior_functions_c}}
{{Interior_functions_c}}


==Itemset==
===Itemset===
{{Itemset_functions_c}}
{{Itemset_functions_c}}


==Mobile==
===Mobile===
{{Mobile_functions_c}}
{{Mobile_functions_c}}


==Object==
===Object===
{{Object_functions_c}}
{{Object_functions_c}}


==Pathfind==
===Pathfind===
{{Path_functions_c}}
{{Path_functions_c}}


==Ped==
===Ped===
{{Ped_functions_c}}
{{Ped_functions_c}}


==Player==
===Player===
{{Player_functions_c}}
{{Player_functions_c}}


==Recorder==
===Recorder===
*[[Recorder::start|mp.game.recorder.start]]
*[[Recorder::start|mp.game.recorder.start]]
*[[Recorder::stop|mp.game.recorder.stop]]
*[[Recorder::stop|mp.game.recorder.stop]]
*[[Recorder::isRecording|mp.game.recorder.isRecording]]
*[[Recorder::isRecording|mp.game.recorder.isRecording]]


==Rope==
===Rope===
{{Rope_functions_c}}
{{Rope_functions_c}}


==Script==
===Script===
{{Script_functions_c}
{{Script_functions_c}


==Stats==
===Stats===
{{Stats_functions_c}}
{{Stats_functions_c}}


==Streaming==
===Streaming===
{{Streaming_functions_c}}
{{Streaming_functions_c}}


==System==
===System===
{{System_functions_c}}
{{System_functions_c}}


==Time==
===Time===
{{Time_functions_c}}
{{Time_functions_c}}


==Ui==
===Ui===
{{Ui_functions_c}}
{{Ui_functions_c}}


==Unk==
===Unk===
*[[Unk::getBroadcastFinishedLosSound|mp.game.unk.getBroadcastFinishedLosSound]]
*[[Unk::getBroadcastFinishedLosSound|mp.game.unk.getBroadcastFinishedLosSound]]


==Vehicle==
===Vehicle===
{{Vehicle_functions_c}}
{{Vehicle_functions_c}}


==Water==
===Water===
{{Water_functions_c}}
{{Water_functions_c}}


==Weapon==
===Weapon===
{{Weapon_functions_c}}
{{Weapon_functions_c}}


==Worldprobe==
===Worldprobe===
{{Worldprobe_functions_c}}
{{Worldprobe_functions_c}}


==Zone==
===Zone===
{{Zone_functions_c}}
{{Zone_functions_c}}


=RAGEMP=
==RAGEMP==
==Blip==
===Blip===
{{Blip_functions_c}}
{{Blip_functions_c}}


==Browser==
===Browser===
{{Browser_definition_c}}
{{Browser_definition_c}}


==Camera==
===Camera===
{{Camera_definition_c}}
{{Camera_definition_c}}


==Cursor==
===Cursor===
*Properties:
*Properties:
**cursor.visible
**cursor.visible
**cursor.position
**cursor.position


==Entity==
===Entity===
{{Entity_functions_c}}
{{Entity_functions_c}}


==Entity pool==
===Entity pool===
*[[Pool::atHandle]]
*[[Pool::atHandle]]
*[[Pool::atRemoteId]]
*[[Pool::atRemoteId]]
{{EntityPool_definition}}
{{EntityPool_definition}}


==Event==
===Event===
{{Event_functions_c}}
{{Event_functions_c}}


==Global==
===Global===
{{Global_properties_c}}
{{Global_properties_c}}


==Gui==
===Gui===
{{Gui_definition_c}}
{{Gui_definition_c}}


==Keys==
===Keys===
{{Keys_functions_c}}
{{Keys_functions_c}}


==Nametags==
===Nametags===
*Functions:
*Functions:
**mp.nametags.update  
**mp.nametags.update  
Line 193: Line 193:
**mp.nametags.enabled
**mp.nametags.enabled


==Object==
===Object===
{{Object_definition_c}}
{{Object_definition_c}}


==Peds==
===Peds===
*[[Peds::new|mp.peds.new]]
*[[Peds::new|mp.peds.new]]


==Player==
===Player===
{{Player_definition_c}}
{{Player_definition_c}}


==Raycasting==
===Raycasting===
**[[Raycasting::testPointToPoint|mp.raycasting.testPointToPoint]]
**[[Raycasting::testPointToPoint|mp.raycasting.testPointToPoint]]
**[[Raycasting::testCapsule|mp.raycasting.testCapsule]]
**[[Raycasting::testCapsule|mp.raycasting.testCapsule]]


==Storage==
===Storage===
*Functions:
*Functions:
**[[storage.flush()|mp.storage.flush]]
**[[storage.flush()|mp.storage.flush]]
Line 212: Line 212:
**mp.storage.data
**mp.storage.data


==Vector3==
===Vector3===
{{Vector3_definition}}
{{Vector3_definition}}


==Vehicle==
===Vehicle===
{{Vehicle_definition_c}}
{{Vehicle_definition_c}}

Revision as of 10:29, 29 December 2017

Attention: work is still in progress. There still could be major changes in design of API.

Game

App

Audio

Brain

Cam

Controls

=Cutscene

Datafile

Decisionevent

Decorator

DLC

DLC2

Fire

Gameplay

Game Globals

Graphics

=Interior

Itemset

Mobile

Object

  • [[Object::disableGlow|mp.game.object.disableGlow

Pathfind

Ped

Player

Recorder

Rope

Script

{{Script_functions_c}

Stats

Streaming

System

Time

Ui

Unk

Vehicle

Water

Weapon

Worldprobe

Zone

RAGEMP

Blip

Browser

Camera

Cursor

  • Properties:
    • cursor.visible
    • cursor.position

Entity

Entity pool

Event

Global

Gui

Keys

Nametags

  • Functions:
  • Properties:
    • mp.nametags.enabled

Object

Peds

Player

Raycasting

Storage

Vector3

Vehicle