Client-side functions: Difference between revisions

From RAGE Multiplayer Wiki
(Adds console functions)
 
(54 intermediate revisions by 12 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 13: Line 16:
*[[Checkpoint::Checkpoint]]
*[[Checkpoint::Checkpoint]]


=== Console ===
===Dummy Entity===
*[[Console::clear|mp.console.clear]]
{{Dummies_definition_c}}
*[[Console::reset|mp.console.reset]]
*[[Console::verbosity|mp.console.verbosity]]
*[[Console::logInfo|mp.console.logInfo]]
*[[Console::logWarning|mp.console.logWarning]]
*[[Console::logError|mp.console.logError]]
*[[Console::logFatal|mp.console.logFatal]]
 
===Cursor===
{{Cursor_definition_c}}
 
===Voice chat===
*Properties:
**voiceChat.muted
*Functions:
**voiceChat.getPreprocessingParam
**voiceChat.setPreprocessingParam


===Entity===
===Entity===
{{Entity_functions_c}}
{{Entity_definition_c}}
 
===Entity pool===
*[[Pool::atHandle]]
*[[Pool::atRemoteId]]
{{EntityPool_Client_functions}}
*[[Pool::remoteId]]
 
===Event===
{{Event_functions_c}}
 
===Global===
{{Global_properties_c}}
 
===Gui===
{{Gui_definition_c}}
 
===Keys===
{{Keys_functions_c}}


===Label===
===Label===
Line 58: Line 27:
===Marker===
===Marker===
{{Marker_definition_c}}
{{Marker_definition_c}}
===Nametags===
*Functions:
**mp.nametags.update
**[[nametags.set|mp.nametags.set]]
*Properties:
**mp.nametags.enabled


===Object===
===Object===
Line 70: Line 32:


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


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


==Static Objects==
==RAGE Static Objects==
===Globals===
{{Global_properties_c}}


===App===
=== Console ===
{{App_functions_c}}
{{Console_definition_c}}


===Audio===
===Cursor===
{{Audio_functions_c}}
{{Cursor_definition_c}}


===Brain===
===Discord===
{{Brain_functions_c}}
*[[Discord::update|mp.discord.update]]
*[[Discord::requestOAuth2|mp.discord.requestOAuth2]]


===Cam===
===Event===
{{Cam_functions_c}}
{{Event_functions_c}}


===Controls===
===Gui===
{{Controls_functions_c}}
{{Gui_definition_c}}


===Cutscene===
===Keys===
{{Cutscene_functions_c}}
{{Keys_functions_c}}


===Datafile===
===Nametags===
{{Datafile_functions_c}}
{{Nametags_functions_c}}


===Decisionevent===
===Preferences===
{{Decisionevent_functions_c}}
{{Preferences_definition_c}}


===Decorator===
===Raycasting===
*[[Decorator::decorIsRegisteredAsType|mp.game.decorator.decorIsRegisteredAsType]]
{{Raycast_functions_c}}
*[[Decorator::decorRegister|mp.game.decorator.decorRegister]]


===Discord===
===Storage===
*[[Discord::update|mp.discord.update]]
{{Storage_definition_c}}


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


===DLC2===
===Voice chat===
*[[Dlc2::nullify|mp.game.dlc2.nullify]]
{{Voicechat}}
*[[Dlc2::isDlcPresent|mp.game.dlc2.isDlcPresent]]


===Fire===
==Game Static Objects==
{{Fire_functions_c}}
===Game Globals===
{{GameGlobals}}


===Gameplay===
*Properties:
{{Gameplay_functions_c}}
 
===Game Globals===
*Functions:
**[[Globals::joaat|mp.game.joaat]]
**[[Globals::invoke|mp.game.invoke]]
*Properies:
**[[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 144: 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 161: 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 171: 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 195: Line 220:
===Player===
===Player===
{{Player_functions_c}}
{{Player_functions_c}}
===Raycasting===
**[[Raycasting::testPointToPoint|mp.raycasting.testPointToPoint]]
**[[Raycasting::testCapsule|mp.raycasting.testCapsule]]


===Recorder===
===Recorder===
Line 213: Line 234:
===Stats===
===Stats===
{{Stats_functions_c}}
{{Stats_functions_c}}
===Storage===
*Functions:
**[[storage.flush()|mp.storage.flush]]
*Properties:
**[[storage.data|mp.storage.data]]


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


===System===
===System (Game)===
{{System_functions_c}}
{{System_functions_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