Client-side functions: Difference between revisions

From RAGE Multiplayer Wiki
m (Reverted edits by Supremo (talk) to last revision by MrPancakers2)
Tag: Rollback
 
(33 intermediate revisions by 7 users not shown)
Line 1: Line 1:


==Classes==
==RAGE Classes==
===Entity pool===
{{EntityPool_Client_functions}}
 
===Blip===
===Blip===
{{Blip_functions_c}}
{{Blip_definition_c}}


===Browser===
===Browser===
Line 17: Line 20:


===Entity===
===Entity===
{{Entity_functions_c}}
{{Entity_definition_c}}
 
===Entity pool===
*[[Pool::atHandle]]
*[[Pool::atRemoteId]]
{{EntityPool_Client_functions}}
*[[Pool::remoteId]]


===Label===
===Label===
Line 35: Line 32:


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


===Pickup===
===Pickup===
Line 49: Line 46:
{{Vehicle_definition_c}}
{{Vehicle_definition_c}}


==Static Objects==
==RAGE Static Objects==
 
===Globals===
===Globals===
{{Global_properties_c}}
{{Global_properties_c}}
===Event===
{{Event_functions_c}}
===Gui===
{{Gui_definition_c}}


=== Console ===
=== Console ===
Line 67: Line 56:
{{Cursor_definition_c}}
{{Cursor_definition_c}}


===Voice chat===
===Discord===
*Functions:
*[[Discord::update|mp.discord.update]]
**[[voiceChat.getPreprocessingParam|mp.voiceChat.getPreprocessingParam]]
*[[Discord::requestOAuth2|mp.discord.requestOAuth2]]
**[[voiceChat.setPreprocessingParam|mp.voiceChat.setPreprocessingParam]]
 
*Properties:
===Event===
**[[voiceChat.lastVad|mp.voiceChat.lastVad]]
{{Event_functions_c}}
**[[voiceChat.minVad|mp.voiceChat.minVad]]
**[[voiceChat.muted|mp.voiceChat.muted]]


===Nametags===
===Gui===
*Functions:
{{Gui_definition_c}}
**mp.nametags.update
**[[nametags.set|mp.nametags.set]]
*Properties:
**mp.nametags.enabled


===Keys===
===Keys===
{{Keys_functions_c}}
{{Keys_functions_c}}
===Nametags===
{{Nametags_functions_c}}


===Preferences===
===Preferences===
{{Preferences_definition_c}}
{{Preferences_definition_c}}
===Raycasting===
{{Raycast_functions_c}}


===Storage===
===Storage===
*Functions:
{{Storage_definition_c}}
**[[storage.flush()|mp.storage.flush]]
*Properties:
**[[storage.data|mp.storage.data]]


===System===
===System===
Line 102: Line 88:
**[[system.isFocused|mp.system.isFocused]]
**[[system.isFocused|mp.system.isFocused]]


==Static Objects (Game)==
===Voice chat===
{{Voicechat}}
 
==Game Static Objects==
===Game Globals===
{{GameGlobals}}
 
*Properties:
**[[Client-side_functions#App|mp.game.app]]
**[[Client-side_functions#Audio|mp.game.audio]]
**[[Client-side_functions#Brain|mp.game.brain]]
**[[Client-side_functions#Cam|mp.game.cam]]
**[[Client-side_functions#Controls|mp.game.controls]]
**[[Client-side_functions#Cutscene|mp.game.cutscene]]
**[[Client-side_functions#Datafile|mp.game.datafile]]
**[[Client-side_functions#Decisionevent|mp.game.decisionevent]]
**[[Client-side_functions#Decorator|mp.game.decorator]]
**[[Client-side_functions#Task|mp.game.task]]
**[[Client-side_functions#Dlc1|mp.game.dlc1]]
**[[Client-side_functions#Dlc2|mp.game.dlc2]]
**[[Client-side_functions#GameEntity|mp.game.entity]]
**[[Client-side_functions#Fire|mp.game.fire]]
**[[Client-side_functions#Gameplay|mp.game.gameplay]]
**[[Client-side_functions#Graphics|mp.game.graphics]]
**[[Client-side_functions#GXT|mp.game.gxt]]
**[[Client-side_functions#Interior|mp.game.interior]]
**[[Client-side_functions#Itemset|mp.game.itemset]]
**[[Client-side_functions#Mobile|mp.game.mobile]]
**[[Client-side_functions#Object|mp.game.object]]
**[[Client-side_functions#Pathfind|mp.game.pathfind]]
**[[Client-side_functions#Ped|mp.game.ped]]
**[[Client-side_functions#Player|mp.game.player]]
**[[Client-side_functions#Rope|mp.game.rope]]
**[[Client-side_functions#Script|mp.game.script]]
**[[Client-side_functions#Stats|mp.game.stats]]
**[[Client-side_functions#Streaming|mp.game.streaming]]
**[[Client-side_functions#System (Game)|mp.game.system]]
**[[Client-side_functions#Time|mp.game.time]]
**[[Client-side_functions#Ui|mp.game.ui]]
**[[Client-side_functions#Unk|mp.game.unk]]
**[[Client-side_functions#Recorder|mp.game.recorder]]
**[[Client-side_functions#Vehicle|mp.game.vehicle]]
**[[Client-side_functions#Water|mp.game.water]]
**[[Client-side_functions#Weapon|mp.game.weapon]]
**[[Client-side_functions#Worldprobe|mp.game.worldprobe]]
**[[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===
Line 118: Line 152:
===Controls===
===Controls===
{{Controls_functions_c}}
{{Controls_functions_c}}
===Task===
{{Task_functions_c}}
===GameEntity===
{{Entity_functions_c}}


===Cutscene===
===Cutscene===
Line 131: Line 171:
*[[Decorator::decorIsRegisteredAsType|mp.game.decorator.decorIsRegisteredAsType]]
*[[Decorator::decorIsRegisteredAsType|mp.game.decorator.decorIsRegisteredAsType]]
*[[Decorator::decorRegister|mp.game.decorator.decorRegister]]
*[[Decorator::decorRegister|mp.game.decorator.decorRegister]]
===Discord===
*[[Discord::update|mp.discord.update]]


===DLC===
===DLC===
Line 148: Line 185:
{{Gameplay_functions_c}}
{{Gameplay_functions_c}}


===Game Globals===
===Replay===
{{GameGlobals}}
{{Replay_functions_c}}
 
===GameClock===
{{GameClock_functions_c}}


*Properties:
===GameFiles===
**[[Client-side_functions#App|mp.game.app]]
{{GameFiles_functions_c}}
**[[Client-side_functions#Audio|mp.game.audio]]
**[[Client-side_functions#Brain|mp.game.brain]]
**[[Client-side_functions#Cam|mp.game.cam]]
**[[Client-side_functions#Controls|mp.game.controls]]
**[[Client-side_functions#Cutscene|mp.game.cutscene]]
**[[Client-side_functions#Datafile|mp.game.datafile]]
**[[Client-side_functions#Decisionevent|mp.game.decisionevent]]
**[[Client-side_functions#Decorator|mp.game.decorator]]
**[[Client-side_functions#Dlc1|mp.game.dlc1]]
**[[Client-side_functions#Dlc2|mp.game.dlc2]]
**[[Client-side_functions#Entity|mp.game.entity]]
**[[Client-side_functions#Fire|mp.game.fire]]
**[[Client-side_functions#Gameplay|mp.game.gameplay]]
**[[Client-side_functions#Graphics|mp.game.graphics]]
**[[Client-side_functions#GXT|mp.game.gxt]]
**[[Client-side_functions#Interior|mp.game.interior]]
**[[Client-side_functions#Itemset|mp.game.itemset]]
**[[Client-side_functions#Mobile|mp.game.mobile]]
**[[Client-side_functions#Object|mp.game.object]]
**[[Client-side_functions#Pathfind|mp.game.pathfind]]
**[[Client-side_functions#Ped|mp.game.ped]]
**[[Client-side_functions#Player|mp.game.player]]
**[[Client-side_functions#Rope|mp.game.rope]]
**[[Client-side_functions#Script|mp.game.script]]
**[[Client-side_functions#Stats|mp.game.stats]]
**[[Client-side_functions#Streaming|mp.game.streaming]]
**[[Client-side_functions#System (Game)|mp.game.system]]
**[[Client-side_functions#Time|mp.game.time]]
**[[Client-side_functions#Ui|mp.game.ui]]
**[[Client-side_functions#Unk|mp.game.unk]]
**[[Client-side_functions#Recorder|mp.game.recorder]]
**[[Client-side_functions#Vehicle|mp.game.vehicle]]
**[[Client-side_functions#Water|mp.game.water]]
**[[Client-side_functions#Weapon|mp.game.weapon]]
**[[Client-side_functions#Worldprobe|mp.game.worldprobe]]
**[[Client-side_functions#Zone|mp.game.zone]]


===Graphics===
===Graphics===
Line 216: Line 220:
===Player===
===Player===
{{Player_functions_c}}
{{Player_functions_c}}
===Raycasting===
*[[Raycasting::testPointToPoint|mp.raycasting.testPointToPoint]]
*[[Raycasting::testCapsule|mp.raycasting.testCapsule]]


===Recorder===
===Recorder===

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