Client-side functions: Difference between revisions

From RAGE Multiplayer Wiki
m (→‎Script: fixed marker)
 
(76 intermediate revisions by 20 users not shown)
Line 1: Line 1:
Attention: work is still in progress. There still could be major changes in design of API.
==Game==
===App===
{{App_functions_c}}


===Audio===
==RAGE Classes==
{{Audio_functions_c}}
===Entity pool===
{{EntityPool_Client_functions}}
 
===Blip===
{{Blip_definition_c}}
 
===Browser===
{{Browser_definition_c}}
 
===Camera===
{{Camera_definition_c}}
 
===Checkpoint===
*[[Checkpoint::Checkpoint]]
 
===Dummy Entity===
{{Dummies_definition_c}}
 
===Entity===
{{Entity_definition_c}}
 
===Label===
{{Label_definition_c}}
 
===Marker===
{{Marker_definition_c}}
 
===Object===
{{Object_definition_c}}
 
===Peds===
*[[Ped::Ped]]
 
===Pickup===
*[[Pickup::Pickup]]
 
===Player===
{{Player_definition_c}}
 
===Vector3===
{{Vector3_definition}}
 
===Vehicle===
{{Vehicle_definition_c}}
 
==RAGE Static Objects==
===Globals===
{{Global_properties_c}}
 
=== Console ===
{{Console_definition_c}}


===Brain===
===Cursor===
{{Brain_functions_c}}
{{Cursor_definition_c}}


===Cam===
===Discord===
{{Cam_functions_c}}
*[[Discord::update|mp.discord.update]]
*[[Discord::requestOAuth2|mp.discord.requestOAuth2]]


===Controls===
===Event===
{{Controls_functions_c}}
{{Event_functions_c}}


===Cutscene===
===Gui===
{{Cutscene_functions_c}}
{{Gui_definition_c}}


===Datafile===
===Keys===
{{Datafile_functions_c}}
{{Keys_functions_c}}


===Decisionevent===
===Nametags===
{{Decisionevent_functions_c}}
{{Nametags_functions_c}}


===Decorator===
===Preferences===
*[[Decorator::decorIsRegisteredAsType|mp.game.decorator.decorIsRegisteredAsType]]
{{Preferences_definition_c}}
*[[Decorator::decorRegister|mp.game.decorator.decorRegister]]


===DLC===
===Raycasting===
{{Dlc1_functions_c}}
{{Raycast_functions_c}}


===DLC2===
===Storage===
*[[Dlc2::nullify|mp.game.dlc2.nullify]]
{{Storage_definition_c}}
*[[Dlc2::isDlcPresent|mp.game.dlc2.isDlcPresent]]


===Fire===
===System===
{{Fire_functions_c}}
*Functions:
**[[system.notify()|mp.system.notify]]
*Properties:
**[[system.isFullscreen|mp.system.isFullscreen]]
**[[system.isFocused|mp.system.isFocused]]


===Gameplay===
===Voice chat===
{{Gameplay_functions_c}}
{{Voicechat}}


==Game Static Objects==
===Game Globals===
===Game Globals===
*Functions:
{{GameGlobals}}
**[[Globals::joaat|mp.game.joaat]]
 
*Properies:
*Properties:
**[[Client-side_functions#App|mp.game.app]]
**[[Client-side_functions#App|mp.game.app]]
**[[Client-side_functions#Audio|mp.game.audio]]
**[[Client-side_functions#Audio|mp.game.audio]]
Line 55: Line 105:
**[[Client-side_functions#Decisionevent|mp.game.decisionevent]]
**[[Client-side_functions#Decisionevent|mp.game.decisionevent]]
**[[Client-side_functions#Decorator|mp.game.decorator]]
**[[Client-side_functions#Decorator|mp.game.decorator]]
**[[Client-side_functions#Task|mp.game.task]]
**[[Client-side_functions#Dlc1|mp.game.dlc1]]
**[[Client-side_functions#Dlc1|mp.game.dlc1]]
**[[Client-side_functions#Dlc2|mp.game.dlc2]]
**[[Client-side_functions#Dlc2|mp.game.dlc2]]
**[[Client-side_functions#Entity|mp.game.entity]]
**[[Client-side_functions#GameEntity|mp.game.entity]]
**[[Client-side_functions#Fire|mp.game.fire]]
**[[Client-side_functions#Fire|mp.game.fire]]
**[[Client-side_functions#Gameplay|mp.game.gameplay]]
**[[Client-side_functions#Gameplay|mp.game.gameplay]]
**[[Client-side_functions#Graphics|mp.game.graphics]]
**[[Client-side_functions#Graphics|mp.game.graphics]]
**[[Client-side_functions#GXT|mp.game.gxt]]
**[[Client-side_functions#Interior|mp.game.interior]]
**[[Client-side_functions#Interior|mp.game.interior]]
**[[Client-side_functions#Itemset|mp.game.itemset]]
**[[Client-side_functions#Itemset|mp.game.itemset]]
Line 72: Line 124:
**[[Client-side_functions#Stats|mp.game.stats]]
**[[Client-side_functions#Stats|mp.game.stats]]
**[[Client-side_functions#Streaming|mp.game.streaming]]
**[[Client-side_functions#Streaming|mp.game.streaming]]
**[[Client-side_functions#System|mp.game.system]]
**[[Client-side_functions#System (Game)|mp.game.system]]
**[[Client-side_functions#Time|mp.game.time]]
**[[Client-side_functions#Time|mp.game.time]]
**[[Client-side_functions#Ui|mp.game.ui]]
**[[Client-side_functions#Ui|mp.game.ui]]
Line 82: Line 134:
**[[Client-side_functions#Worldprobe|mp.game.worldprobe]]
**[[Client-side_functions#Worldprobe|mp.game.worldprobe]]
**[[Client-side_functions#Zone|mp.game.zone]]
**[[Client-side_functions#Zone|mp.game.zone]]
**[[Client-side_functions#Replay|mp.game.replay]]
**[[Client-side_functions#GameClock|mp.game.clock]]
**[[Client-side_functions#GameFiles|mp.game.files]]
===App===
{{App_functions_c}}
===Audio===
{{Audio_functions_c}}
===Brain===
{{Brain_functions_c}}
===Cam===
{{Cam_functions_c}}
===Controls===
{{Controls_functions_c}}
===Task===
{{Task_functions_c}}
===GameEntity===
{{Entity_functions_c}}
===Cutscene===
{{Cutscene_functions_c}}
===Datafile===
{{Datafile_functions_c}}
===Decisionevent===
{{Decisionevent_functions_c}}
===Decorator===
*[[Decorator::decorIsRegisteredAsType|mp.game.decorator.decorIsRegisteredAsType]]
*[[Decorator::decorRegister|mp.game.decorator.decorRegister]]
===DLC===
{{Dlc1_functions_c}}
===DLC2===
*[[Dlc2::nullify|mp.game.dlc2.nullify]]
*[[Dlc2::isDlcPresent|mp.game.dlc2.isDlcPresent]]
===Fire===
{{Fire_functions_c}}
===Gameplay===
{{Gameplay_functions_c}}
===Replay===
{{Replay_functions_c}}
===GameClock===
{{GameClock_functions_c}}
===GameFiles===
{{GameFiles_functions_c}}


===Graphics===
===Graphics===
{{Graphics_functions_c}}
{{Graphics_functions_c}}
===GXT===
{{GXT_functions_c}}


===Interior===
===Interior===
Line 124: Line 238:
{{Streaming_functions_c}}
{{Streaming_functions_c}}


===System===
===System (Game)===
{{System_functions_c}}
{{System_functions_c}}


Line 150: Line 264:
===Zone===
===Zone===
{{Zone_functions_c}}
{{Zone_functions_c}}
==RAGEMP==
===Blip===
{{Blip_functions_c}}
===Browser===
{{Browser_definition_c}}
===Camera===
{{Camera_definition_c}}
===Cursor===
*Properties:
**cursor.visible
**cursor.position
===Entity===
{{Entity_functions_c}}
===Entity pool===
*[[Pool::atHandle]]
*[[Pool::atRemoteId]]
{{EntityPool_definition}}
===Event===
{{Event_functions_c}}
===Global===
{{Global_properties_c}}
===Gui===
{{Gui_definition_c}}
===Keys===
{{Keys_functions_c}}
===Nametags===
*Functions:
**mp.nametags.update
**[[nametags.set|mp.nametags.set]]
*Properties:
**mp.nametags.enabled
===Object===
{{Object_definition_c}}
===Peds===
*[[Peds::new|mp.peds.new]]
===Player===
{{Player_definition_c}}
===Raycasting===
**[[Raycasting::testPointToPoint|mp.raycasting.testPointToPoint]]
**[[Raycasting::testCapsule|mp.raycasting.testCapsule]]
===Storage===
*Functions:
**[[storage.flush()|mp.storage.flush]]
*Properties:
**mp.storage.data
===Vector3===
{{Vector3_definition}}
===Vehicle===
{{Vehicle_definition_c}}

Latest revision as of 17:42, 16 March 2025

RAGE Classes

Entity pool

Blip

Browser

Camera

Checkpoint

Dummy Entity

Entity

Label

Marker

Object

Peds

Pickup

Player

Vector3

Vehicle

RAGE Static Objects

Globals

Console

Cursor

Discord

Event

Gui

Keys

Nametags

Preferences

Raycasting

Storage

System

Voice chat

Game Static Objects

Game Globals

App

Audio

Brain

Cam

Controls

Task

GameEntity

Cutscene

Datafile

Decisionevent

Decorator

DLC

DLC2

Fire

Gameplay

Replay

GameClock

GameFiles

Graphics

GXT

Interior

Itemset

Mobile

Object

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

Pathfind

Ped

Player

Recorder

Rope

Script

Stats

Streaming

System (Game)

Time

Ui

Unk

Vehicle

Water

Weapon

Worldprobe

Zone