Client-side functions: Difference between revisions

From RAGE Multiplayer Wiki
m (Added discord function)
m (Sorted the functions.)
Line 62: Line 62:
==Static Objects==
==Static Objects==


===Raycasting===
**[[Raycasting::testPointToPoint|mp.raycasting.testPointToPoint]]
**[[Raycasting::testCapsule|mp.raycasting.testCapsule]]
===Storage===
*Functions:
**[[storage.flush()|mp.storage.flush]]
*Properties:
**mp.storage.data
===App===
===App===
{{App_functions_c}}
{{App_functions_c}}
Line 98: Line 89:
*[[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 176: Line 170:
===Player===
===Player===
{{Player_functions_c}}
{{Player_functions_c}}
===Raycasting===
**[[Raycasting::testPointToPoint|mp.raycasting.testPointToPoint]]
**[[Raycasting::testCapsule|mp.raycasting.testCapsule]]


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


===Streaming===
===Streaming===
Line 220: Line 224:
===Zone===
===Zone===
{{Zone_functions_c}}
{{Zone_functions_c}}
===Discord===
*[[Discord::update|mp.discord.update]]

Revision as of 09:34, 17 January 2018

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

Classes

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

Vector3

Vehicle

Marker

Static Objects

App

Audio

Brain

Cam

Controls

Cutscene

Datafile

Decisionevent

Decorator

Discord

DLC

DLC2

Fire

Gameplay

Game Globals

Graphics

Interior

Itemset

Mobile

Object

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

Pathfind

Ped

Player

Raycasting

Recorder

Rope

Script

Stats

Storage

Streaming

System

Time

Ui

Unk

Vehicle

Water

Weapon

Worldprobe

Zone