Client-side functions: Difference between revisions

From RAGE Multiplayer Wiki
m (Reverted edits by Modernb (talk) to last revision by Ragempdev)
No edit summary
Line 488: Line 488:


==Graphics==
==Graphics==
**[[Graphics::notify|Graphics::notify(text)]]
**[[Graphics::drawText|Graphics::drawText(text, fontId, colourRGBA, scale, x, y[, z])]]
**[[Graphics::drawText3d|Graphics::drawText3d(text, pos, rotation, scale, r, g, b, a[, initialOffsetScaled])]]
**[[Graphics::createCheckpoint|Graphics::createCheckpoint(type, posX1, posY1, posZ1, posX2, posY2, posZ2, radius, colorR, colorG, colorB, alpha, reserved)]]
**[[Graphics::createCheckpoint|Graphics::createCheckpoint(type, posX1, posY1, posZ1, posX2, posY2, posZ2, radius, colorR, colorG, colorB, alpha, reserved)]]
**[[Graphics::hasStreamedTextureDictLoaded|Graphics::hasStreamedTextureDictLoaded(textureDict)]]
**[[Graphics::hasStreamedTextureDictLoaded|Graphics::hasStreamedTextureDictLoaded(textureDict)]]
Line 514: Line 517:
**[[Graphics::setTimecycleModifier|Graphics::setTimecycleModifier(modifierName)]]
**[[Graphics::setTimecycleModifier|Graphics::setTimecycleModifier(modifierName)]]
**[[Graphics::getDecalWashLevel|Graphics::getDecalWashLevel(decal)]]
**[[Graphics::getDecalWashLevel|Graphics::getDecalWashLevel(decal)]]
**[[Graphics::world3dToScreen2d|Graphics::world3dToScreen2d(worldX, worldY, worldZ, screenX, screenY)]]
**[[Graphics::world3dToScreen2d|Graphics::world3dToScreen2d(pos)]]
**[[Graphics::world3dToScreen2d|Graphics::world3dToScreen2d(x, y, z)]]
**[[Graphics::getTextureResolution|Graphics::getTextureResolution(textureDict, textureName)]]
**[[Graphics::getTextureResolution|Graphics::getTextureResolution(textureDict, textureName)]]
**[[Graphics::getScreenEffectIsActive|Graphics::getScreenEffectIsActive(effectName)]]
**[[Graphics::getScreenEffectIsActive|Graphics::getScreenEffectIsActive(effectName)]]

Revision as of 13:56, 7 May 2017

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

Event functions

Vector3 functions

Entity (player, vehicle, object) functions

Player functions

Vehicle functions

Object functions

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

Pickup functions

Template:Pickup function c

Blip functions

Camera functions

Entity pool functions

WebBrowser functions

Key binding functions

UI functions

Template:UI function c

Global functions

App

Audio

Brain

Cam

Controls

Cutscene

Datafile

Decisionevent

Decorator

Dlc1

Dlc2

Entity

Fire

Gameplay

Graphics

Interior

Itemset

Mobile

Object

Pathfind

Ped

Player

Rope

Script

Stats

Streaming

System

Time

Ui

Unk

Recorder

Vehicle

Water

Weapon

Worldprobe

Zone

Game Globals

    • GameGlobals::app
    • GameGlobals::audio
    • GameGlobals::brain
    • GameGlobals::cam
    • GameGlobals::controls
    • GameGlobals::cutscene
    • GameGlobals::datafile
    • GameGlobals::decisionevent
    • GameGlobals::decorator
    • GameGlobals::dlc1
    • GameGlobals::dlc2
    • GameGlobals::entity
    • GameGlobals::fire
    • GameGlobals::gameplay
    • GameGlobals::graphics
    • GameGlobals::interior
    • GameGlobals::itemset
    • GameGlobals::mobile
    • GameGlobals::object
    • GameGlobals::pathfind
    • GameGlobals::ped
    • GameGlobals::player
    • GameGlobals::rope
    • GameGlobals::script
    • GameGlobals::stats
    • GameGlobals::streaming
    • GameGlobals::system
    • GameGlobals::time
    • GameGlobals::ui
    • GameGlobals::unk
    • GameGlobals::recorder
    • GameGlobals::vehicle
    • GameGlobals::water
    • GameGlobals::weapon
    • GameGlobals::worldprobe
    • GameGlobals::zone