Client-side CSharp functions: Difference between revisions

From RAGE Multiplayer Wiki
 
(5 intermediate revisions by the same user not shown)
Line 34: Line 34:


==Input==
==Input==
*[[RAGE.Input.IsUp|IsUp]]
*[[RAGE.Input.IsUp|RAGE.Input.IsUp]]
*[[RAGE.Input.IsDown|IsDown]]
*[[RAGE.Input.IsDown|RAGE.Input.IsDown]]
*[[RAGE.Input.TakeScreenshot|TakeScreenshot]]
*[[RAGE.Input.TakeScreenshot|RAGE.Input.TakeScreenshot]]


==Game==
==Game==
Line 49: Line 49:


===Cam===
===Cam===
*[[Cam::addCamSplineNode|AddCamSplineNode]]
{{Cam_definition_cs}}
*[[Cam::animatedShakeCam|AnimatedShakeCam]]
*[[Cam::animateGameplayCamZoom|AnimateGameplayCamZoom]]
*[[Cam::attachCamToEntity|AttachCamToEntity]]
*[[Cam::attachCamToPedBone|AttachCamToPedBone]]
*[[Cam::clampGameplayCamPitch|ClampGameplayCamPitch]]
*[[Cam::clampGameplayCamYaw|ClampGameplayCamYaw]]
*[[Cam::createCam|CreateCam]]
*[[Cam::createCamera|CreateCamera]]
*[[Cam::createCameraWithParams|CreateCameraWithParams]]
*[[Cam::createCamWithParams|CreateCamWithParams]]
*[[Cam::createCinematicShot|CreateCinematicShot]]
*[[Cam::destroyAllCams|DestroyAllCams]]
*[[Cam::destroyCam|DestroyCam]]
*[[Cam::detachCam|DetachCam]]
*[[Cam::disableAimCamThisUpdate|DisableAimCamThisUpdate]]
*[[Cam::disableFirstPersonCamThisFrame|DisableFirstPersonCamThisFrame]]
*[[Cam::disableVehicleFirstPersonCamThisFrame|DisableVehicleFirstPersonCamThisFrame]]
*[[Cam::doesCamExist|DoesCamExist]]
*[[Cam::doScreenFadeIn|DoScreenFadeIn]]
*[[Cam::doScreenFadeOut|DoScreenFadeOut]]
*[[Cam::enableCrosshairThisFrame|EnableCrosshairThisFrame]]
*[[Cam::getCamAnimCurrentPhase|GetCamAnimCurrentPhase]]
*[[Cam::getCamCoord|GetCamCoord]]
*[[Cam::getCamFarClip|GetCamFarClip]]
*[[Cam::getCamFarDof|GetCamFarDof]]
*[[Cam::getCamFov|GetCamFov]]
*[[Cam::getCamNearClip|GetCamNearClip]]
*[[Cam::getCamRot|GetCamRot]]
*[[Cam::getCamSplineNodeIndex|GetCamSplineNodeIndex]]
*[[Cam::getCamSplineNodePhase|GetCamSplineNodePhase]]
*[[Cam::getCamSplinePhase|GetCamSplinePhase]]
*[[Cam::getGameplayCamCoords|GetGameplayCamCoords]]
*[[Cam::getFollowPedCamViewMode|GetFollowPedCamViewMode]]
*[[Cam::getFollowPedCamZoomLevel|GetFollowPedCamZoomLevel]]
*[[Cam::getFollowVehicleCamViewMode|GetFollowVehicleCamViewMode]]
*[[Cam::getFollowVehicleCamZoomLevel|GetFollowVehicleCamZoomLevel]]
*[[Cam::getGameplayCamCoord|GetGameplayCamCoord]]
*[[Cam::getGameplayCamCoords|GetGameplayCamCoords]]
*[[Cam::getGameplayCamFov|GetGameplayCamFov]]
*[[Cam::getGameplayCamRelativeHeading|GetGameplayCamRelativeHeading]]
*[[Cam::getGameplayCamRelativePitch|GetGameplayCamRelativePitch]]
*[[Cam::getGameplayCamRot|GetGameplayCamRot]]
*[[Cam::getGameplayCamZoom|GetGameplayCamZoom]]
*[[Cam::getIsMultiplayerBrief|GetIsMultiplayerBrief]]
*[[Cam::getRenderingCam|GetRenderingCam]]
*[[Cam::isAimCamActive|IsAimCamActive]]
*[[Cam::isCamActive|IsCamActive]]
*[[Cam::isCamInterpolating|IsCamInterpolating]]
*[[Cam::isCamPlayingAnim|IsCamPlayingAnim]]
*[[Cam::isCamRendering|IsCamRendering]]
*[[Cam::isCamShaking|IsCamShaking]]
*[[Cam::isCamSplinePaused|IsCamSplinePaused]]
*[[Cam::isCinematicCamRendering|IsCinematicCamRendering]]
*[[Cam::isCinematicCamShaking|IsCinematicCamShaking]]
*[[Cam::isCinematicShotActive|IsCinematicShotActive]]
*[[Cam::isFirstPersonAimCamActive|IsFirstPersonAimCamActive]]
*[[Cam::isFollowPedCamActive|IsFollowPedCamActive]]
*[[Cam::isInVehicleCamDisabled|IsInVehicleCamDisabled]]
*[[Cam::isFollowVehicleCamActive|IsFollowVehicleCamActive]]
*[[Cam::isGameplayCamLookingBehind|IsGameplayCamLookingBehind]]
*[[Cam::isGameplayCamRendering|IsGameplayCamRendering]]
*[[Cam::isGameplayCamShaking|IsGameplayCamShaking]]
*[[Cam::isGameplayHintActive|IsGameplayHintActive]]
*[[Cam::isInVehicleCamDisabled|IsInVehicleCamDisabled]]
*[[Cam::isScreenFadedIn|IsScreenFadedIn]]
*[[Cam::isScreenFadedOut|IsScreenFadedOut]]
*[[Cam::isScreenFadingIn|IsScreenFadingIn]]
*[[Cam::isScreenFadingOut|IsScreenFadingOut]]
*[[Cam::isScriptGlobalShaking|IsScriptGlobalShaking]]
*[[Cam::isSphereVisible|IsSphereVisible]]
*[[Cam::overrideCamSplineMotionBlur|OverrideCamSplineMotionBlur]]
*[[Cam::overrideCamSplineVelocity|OverrideCamSplineVelocity]]
*[[Cam::playCamAnim|PlayCamAnim]]
*[[Cam::playSynchronizedCamAnim|PlaySynchronizedCamAnim]]
*[[Cam::pointCamAtCoord|PointCamAtCoord]]
*[[Cam::pointCamAtEntity|PointCamAtEntity]]
*[[Cam::pointCamAtPedBone|PointCamAtPedBone]]
*[[Cam::renderFirstPersonCam|RenderFirstPersonCam]]
*[[Cam::renderScriptCams|RenderScriptCams]]
*[[Cam::setCamActive|SetCamActive]]
*[[Cam::setCamActiveWithInterp|SetCamActiveWithInterp]]
*[[Cam::setCamAffectsAiming|SetCamAffectsAiming]]
*[[Cam::setCamAnimCurrentPhase|SetCamAnimCurrentPhase]]
*[[Cam::setCamCoord|SetCamCoord]]
*[[Cam::setCamDebugName|SetCamDebugName]]
*[[Cam::setCamDofFnumberOfLens|SetCamDofFnumberOfLens]]
*[[Cam::setCamDofFocusDistanceBias|SetCamDofFocusDistanceBias]]
*[[Cam::setCamDofMaxNearInFocusDistance|SetCamDofMaxNearInFocusDistance]]
*[[Cam::setCamDofMaxNearInFocusDistanceBlendLevel|SetCamDofMaxNearInFocusDistanceBlendLevel]]
*[[Cam::setCamDofPlanes|SetCamDofPlanes]]
*[[Cam::setCamDofStrength|SetCamDofStrength]]
*[[Cam::setCamEffect|SetCamEffect]]
*[[Cam::setCameraRange|SetCameraRange]]
*[[Cam::setCamFarClip|SetCamFarClip]]
*[[Cam::setCamFarDof|SetCamFarDof]]
*[[Cam::setCamFov|SetCamFov]]
*[[Cam::setCamInheritRollVehicle|SetCamInheritRollVehicle]]
*[[Cam::setCamMotionBlurStrength|SetCamMotionBlurStrength]]
*[[Cam::setCamNearClip|SetCamNearClip]]
*[[Cam::setCamNearDof|SetCamNearDof]]
*[[Cam::setCamParams|SetCamParams]]
*[[Cam::setCamRot|SetCamRot]]
*[[Cam::setCamShakeAmplitude|SetCamShakeAmplitude]]
*[[Cam::setCamSplineDuration|SetCamSplineDuration]]
*[[Cam::setCamSplinePhase|SetCamSplinePhase]]
*[[Cam::setCamUseShallowDofMode|SetCamUseShallowDofMode]]
*[[Cam::setCinematicButtonActive|SetCinematicButtonActive]]
*[[Cam::setCinematicCamShakeAmplitude|SetCinematicCamShakeAmplitude]]
*[[Cam::setCinematicModeActive|SetCinematicModeActive]]
*[[Cam::setFollowPedCamCutsceneChat|SetFollowPedCamCutsceneChat]]
*[[Cam::setFollowPedCamViewMode|SetFollowPedCamViewMode]]
*[[Cam::setFollowVehicleCamViewMode|SetFollowVehicleCamViewMode]]
*[[Cam::setFollowVehicleCamZoomLevel|SetFollowVehicleCamZoomLevel]]
*[[Cam::setGameplayCamRawPitch|SetGameplayCamRawPitch]]
*[[Cam::setGameplayCamRawYaw|SetGameplayCamRawYaw]]
*[[Cam::setGameplayCamRelativeHeading|SetGameplayCamRelativeHeading]]
*[[Cam::setGameplayCamRelativePitch|SetGameplayCamRelativePitch]]
*[[Cam::setGameplayCamShakeAmplitude|SetGameplayCamShakeAmplitude]]
*[[Cam::setGameplayCoordHint|SetGameplayCoordHint]]
*[[Cam::setGameplayEntityHint|SetGameplayEntityHint]]
*[[Cam::setGameplayHintFov|SetGameplayHintFov]]
*[[Cam::setGameplayObjectHint|SetGameplayObjectHint]]
*[[Cam::setGameplayPedHint|SetGameplayPedHint]]
*[[Cam::setGameplayVehicleHint|SetGameplayVehicleHint]]
*[[Cam::setTimeIdleDrop|SetTimeIdleDrop]]
*[[Cam::setUseHiDof|SetUseHiDof]]
*[[Cam::setWidescreenBorders|SetWidescreenBorders]]
*[[Cam::shakeCam|ShakeCam]]
*[[Cam::shakeCinematicCam|ShakeCinematicCam]]
*[[Cam::shakeGameplayCam|ShakeGameplayCam]]
*[[Cam::stopCamPointing|StopCamPointing]]
*[[Cam::stopCamShaking|StopCamShaking]]
*[[Cam::stopCinematicCamShaking|StopCinematicCamShaking]]
*[[Cam::stopCinematicShot|StopCinematicShot]]
*[[Cam::stopCutsceneCamShaking|StopCutsceneCamShaking]]
*[[Cam::stopGameplayCamShaking|StopGameplayCamShaking]]
*[[Cam::stopGameplayHint|StopGameplayHint]]
*[[Cam::stopScriptGlobalShaking|StopScriptGlobalShaking]]
*[[Cam::_getGameplayCamRot|_getGameplayCamRot]]


===Clock===
===Clock===
*[[Time::addToClockTime|AddToClockTime]]
{{Clock_definition_cs}}
*[[Time::advanceClockTimeTo|AdvanceClockTimeTo]]
*[[Time::getClockDayOfMonth|GetClockDayOfMonth]]
*[[Time::getClockDayOfWeek|GetClockDayOfWeek]]
*[[Time::getClockHours|GetClockHours]]
*[[Time::getClockMinutes|GetClockMinutes]]
*[[Time::getClockMonth|GetClockMonth]]
*[[Time::getClockSeconds|GetClockSeconds]]
*[[Time::getClockYear|GetClockYear]]
*[[Time::getLocalTime|GetLocalTime]]
*[[Time::getMillisecondsPerGameMinute|GetMillisecondsPerGameMinute]]
*[[Time::getPosixTime|GetPosixTime]]
*[[Time::getUtcTime|GetUtcTime]]
*[[Time::pauseClock|PauseClock]]
*[[Time::setClockDate|SetClockDate]]
*[[Time::setClockTime|SetClockTime]]


===Cutscene===
===Cutscene===
*[[Cutscene::canSetEnterStateForRegisteredEntity|CanSetEnterStateForRegisteredEntity]]
{{Cutscene_definition_cs}}
*[[Cutscene::canSetExitStateForCamera|CanSetExitStateForCamera]]
*[[Cutscene::canSetExitStateForRegisteredEntity|CanSetExitStateForRegisteredEntity]]
*[[Cutscene::doesCutsceneEntityExist|DoesCutsceneEntityExist]]
*[[Cutscene::getCutsceneSectionPlaying|GetCutsceneSectionPlaying]]
*[[Cutscene::getCutsceneTime|GetCutsceneTime]]
*[[Cutscene::getCutsceneTotalDuration|GetCutsceneTotalDuration]]
*[[Cutscene::getEntityIndexOfCutsceneEntity|GetEntityIndexOfCutsceneEntity]]
*[[Cutscene::getEntityIndexOfRegisteredEntity|GetEntityIndexOfRegisteredEntity]]
*[[Cutscene::hasCutsceneFinished|HasCutsceneFinished]]
*[[Cutscene::hasCutsceneLoaded|HasCutsceneLoaded]]
*[[Cutscene::hasThisCutsceneLoaded|HasThisCutsceneLoaded]]
*[[Cutscene::isCutsceneActive|IsCutsceneActive]]
*[[Cutscene::isCutscenePlaying|IsCutscenePlaying]]
*[[Cutscene::registerEntityForCutscene|RegisterEntityForCutscene]]
*[[Cutscene::registerSynchronisedScriptSpeech|RegisterSynchronisedScriptSpeech]]
*[[Cutscene::removeCutscene|RemoveCutscene]]
*[[Cutscene::requestCutscene|RequestCutscene]]
*[[Cutscene::requestCutsceneEx|RequestCutsceneEx]]
*[[Cutscene::setCutsceneFadeValues|SetCutsceneFadeValues]]
*[[Cutscene::setCutsceneOrigin|SetCutsceneOrigin]]
*[[Cutscene::setCutscenePedComponentVariation|SetCutscenePedComponentVariation]]
*[[Cutscene::setCutscenePedPropVariation|SetCutscenePedPropVariation]]
*[[Cutscene::setCutsceneTriggerArea|SetCutsceneTriggerArea]]
*[[Cutscene::startCutscene|StartCutscene]]
*[[Cutscene::startCutsceneAtCoords|StartCutsceneAtCoords]]
*[[Cutscene::stopCutscene|StopCutscene]]
*[[Cutscene::stopCutsceneImmediately|StopCutsceneImmediately]]
*[[Cutscene::wasCutsceneSkipped|WasCutsceneSkipped]]


===Datafile===
===Datafile===
Line 3,098: Line 2,916:
==Ui==
==Ui==
===[[RAGE.Ui.HtmlWindow|HtmlWindow]]===
===[[RAGE.Ui.HtmlWindow|HtmlWindow]]===
*[[RAGE.Ui.HtmlWindow.Active|Active]]
{{HtmlWindow_definition_cs}}
*[[RAGE.Ui.HtmlWindow.ExecuteJs|ExecuteJs]]
*[[RAGE.Ui.HtmlWindow.Destroy|Destroy]]


===[[RAGE.Ui.DefaultWindow|DefaultWindow]]===
===[[RAGE.Ui.DefaultWindow|DefaultWindow]]===

Latest revision as of 19:47, 20 August 2024

Chat

Discord

Elements

Blip

Checkpoint

Entity

MapObject

Ped

Vehicle

Events

Input

Game

Ai

App

Audio

Cam

Clock

Cutscene

Datafile

Decorator

Dlc

Entity

Event

Files

Fire

Graphics

Interior

Itemset

Locale

Misc

Mobile

Netcash

Netshop

Network

Object

Pad

Pathfind

Ped

Physics

Player

Recording

Rendering

Script

Shapetest

Socialclub

Stats

Streaming

Task

Ui

Utils

Vehicle

Water

Weapon

Zone


Nametags

NUI

Sprite

UIMenuCheckboxItem

UIMenuDynamicListItem

UIMenuItem

UIMenuListItem

MenuPool

UIMenu

Ui

HtmlWindow

DefaultWindow

Ui.Cursor

Voice