-
Notifications
You must be signed in to change notification settings - Fork 1
AC Functions
Chris edited this page Oct 6, 2020
·
1 revision
Function Name | Arguments | Description |
---|---|---|
console | ||
isAcLive | Returns if the simulation is running or nor. | |
log | msg: str | Logs a message to the default log file. |
restart | ||
shutdown |
Function Name | Arguments | Description |
---|---|---|
addButton | id: int text: str |
Creates a button and returns it's id. |
addCheckBox | ||
addGraph | ||
addLabel | ||
addListBox | ||
addProgressBar | ||
addSpinner | ||
addTextBox | ||
addTextInput | ||
initFont | ||
newApp |
Function Name | Arguments | Description |
---|---|---|
addItem | ||
addSerieToGraph | ||
addValueToGraph | ||
drawBackground | ||
drawBorder | ||
getItemCount | ||
getPosition | ||
getSelectedItems | ||
getSize | ||
getText | ||
getValue | ||
highlightListBoxItem | ||
removeItem | ||
setAllowDeselection | ||
setAllowMultiSelection | ||
setBackgroundColor | ||
setBackgroundOpacity | ||
setBackgroundTexture | ||
setCustomFont | ||
setFocus | ||
setFont | ||
setFontAlignment | ||
setFontColor | ||
setFontSize | ||
setIconPosition | ||
setItemNumberPerPage | ||
setPosition | ||
setRange | ||
setSize | ||
setStep | ||
setText | ||
setTitle | ||
setTitlePosition | ||
setValue | ||
setVisible |
Function Name | Arguments | Description |
---|---|---|
glBegin | ||
glColor3f | ||
glColor4f | ||
glEnd | ||
glQuad | ||
glQuadTextured | ||
glVertex2f | ||
newTexture |
Function Name | Arguments | Description |
---|---|---|
addOnAppActivatedListener | ||
addOnAppDismissedListener | ||
addOnChatMessageListener | a b |
|
addOnCheckBoxChanged | ||
addOnClickedListener | ||
addOnListBoxDeselectionListener | ||
addOnListBoxSelectionListener | ||
addOnValidateListener | ||
addOnValueChangeListener | ||
addRenderCallback |
Function Name | Arguments | Description |
---|---|---|
focusCar | ||
freeCameraMoveForward | a b args |
|
freeCameraMoveRight | ||
freeCameraMoveUpWorld | ||
freeCameraRotateHeading | ||
freeCameraRotatePitch | a b c d |
|
freeCameraRotateRoll | ||
freeCameraSetClearColor | ||
getCameraCarCount | ||
getCameraMode | ||
getFocusedCar | ||
isCameraOnboard | ||
setCameraCar | ||
setCameraMode |
Function Name | Arguments | Description |
---|---|---|
getCarBallast | ||
getCarEngineBrakeCount | ||
getCarFFB | ||
getCarLeaderboardPosition | ||
getCarMinHeight | ||
getCarName | ||
getCarPowerControllerCount | ||
getCarRealTimeLeaderboardPosition | ||
getCarRestrictor | a b |
|
getCarSkin | ||
getCarState | ||
getCarTyreCompound | ||
getCarTyreCompound | ||
isAIControlled | ||
isCarInPit | ||
isCarInPitlane | ||
isCarInPitline | ||
setCarFFB |
Function Name | Arguments | Description |
---|---|---|
getDriverName | ||
getDriverNationCode | ||
getCurrentSplits | ||
getLastSplits | ||
isConnected |
Function Name | Arguments | Description |
---|---|---|
getCarsCount | ||
getServerHttpPort | ||
getServerIP | ||
getServerName | ||
getServerSlotsCount | ||
sendChatMessage | msg: str |
Function Name | Arguments | Description |
---|---|---|
getTrackConfiguration | ||
getTrackLength | ||
getTrackName | ||
getWindDirection | ||
getWindSpeed | a b |
Function Name | Arguments | Description |
---|---|---|
ext_applyTrackConfig | a | |
ext_chaserCameraDebugText | ||
ext_currentPpFilter | a b |
|
ext_debugFn | a b |
|
ext_debugLights | ||
ext_debugWiperSoundState | ||
ext_getAltitude | ||
ext_getAmbientMult | ||
ext_getAngleSpeed | ||
ext_getBaseAltitude | ||
ext_getCameraFov | ||
ext_getCameraMatrix | a | |
ext_getCameraPos | a | |
ext_getCameraProj | a args |
|
ext_getCameraView | ||
ext_getCarLightsMirrorVisible | ||
ext_getCarLightsNum | ||
ext_getCarLightsVisible(a) | ||
ext_getHeadlights | a b c d e |
|
ext_getLightsMirrorVisible | ||
ext_getLightsNum | a | |
ext_getLightsVisible | a | |
ext_getTrackLightsMirrorVisible | ||
ext_getTrackLightsNum | a | |
ext_getTrackLightsVisible | ||
ext_getTyreBlister | a b |
|
ext_getTyreFlatSpot | a b |
|
ext_getTyreGrain | a | |
ext_getTyreVirtualKM | ||
ext_glSetTexture | a b |
|
ext_glTexCoord2f | ||
ext_isG27Available | ||
ext_isVaoPatchLoaded | ||
ext_mirrorAspectRatioDown | a b |
|
ext_mirrorAspectRatioUp | a | |
ext_mirrorCurrent | ||
ext_mirrorDebug | a | |
ext_mirrorDown | ||
ext_mirrorFovDown | ||
ext_mirrorFovUp | ||
ext_mirrorLeft | ||
ext_mirrorNext | a b |
|
ext_mirrorParams | a b |
|
ext_mirrorPrev | a | |
ext_mirrorRight | a | |
ext_mirrorToggleMon | a b |
|
ext_mirrorUp | ||
ext_patchVersion | ||
ext_patchVersionCode | ||
ext_pauseFsWatching | ||
ext_rainParams | ||
ext_rainParamsAdjust | ||
ext_rainParamsSet | ||
ext_resetCar | ||
ext_resumeFsWatching | a b c d |
|
ext_setCameraFov | ||
ext_setClipboardData | ||
ext_setDoorsOpen | ||
ext_setDriverVisible | a b |
|
ext_setG27Thresholds | a b c args |
|
ext_setTrackConditionInput | ||
ext_setVaoActive | ||
ext_takeAStepBack | a | |
ext_vaoDisable | a b c d |
|
ext_vaoNormal | ||
ext_vaoNormalDebug | a b |
|
ext_vaoOnly | ||
ext_weatherDebugText | ||
ext_weatherFxActive | ||
ext_weatherTimeOffset | a b |