diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b8814503e..5ac9d5ea58 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 5.2.0 + +``` +- Startup time performance improvements +- Upgrade dependencies +- Patch upgraded dependencies +``` + ## 5.1.0 ``` diff --git a/package.json b/package.json index 7bfcb98798..6ee99f00c2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "altv-athena", - "version": "5.1.0", + "version": "5.2.0", "description": "a roleplay framework for alt:V", "author": "stuyk", "type": "module", @@ -16,46 +16,43 @@ "check": "tsc -p ./tsconfig.json | node ./scripts/fileChecker/index.js", "fix": "node ./scripts/doctor/index.js", "[-] Vue WebView Deployment": "", - "vue-dev": "node ./scripts/plugins/webview && node ./scripts/plugins/files && npx vite ./src-webviews --clearScreen=false --host=localhost --port=3000", + "vue-dev": "node ./scripts/plugins/webview.js && node ./scripts/plugins/files.js && npx vite ./src-webviews --clearScreen=false --host=localhost --port=3000", "[-] Utility": "", "docs": "npx typedoc --options ./src/core/typedoc.json && node ./scripts/documentation/index.js", "fix-natives": "node ./scripts/natives-upgrade/index.js", "test": "" }, "devDependencies": { - "@altv/types-client": "^2.6.3", - "@altv/types-natives": "^1.5.3", - "@altv/types-server": "^2.7.3", - "@altv/types-shared": "^1.4.8", - "@altv/types-webview": "^1.0.5", + "@altv/types-client": "^3.0.3", + "@altv/types-natives": "^1.5.4", + "@altv/types-server": "^3.1.1", + "@altv/types-shared": "^1.6.6", + "@altv/types-webview": "^1.0.7", "@altv/types-worker": "1.0.7", "@babel/types": "^7.17.0", "@stuyk/altv-config": "^4.0.1", "@swc/cli": "0.1.62", - "@swc/core": "1.3.40", - "@types/glob": "^7.2.0", + "@swc/core": "1.3.92", "@types/minimatch": "^3.0.5", "@types/node": "^14.6.1", "@types/sockjs": "^0.3.33", "@types/sockjs-client": "^1.5.1", - "altv-pkg": "^2.2.0", - "fkill": "^8.0.1", - "fs-extra": "^10.1.0", - "glob": "^8.0.3", + "altv-pkg": "^2.3.1", + "fkill": "^8.1.1", + "glob": "^10.3.1", "prettier": "^2.6.2", "stylus": "^0.58.1", - "typescript": "4.6.3", - "vite": "^4.2.0", - "vite-plugin-monaco-editor": "^1.1.0", - "vue": "^3.2.47" + "typescript": "^5.2.2", + "vite": "^4.4.11", + "vue": "^3.3.4" }, "dependencies": { - "@stuyk/ezmongodb": "3.0.0", + "@stuyk/ezmongodb": "3.0.1", "@vitejs/plugin-vue": "^4.1.0", - "axios": "0.26.1", + "axios": "1.5.1", "bip39": "^3.1.0", "elliptic": "6.5.4", - "njwt": "^1.2.0", + "njwt": "^2.0.0", "sjcl": "1.0.8", "sockjs": "0.3.21", "sockjs-client": "1.5.2" diff --git a/scripts/buildresource/index.js b/scripts/buildresource/index.js index 45f2cdbf02..72c88d2a43 100644 --- a/scripts/buildresource/index.js +++ b/scripts/buildresource/index.js @@ -1,8 +1,8 @@ -import fs from 'fs-extra'; -import glob from 'glob'; import path from 'path'; +import { sanitizePath } from '../shared/path.js'; +import { globSync, writeFile } from '../shared/fileHelpers.js'; -const scriptPath = path.join(process.cwd(), '/scripts/buildresource/resource.json'); +const scriptPath = sanitizePath(path.join(process.cwd(), '/scripts/buildresource/resource.json')); const defaults = { type: 'js', main: 'server/startup.js', @@ -13,33 +13,20 @@ const defaults = { }; async function getClientPluginFolders() { - let folders = []; - - const removalPath = path.join(process.cwd(), 'src/core/').replace(/\\/gm, '/'); - const results = await new Promise((resolve) => { - glob(path.join(process.cwd(), `src/core/plugins/**/@(client|shared)`).replace(/\\/g, '/'), (err, files) => { - if (err) { - resolve([]); - return; - } - - files = files.map((fileName) => { - return fileName.replace(removalPath, '') + `/*`; - }); - - resolve(files); - }); - }); - - folders = folders.concat(results); - return folders; + const removalPath = sanitizePath(path.join(process.cwd(), 'src/core/')); + const results = globSync(sanitizePath(path.join(process.cwd(), `src/core/plugins/**/@(client|shared)`))).map( + (fileName) => { + return fileName.replace(removalPath, '') + `/*`; + }, + ); + + return results; } async function start() { const folders = await getClientPluginFolders(); defaults['client-files'] = [...defaults['client-files'], ...folders]; - - fs.outputFileSync(scriptPath, JSON.stringify(defaults, null, '\t')); + writeFile(scriptPath, JSON.stringify(defaults, null, '\t')); } start(); diff --git a/scripts/clothes/getFileNames.js b/scripts/clothes/getFileNames.js index 9d620a4027..a88fbaa04f 100644 --- a/scripts/clothes/getFileNames.js +++ b/scripts/clothes/getFileNames.js @@ -1,13 +1,13 @@ -import glob from 'glob'; -import fs from 'fs' +import { globSync, writeFile } from '../shared/fileHelpers.js'; async function start() { - const files = glob.sync(`./src-webviews/public/assets/images/clothing/**/*.png`) + let files = globSync(`./src-webviews/public/assets/images/clothing/**/*.png`); + for (let i = 0; i < files.length; i++) { files[i] = files[i].split(`/`).pop(); } - const componentsList = files.filter(f => { + const componentsList = files.filter((f) => { if (f.includes('prop')) { return false; } @@ -19,7 +19,7 @@ async function start() { return true; }); - fs.writeFileSync('clothes.json', JSON.stringify(componentsList, null, '\t')); + writeFile('clothes.json', JSON.stringify(componentsList, null, '\t')); } -start(); \ No newline at end of file +start(); diff --git a/scripts/compiler/core.js b/scripts/compiler/core.js index 85779e182c..5cf58bab66 100644 --- a/scripts/compiler/core.js +++ b/scripts/compiler/core.js @@ -1,40 +1,20 @@ import swc from '@swc/core'; -import fs from 'fs-extra'; -import glob from 'glob'; import path from 'path'; +import fs from 'node:fs'; +import { copySync, getAllPluginFolders, getPluginFolder, globSync, writeFile } from '../shared/fileHelpers.js'; +import { sanitizePath } from '../shared/path.js'; const viablePluginDisablers = ['disable.plugin', 'disabled.plugin', 'disable']; -/** @type {import('@swc/core').Config} */ -const SWC_CONFIG = { - jsc: { - parser: { - syntax: 'typescript', - dynamicImport: true, - decorators: true, - }, - transform: { - legacyDecorator: true, - decoratorMetadata: true, - }, - target: 'es2020', - }, - sourceMaps: false, -}; - -function sanitizePath(p) { - return p.replace(/\\/g, path.sep); -} - function getEnabledPlugins() { - const rootPath = sanitizePath(path.join(process.cwd(), 'src/core/plugins')).replace(/\\/g, '/'); - const pluginFolders = fs.readdirSync(rootPath); + const pluginFolder = getPluginFolder(); + const pluginFolders = getAllPluginFolders(); return pluginFolders.filter((pluginName) => { - const pluginPath = sanitizePath(path.join(rootPath, pluginName)).replace(/\\/g, '/'); + const pluginPath = sanitizePath(path.join(pluginFolder, pluginName)); for (const fileName of viablePluginDisablers) { - const disabledPath = sanitizePath(path.join(pluginPath, fileName)).replace(/\\/g, '/'); + const disabledPath = sanitizePath(path.join(pluginPath, fileName)); if (fs.existsSync(disabledPath)) { return false; @@ -47,7 +27,7 @@ function getEnabledPlugins() { function getFilesForTranspilation(enabledPlugins) { const rootPath = sanitizePath(path.join(process.cwd(), 'src/**/*.ts').replace(/\\/g, '/')); - const files = glob.sync(rootPath, { + const files = globSync(rootPath, { nodir: true, ignore: [ '**/node_modules/**', @@ -57,7 +37,7 @@ function getFilesForTranspilation(enabledPlugins) { for (const pluginName of enabledPlugins) { const pluginPath = sanitizePath(path.join(process.cwd(), 'src/core/plugins', pluginName).replace(/\\/g, '/')); - const pluginFiles = glob.sync(path.join(pluginPath, '**/*.ts').replace(/\\/g, '/'), { + const pluginFiles = globSync(path.join(pluginPath, '**/*.ts').replace(/\\/g, '/'), { nodir: true, ignore: ['**/imports.ts', '**/webview/**'], }); @@ -72,8 +52,7 @@ function getFilesForTranspilation(enabledPlugins) { function getFilesToCopy(enabledPlugins) { const filePath = sanitizePath(path.join(process.cwd(), 'src', '**/*.!(ts|vue)').replace(/\\/g, '/')); - - return glob.sync(filePath, { + return globSync(filePath, { nodir: true, ignore: ['**/tsconfig.json', '**/dependencies.json', `**/core/plugins/!(${enabledPlugins.join('|')})/**`], }); @@ -103,35 +82,50 @@ function resolvePaths(file, rawCode) { return rawCode; } +/** + * Transpile / compile a typescript file + * + * @param {Promise} file + */ async function transpileFile(file) { const targetPath = file.replace('src/', 'resources/').replace('.ts', '.js'); + const result = await swc.transformFile(file, { + jsc: { + parser: { + syntax: 'typescript', + dynamicImport: true, + decorators: true, + }, + transform: { + legacyDecorator: true, + decoratorMetadata: true, + }, + target: 'es2020', + }, + sourceMaps: false, + }); - return new Promise(async (resolve) => { - const result = await swc.transformFile(file, SWC_CONFIG); - if (!result) { - console.warn(`Failed to compile: ${targetPath}`); - } + if (!result) { + console.warn(`Failed to compile: ${targetPath}`); + } - // The path resolvers are really awful, so writing a custom one here. - if (result.code.includes('@Athena')) { - result.code = resolvePaths(file, result.code); - } + // The path resolvers are really awful, so writing a custom one here. + if (result.code.includes('@Athena')) { + result.code = resolvePaths(file, result.code); + } - const finalFile = `// YOU ARE EDITING COMPILED FILES. DO NOT EDIT THESE FILES \r\n` + result.code; - fs.outputFileSync(targetPath, finalFile); - resolve(); - }); + const finalFile = `// YOU ARE EDITING COMPILED FILES. DO NOT EDIT THESE FILES \r\n` + result.code; + writeFile(targetPath, finalFile); } async function run() { - const startTime = +new Date(); const enabledPlugins = getEnabledPlugins(); const filesToTranspile = getFilesForTranspilation(enabledPlugins); const filesToCopy = getFilesToCopy(enabledPlugins); const resourcesFolder = sanitizePath(path.join(process.cwd(), 'resources')).replace(/\\/g, '/'); - const filesAndDirectories = await fs.readdir(resourcesFolder); + const filesAndDirectories = await fs.readdirSync(resourcesFolder); for (const fileOrDirectory of filesAndDirectories) { const fullPath = sanitizePath(path.join(resourcesFolder, fileOrDirectory)).replace(/\\/g, '/'); @@ -146,13 +140,15 @@ async function run() { for (const file of filesToCopy) { const targetPath = file.replace('src/', 'resources/'); - fs.copy(file, targetPath, { overwrite: true }); + if (file === targetPath) { + continue; + } + + copySync(file, targetPath); } const promises = filesToTranspile.map((file) => transpileFile(file)); await Promise.all(promises); - - console.log(`Compiled: ${filesToTranspile.length} || Copied: ${filesToCopy.length}`); } run(); diff --git a/scripts/compiler/scripts.js b/scripts/compiler/scripts.js index 73da9ad1da..af71822efe 100644 --- a/scripts/compiler/scripts.js +++ b/scripts/compiler/scripts.js @@ -1,7 +1,7 @@ import swc from '@swc/core'; -import fs from 'fs-extra'; -import glob from 'glob'; +import fs from 'node:fs'; import path from 'path'; +import { copySync, globSync, writeFile } from '../shared/fileHelpers.js'; const FILES_TO_COMPILE = [ // @@ -15,81 +15,77 @@ const FOLDERS_TO_CLEAN = [ 'scripts/streamer/dist', ]; -const SWC_CONFIG = { - jsc: { - parser: { - syntax: 'typescript', - dynamicImport: true, - }, - target: 'es2020', - }, - sourceMaps: true, -}; - async function cleanFolders() { const promises = []; for (const folder of FOLDERS_TO_CLEAN) { - promises.push(fs.rm(path.join(process.cwd(), folder), { recursive: true, force: true })); + promises.push( + new Promise((resolve) => { + fs.rm(path.join(process.cwd(), folder), { recursive: true, force: true }, (err) => { + if (err) { + throw err; + } + + resolve(); + }); + }), + ); } await Promise.all(promises); } -function generatePromise(somePath) { - return new Promise((resolve) => { - glob(somePath, (_err, _files) => { - resolve(_files); - }); - }); -} - async function getFiles() { - return new Promise(async () => { - let files = []; - for (const file of FILES_TO_COMPILE) { - const somePath = path.join(process.cwd(), file).replace(/\\/g, '/'); - const filesFound = generatePromise(somePath); + let files = []; + for (const file of FILES_TO_COMPILE) { + const somePath = path.join(process.cwd(), file).replace(/\\/g, '/'); + const filesFound = globSync(somePath); + files = files.concat(filesFound); + } - files = files.concat(filesFound); - } - }); + return files; } async function copyFiles() { - let promises = []; let files = []; if (FILES_TO_COPY.length > 0) { for (const file of FILES_TO_COPY) { const somePath = path.join(process.cwd(), file).replace(/\\/g, '/'); - const somePromise = generatePromise(somePath).then((_files) => { - files = files.concat(_files); - }); - - promises.push(somePromise); + const _files = globSync(somePath); + files = files.concat(_files); } } - await Promise.all(promises); - promises = []; - for (const file of files) { const originalPath = file; let newPath = file.replace('src/', 'resources/'); - const newPromise = fs.copy(originalPath, newPath, { recursive: true, overwrite: true }); - promises.push(newPromise); + copySync(originalPath, newPath); } - await Promise.all(promises); return files; } +/** + * Files to transpile + * + * @param {string[]} files + * @return {*} + */ async function compileFiles(files) { const coreFiles = []; for (const file of files) { - swc.transformFile(file, SWC_CONFIG).then(async (output) => { + swc.transformFile(file, { + jsc: { + parser: { + syntax: 'typescript', + dynamicImport: true, + }, + target: 'es2020', + }, + sourceMaps: true, + }).then(async (output) => { let newPath = file.replace('src/', 'resources/').replace('.ts', '.js'); if (file.includes('scripts')) { @@ -108,7 +104,7 @@ async function compileFiles(files) { }); }); - await fs.outputFile(coreFile.path, coreFile.code); + await writeFile(coreFile.path, coreFile.code); coreFiles.push(coreFile.path); }); } diff --git a/scripts/doctor/files.js b/scripts/doctor/files.js index 9c2b067d5c..2000c1be6d 100644 --- a/scripts/doctor/files.js +++ b/scripts/doctor/files.js @@ -1,8 +1,8 @@ -import glob from 'glob'; +import { globSync } from '../shared/fileHelpers.js'; export async function fileChecker() { const fileList = await new Promise((resolve) => { - glob('./{src,src-webviews,resources}/**/*', (err, files) => { + globSync('./{src,src-webviews,resources}/**/*', (err, files) => { if (err) { return resolve(files); } @@ -14,7 +14,7 @@ export async function fileChecker() { console.log(`Verifying ${fileList.length} Files`); let validated = 0; for (let filePath of fileList) { - let isValid = /^[a-zA-Z 0-9\-._\/\\]+$/g.test(filePath) + let isValid = /^[a-zA-Z 0-9\-._\/\\]+$/g.test(filePath); if (isValid) { validated += 1; @@ -23,5 +23,5 @@ export async function fileChecker() { } } - console.log(`${validated}/${fileList.length} Validated`) -} \ No newline at end of file + console.log(`${validated}/${fileList.length} Validated`); +} diff --git a/scripts/doctor/index.js b/scripts/doctor/index.js index 5f6d7bdf92..458a9a37fb 100644 --- a/scripts/doctor/index.js +++ b/scripts/doctor/index.js @@ -1,8 +1,8 @@ import fs from 'fs'; -import glob from 'glob'; import path from 'path'; import { fileChecker } from './files.js'; import { verifyFileNames } from '../fileChecker/index.js'; +import { globSync } from '../shared/fileHelpers.js'; function sanitizePath(p) { return p.replace(/\\/g, '/'); @@ -37,13 +37,13 @@ async function cleanup() { fs.rmSync('athena-cache', { recursive: true, force: true }); } - const coreResourcesPath = sanitizePath(path.join('resources', 'core')) + const coreResourcesPath = sanitizePath(path.join('resources', 'core')); if (fs.existsSync(coreResourcesPath)) { console.log(`Removing resources/core`); fs.rmSync(coreResourcesPath, { recursive: true, force: true }); } - const coreWebviewsPath = sanitizePath(path.join('resources', 'webviews')) + const coreWebviewsPath = sanitizePath(path.join('resources', 'webviews')); if (fs.existsSync(coreWebviewsPath)) { console.log(`Removing resources/webviews`); fs.rmSync(coreWebviewsPath, { recursive: true, force: true }); @@ -56,7 +56,7 @@ async function cleanup() { let badFiles = []; badFiles = await new Promise((resolve) => { - glob('./{src,src-webviews}/core/**/*.js', (err, files) => { + globSync('./{src,src-webviews}/core/**/*.js', (err, files) => { if (err) { return resolve(files); } @@ -72,7 +72,7 @@ async function cleanup() { } } - const badFileTypeDefs = glob.sync('./src/**/*.d.ts'); + const badFileTypeDefs = globSync('./src/**/*.d.ts'); for (const file of badFileTypeDefs) { if (fs.existsSync(file)) { console.log(`Removed File: ${file}`); diff --git a/scripts/documentation/index.js b/scripts/documentation/index.js index edb30db339..18d034b843 100644 --- a/scripts/documentation/index.js +++ b/scripts/documentation/index.js @@ -1,10 +1,10 @@ import path from 'path'; import fs from 'fs'; -import glob from 'glob'; +import { globSync, writeFile } from '../shared/fileHelpers.js'; const docsPath = join(process.cwd(), './docs'); const filesToRemove = ['.nojekyll', 'modules.md', 'README.md']; -const files = glob.sync(join(docsPath, '/**/*.md')); +const files = globSync(join(docsPath, '/**/*.md')); /** * @@ -88,5 +88,5 @@ for (let file of files) { i += 1; // Increment by 1 to prevent endless loop } - fs.writeFileSync(file, rows.join('\n')); + writeFile(file, rows.join('\n')); } diff --git a/scripts/natives-upgrade/index.js b/scripts/natives-upgrade/index.js deleted file mode 100644 index efc73a483d..0000000000 --- a/scripts/natives-upgrade/index.js +++ /dev/null @@ -1,27 +0,0 @@ -import glob from 'glob'; -import fs from 'fs'; - -async function start() { - glob('./src/core/**/*.ts', (err, files) => { - if (err) { - return resolve(files); - } - - const nativeContent = JSON.parse(fs.readFileSync('./scripts/natives-upgrade/replacements.json', 'utf-8')); - - for (let filePath of files) { - let originalContent = fs.readFileSync(filePath, 'utf-8'); - - for (let native of nativeContent) { - if (originalContent.includes(native.from)) { - console.log(`[Native Replacement] ${native.from}, replaced with ${native.to}`); - originalContent = originalContent.replace(native.from, native.to); - } - } - - fs.writeFileSync(filePath, originalContent); - } - }); -} - -start(); diff --git a/scripts/natives-upgrade/replacements.json b/scripts/natives-upgrade/replacements.json deleted file mode 100644 index 9b70dca6a5..0000000000 --- a/scripts/natives-upgrade/replacements.json +++ /dev/null @@ -1,7822 +0,0 @@ -[ - { - "from": "setThreadPriority", - "to": "setThisThreadPriority" - }, - { - "from": "_0xC8B1B2425604CDD0", - "to": "isMobileInterferenceActive" - }, - { - "from": "_0x33E3C6C6F2F0B506", - "to": "setPositionForNullConvPed" - }, - { - "from": "_0x892B6AB8F33606F5", - "to": "setEntityForNullConvPed" - }, - { - "from": "_0x0B568201DD99F0EB", - "to": "setConversationAudioControlledByAnim" - }, - { - "from": "_0x61631F5DF50D1C34", - "to": "setConversationAudioPlaceholder" - }, - { - "from": "_0xAA19F5572C38B564", - "to": "getVariationChosenForScriptedLine" - }, - { - "from": "_0xB542DE8C3D1CB210", - "to": "setNoDuckingForConversation" - }, - { - "from": "_0x40763EA7B9B783E7", - "to": "hintMissionAudioBank" - }, - { - "from": "_0x19AF7ED9B9D23058", - "to": "unhintAmbientAudioBank" - }, - { - "from": "_0x9AC92EED5E4793AB", - "to": "unhintScriptAudioBank" - }, - { - "from": "_0x11579D940949C49E", - "to": "unhintNamedScriptAudioBank" - }, - { - "from": "_0x5B9853296731E88D", - "to": "playSoundFromEntityHash" - }, - { - "from": "_0x7EC3C679D0E7E46B", - "to": "updateSoundCoord" - }, - { - "from": "setPedScream", - "to": "setPedVoiceFull" - }, - { - "from": "_0x1B7ABE26CBCBF8C7", - "to": "setPedRaceAndVoiceGroup" - }, - { - "from": "setPedAudioGender", - "to": "setPedGender" - }, - { - "from": "_0x30CA2EF91D15ADF8", - "to": "isAnyPositionalSpeechPlaying" - }, - { - "from": "canPedSpeak", - "to": "doesContextExistForThisPed" - }, - { - "from": "_0xFF266D1D0EB1195D", - "to": "setRadioRetuneUp" - }, - { - "from": "_0xDD6BCF9E94425DF9", - "to": "setRadioRetuneDown" - }, - { - "from": "setVehHasRadioOverride", - "to": "setVehHasNormalRadio" - }, - { - "from": "isVehicleRadioEnabled", - "to": "isVehicleRadioOn" - }, - { - "from": "_0xC1805D05E6D4FE10", - "to": "setVehForcedRadioThisFrame" - }, - { - "from": "setRadioTrackMix", - "to": "setRadioTrackWithStartOffset" - }, - { - "from": "_0x55ECF4D13D9903B0", - "to": "setNextRadioTrack" - }, - { - "from": "isVehicleRadioLoud", - "to": "canVehicleReceiveCbRadio" - }, - { - "from": "_0xDA07819E452FFE8F", - "to": "setPositionedPlayerVehicleRadioEmitterEnabled" - }, - { - "from": "updateLsur", - "to": "updateUnlockableDjRadioTracks" - }, - { - "from": "setRadioStationIsVisible", - "to": "setRadioStationAsFavourite" - }, - { - "from": "_0xC64A06D939F826F5", - "to": "getNextAudibleBeat" - }, - { - "from": "forceRadioTrackListPosition", - "to": "forceMusicTrackList" - }, - { - "from": "getCurrentRadioStationHash", - "to": "getCurrentTrackPlayTime" - }, - { - "from": "_0x34D66BC058019CE0", - "to": "getCurrentTrackSoundName" - }, - { - "from": "_0xF3365489E0DD50F9", - "to": "setVehicleMissileWarningEnabled" - }, - { - "from": "_0x5D2BFAAB8D956E0E", - "to": "refreshClosestOceanShoreline" - }, - { - "from": "setVariableOnCutsceneAudio", - "to": "setVariableOnSynchSceneAudio" - }, - { - "from": "cancelCurrentPoliceReport", - "to": "cancelAllPoliceReports" - }, - { - "from": "_0x02E93C796ABD3A97", - "to": "setRadioPositionAudioMute" - }, - { - "from": "_0x58BB377BEC7CD5F4", - "to": "setVehicleConversationsPersist" - }, - { - "from": "_0x9BD7BD55E4533183", - "to": "setVehicleConversationsPersistNew" - }, - { - "from": "_0xF8AD2EED7C47E8FE", - "to": "blockAllSpeechFromPed" - }, - { - "from": "_0xAB6781A5F3101470", - "to": "stopPedSpeakingSynced" - }, - { - "from": "_0xA8A7D434AFB4B97B", - "to": "blockSpeechContextGroup" - }, - { - "from": "_0x2ACABED337622DF2", - "to": "unblockSpeechContextGroup" - }, - { - "from": "setSirenKeepOn", - "to": "setSirenBypassMpDriverCheck" - }, - { - "from": "triggerSiren", - "to": "triggerSirenAudio" - }, - { - "from": "soundVehicleHornThisFrame", - "to": "setHornPermanentlyOn" - }, - { - "from": "_0x9D3AF56E94C9AE98", - "to": "setHornPermanentlyOnTime" - }, - { - "from": "forceVehicleEngineAudio", - "to": "forceUseAudioGameObject" - }, - { - "from": "preloadVehicleAudio", - "to": "preloadVehicleAudioBank" - }, - { - "from": "_0x97FFB4ADEED08066", - "to": "setVehicleForceReverseWarning" - }, - { - "from": "_0x6FDDAD856E36988A", - "to": "setPlayerVehicleAlarmAudioActive" - }, - { - "from": "audioIsScriptedMusicPlaying", - "to": "audioIsMusicPlaying" - }, - { - "from": "_0x2DD39BF3E2F9C47F", - "to": "audioIsScriptedMusicPlaying" - }, - { - "from": "_0x159B7318403A1CD8", - "to": "setGlobalRadioSignalLevel" - }, - { - "from": "_0x70B8EC8FC108A634", - "to": "scriptOverridesWindElevation" - }, - { - "from": "_0x149AEE66F0CB3A99", - "to": "setPedWallaDensity" - }, - { - "from": "_0x8BF907833BE275DE", - "to": "setPedInteriorWallaDensity" - }, - { - "from": "setPedAudioFootstepLoud", - "to": "setPedFootstepsEventsEnabled" - }, - { - "from": "setPedAudioFootstepQuiet", - "to": "setPedClothEventsEnabled" - }, - { - "from": "_0xBF4DC1784BE94DFA", - "to": "useFootstepScriptSweeteners" - }, - { - "from": "_0x43FA0DFC5DF87815", - "to": "setSirenCanBeControlledByAudio" - }, - { - "from": "_0xB81CF134AEB56FFB", - "to": "enableStuntJumpAudio" - }, - { - "from": "_0xC8EDE9BDBCCBA6D4", - "to": "initSynchSceneAudioWithPosition" - }, - { - "from": "setSynchronizedAudioEventPositionThisFrame", - "to": "initSynchSceneAudioWithEntity" - }, - { - "from": "_0xE4E6DD5566D28C82", - "to": "stopSmokeGrenadeExplosionSounds" - }, - { - "from": "_0xBEF34B1D9624D5DD", - "to": "setSkipMinigunSpinUpAudio" - }, - { - "from": "hasMultiplayerAudioDataLoaded", - "to": "hasLoadedMpDataSet" - }, - { - "from": "hasMultiplayerAudioDataUnloaded", - "to": "hasLoadedSpDataSet" - }, - { - "from": "getVehicleDefaultHornVariation", - "to": "getVehicleHornSoundIndex" - }, - { - "from": "setVehicleHornVariation", - "to": "setVehicleHornSoundIndex" - }, - { - "from": "_0x0B40ED49D7D6FF84", - "to": "reactivateAllWorldBrainsThatAreWaitingTillOutOfRange" - }, - { - "from": "_0x4D953DF78EBF8158", - "to": "reactivateAllObjectBrainsThatAreWaitingTillOutOfRange" - }, - { - "from": "_0x6D6840CEE8845831", - "to": "reactivateNamedWorldBrainsWaitingTillOutOfRange" - }, - { - "from": "_0x6E91B04E08773030", - "to": "reactivateNamedObjectBrainsWaitingTillOutOfRange" - }, - { - "from": "_0xAABD62873FFB1A33", - "to": "forceCamFarClip" - }, - { - "from": "_0xF55E4046F6F831DC", - "to": "setCamDofOverriddenFocusDistance" - }, - { - "from": "_0xE111A7C0D200CBC5", - "to": "setCamDofOverriddenFocusDistanceBlendLevel" - }, - { - "from": "attachCamToPedBone2", - "to": "hardAttachCamToPedBone" - }, - { - "from": "_0x202A5ED9CE01D6E7", - "to": "hardAttachCamToEntity" - }, - { - "from": "_0x661B5C8654ADD825", - "to": "setCamControlsMiniMapHeading" - }, - { - "from": "_0xA2767257A320FC82", - "to": "setCamIsInsideVehicle" - }, - { - "from": "_0x271017B9BA825366", - "to": "allowMotionBlurDecay" - }, - { - "from": "getDebugCamera", - "to": "getDebugCam" - }, - { - "from": "_0x5D96CFB59DA076A0", - "to": "triggerVehiclePartBrokenCameraShake" - }, - { - "from": "setFlyCamVerticalSpeedMultiplier", - "to": "setFlyCamVerticalResponse" - }, - { - "from": "_0xC8B5C4A79CC18B94", - "to": "setFlyCamVerticalControlsThisUpdate" - }, - { - "from": "_0x5C48A1D6E3B33179", - "to": "wasFlyCamConstrainedOnPreviousUdpate" - }, - { - "from": "_0x4879E4FE39074CDF", - "to": "areWidescreenBordersActive" - }, - { - "from": "_0x487A82C650EB7799", - "to": "setGameplayCamMotionBlurScalingThisUpdate" - }, - { - "from": "_0x0225778816FDC28C", - "to": "setGameplayCamMaxMotionBlurStrengthThisUpdate" - }, - { - "from": "setGameplayCamRelativeRotation", - "to": "forceCameraRelativeHeadingAndPitch" - }, - { - "from": "_0x28B022A17B068A3A", - "to": "forceBonnetCameraRelativeHeadingAndPitch" - }, - { - "from": "setGameplayCamRawYaw", - "to": "setFirstPersonShooterCameraHeading" - }, - { - "from": "setGameplayCamRawPitch", - "to": "setFirstPersonShooterCameraPitch" - }, - { - "from": "_0x469F2ECDEC046337", - "to": "setScriptedCameraIsFirstPersonThisFrame" - }, - { - "from": "_0x3044240D2E0FA842", - "to": "isInterpolatingFromScriptCams" - }, - { - "from": "_0x705A276EBFF3133D", - "to": "isInterpolatingToScriptCams" - }, - { - "from": "_0xDB90C6CCA48940F1", - "to": "setGameplayCamAltitudeFovScalingState" - }, - { - "from": "enableCrosshairThisFrame", - "to": "disableGameplayCamAltitudeFovScalingThisUpdate" - }, - { - "from": "disableCamCollisionForEntity", - "to": "setGameplayCamIgnoreEntityCollisionThisUpdate" - }, - { - "from": "_0xA7092AFE81944852", - "to": "bypassCameraCollisionBuoyancyTestThisUpdate" - }, - { - "from": "_0xFD3151CD37EA2245", - "to": "setGameplayCamEntityToLimitFocusOverBoundingSphereThisUpdate" - }, - { - "from": "_0xB1381B97F70C7B30", - "to": "disableFirstPersonCameraWaterClippingTestThisUpdate" - }, - { - "from": "_0xDD79DF9F4D26E1C9", - "to": "setFollowCamIgnoreAttachParentMovementThisUpdate" - }, - { - "from": "_0x271401846BD26E92", - "to": "useScriptCamForAmbientPopulationOriginThisFrame" - }, - { - "from": "_0xC8391C309684595A", - "to": "setFollowPedCamLadderAlignThisUpdate" - }, - { - "from": "clampGameplayCamYaw", - "to": "setThirdPersonCamRelativeHeadingLimitsThisUpdate" - }, - { - "from": "clampGameplayCamPitch", - "to": "setThirdPersonCamRelativePitchLimitsThisUpdate" - }, - { - "from": "animateGameplayCamZoom", - "to": "setThirdPersonCamOrbitDistanceLimitsThisUpdate" - }, - { - "from": "disableFirstPersonCamThisFrame", - "to": "disableOnFootFirstPersonViewThisUpdate" - }, - { - "from": "_0x59424BD75174C9B1", - "to": "disableFirstPersonFlashEffectThisUpdate" - }, - { - "from": "_0x9F97DA93681F87EA", - "to": "blockFirstPersonOrientationResetThisUpdate" - }, - { - "from": "_0x91EF6EE6419E5B97", - "to": "setFollowVehicleCamHighAngleModeThisUpdate" - }, - { - "from": "_0x9DFE13ECDC1EC196", - "to": "setFollowVehicleCamHighAngleModeEveryUpdate" - }, - { - "from": "_0x79C0E43EB9B944E2", - "to": "setTableGamesCameraThisUpdate" - }, - { - "from": "useStuntCameraThisFrame", - "to": "useVehicleCamStuntSettingsThisUpdate" - }, - { - "from": "setGameplayCamHash", - "to": "useDedicatedStuntCameraThisUpdate" - }, - { - "from": "_0x0AA27680A0BD43FA", - "to": "forceVehicleCamStuntSettingsThisUpdate" - }, - { - "from": "setFollowTurretSeatCam", - "to": "setFollowVehicleCamSeatThisUpdate" - }, - { - "from": "isAimCamThirdPersonActive", - "to": "isAimCamActiveInAccurateMode" - }, - { - "from": "_0xCED08CBE8EBB97C7", - "to": "setFirstPersonAimCamZoomFactorLimitsThisUpdate" - }, - { - "from": "_0x2F7F2B26DD3F18EE", - "to": "setFirstPersonAimCamRelativeHeadingLimitsThisUpdate" - }, - { - "from": "setFirstPersonCamPitchRange", - "to": "setFirstPersonAimCamRelativePitchLimitsThisUpdate" - }, - { - "from": "_0x4008EDF7D6E48175", - "to": "setAllowCustomVehicleDriveByCamThisUpdate" - }, - { - "from": "_0x380B4968D1E09E55", - "to": "forceTightspaceCustomFramingThisUpdate" - }, - { - "from": "getFinalRenderedInWhenFriendlyRot", - "to": "getFinalRenderedRemotePlayerCamRot" - }, - { - "from": "getFinalRenderedInWhenFriendlyFov", - "to": "getFinalRenderedRemotePlayerCamFov" - }, - { - "from": "_0xCCD078C2665D2973", - "to": "stopGameplayHintBeingCancelledThisUpdate" - }, - { - "from": "_0x247ACBC4ABBC9D1C", - "to": "stopCodeGameplayHint" - }, - { - "from": "_0xBF72910D0F26F025", - "to": "isCodeGameplayHintActive" - }, - { - "from": "setGameplayHintAnimOffsetx", - "to": "setGameplayHintCameraRelativeSideOffset" - }, - { - "from": "setGameplayHintAnimOffsety", - "to": "setGameplayHintCameraRelativeVerticalOffset" - }, - { - "from": "setGameplayHintAnimCloseup", - "to": "setGameplayHintCameraBlendToFollowPedMediumViewMode" - }, - { - "from": "disableVehicleFirstPersonCamThisFrame", - "to": "disableCinematicBonnetCameraThisUpdate" - }, - { - "from": "_0x62ECFCFDEE7885D6", - "to": "disableCinematicVehicleIdleModeThisUpdate" - }, - { - "from": "invalidateVehicleIdleCam", - "to": "invalidateCinematicVehicleIdleMode" - }, - { - "from": "isInVehicleCamDisabled", - "to": "isCinematicFirstPersonVehicleInteriorCamRendering" - }, - { - "from": "_0xDC9DA9E8789F5246", - "to": "setCinematicNewsChannelActiveThisUpdate" - }, - { - "from": "_0x1F2300CB7FA7B7F6", - "to": "isInVehicleMobilePhoneCameraRendering" - }, - { - "from": "_0x17FCA7199A530203", - "to": "disableCinematicSlowMoThisUpdate" - }, - { - "from": "_0xD7360051C885628B", - "to": "isBonnetCinematicCamRendering" - }, - { - "from": "isCinematicCamActive", - "to": "isCinematicCamInputActive" - }, - { - "from": "_0x7B8A361C1813FBEF", - "to": "ignoreMenuPreferenceForBonnetCameraThisUpdate" - }, - { - "from": "stopCutsceneCamShaking", - "to": "bypassCutsceneCamRenderingThisUpdate" - }, - { - "from": "_0x324C5AA411DA7737", - "to": "stopCutsceneCamShaking" - }, - { - "from": "_0x12DED8CA53D47EA5", - "to": "setCutsceneCamFarClipThisUpdate" - }, - { - "from": "_0x5A43C76F7FC7BA5F", - "to": "disableNearClipScanThisUpdate" - }, - { - "from": "setCamEffect", - "to": "setCamDeathFailEffectState" - }, - { - "from": "_0x5C41E6BABC9E2112", - "to": "setFirstPersonFlashEffectType" - }, - { - "from": "setGameplayCamVehicleCamera", - "to": "setFirstPersonFlashEffectVehicleModelName" - }, - { - "from": "setGameplayCamVehicleCameraName", - "to": "setFirstPersonFlashEffectVehicleModelHash" - }, - { - "from": "_0xEAF0FA793D05C592", - "to": "isAllowedIndependentCameraModes" - }, - { - "from": "_0x62374889A4D59F72", - "to": "cameraPreventCollisionSettingsForTripleheadInInteriorsThisUpdate" - }, - { - "from": "replayFreeCamGetMaxRange", - "to": "replayGetMaxDistanceAllowedFromPlayer" - }, - { - "from": "_0x8D9DF6ECA8768583", - "to": "setScriptCanStartCutscene" - }, - { - "from": "getCutFileNumSections", - "to": "getCutFileConcatCount" - }, - { - "from": "_0x011883F41211432A", - "to": "setCutsceneOriginAndOrientation" - }, - { - "from": "_0x971D7B15BCDBEF99", - "to": "getCutsceneEndTime" - }, - { - "from": "_0x583DF8E3D4AFBD98", - "to": "getCutsceneConcatSectionPlaying" - }, - { - "from": "_0x4CEBC1ED31E8925E", - "to": "isCutsceneAuthorized" - }, - { - "from": "_0x4FCD976DA686580C", - "to": "doesCutsceneHandleExist" - }, - { - "from": "_0x7F96F23FA9B73327", - "to": "setVehicleModelPlayerWillExitScene" - }, - { - "from": "_0xC61B86C9F61EB404", - "to": "setPadCanShakeDuringCutscene" - }, - { - "from": "_0x20746F7B1032A3C7", - "to": "setCutsceneMultiheadFade" - }, - { - "from": "_0x06EE9048FD080382", - "to": "setCutsceneMultiheadFadeManual" - }, - { - "from": "_0xA0FE76168A189DDB", - "to": "isMultiheadFadeUp" - }, - { - "from": "_0x2F137B508DE238F2", - "to": "networkSetMocapCutsceneCanBeSkipped" - }, - { - "from": "_0xE36A98D8AB3D3C66", - "to": "setCarGeneratorsCanUpdateDuringCutscene" - }, - { - "from": "_0x5EDEF0CF8C1DAB3C", - "to": "canUseMobilePhoneDuringCutscene" - }, - { - "from": "registerSynchronisedScriptSpeech", - "to": "setCanDisplayMinimapDuringCutsceneThisUpdate" - }, - { - "from": "_0xA6EEF01087181EDD", - "to": "datafileLoadOfflineUgcForAdditionalDataFile" - }, - { - "from": "_0x6AD0BD5E087866CB", - "to": "datafileDeleteForAdditionalDataFile" - }, - { - "from": "_0xDBF860CF1DB8E599", - "to": "datafileGetFileDictForAdditionalDataFile" - }, - { - "from": "_0x241FCA5B1AA14F75", - "to": "areAnyCcsPending" - }, - { - "from": "_0xF2E07819EF1A5289", - "to": "dlcCheckCloudDataCorrect" - }, - { - "from": "_0x9489659372A81585", - "to": "getExtracontentCloudResult" - }, - { - "from": "_0xA213B11DFF526300", - "to": "dlcCheckCompatPackConfiguration" - }, - { - "from": "getExtraContentPackHasBeenInstalled", - "to": "getEverHadBadPackOrder" - }, - { - "from": "_0xC4637A6D03C24CC3", - "to": "getIsInitialLoadingScreenActive" - }, - { - "from": "hasEntityClearLosToEntity2", - "to": "hasEntityClearLosToEntityAdjustForCover" - }, - { - "from": "getEntityPhysicsHeading", - "to": "getEntityHeadingFromEulers" - }, - { - "from": "_0x694E00132F2823ED", - "to": "setEntityRequiresMoreExpensiveRiverCheck" - }, - { - "from": "attachEntityBoneToEntityBonePhysically", - "to": "attachEntityBoneToEntityBoneYForward" - }, - { - "from": "setEntityCleanupByEngine", - "to": "setEntityShouldFreezeWaitingOnCollision" - }, - { - "from": "_0x352E2B5CF420BF3B", - "to": "setEntityCanOnlyBeDamagedByScriptParticipants" - }, - { - "from": "_0xC34BC448DA29F5E9", - "to": "setEntityWaterReflectionFlag" - }, - { - "from": "_0xE66377CDDADA4810", - "to": "setEntityMirrorReflectionFlag" - }, - { - "from": "_0x490861B88F4FD846", - "to": "resetPickupEntityGlow" - }, - { - "from": "_0xCEA7C8E1B48FF68C", - "to": "setPickupCollidesWithProjectiles" - }, - { - "from": "_0x5C3B791D580E0BC2", - "to": "setEntitySortBias" - }, - { - "from": "_0x78E8E3A640178255", - "to": "setEntityIsInVehicle" - }, - { - "from": "_0xDC6F8601FAF2E893", - "to": "setWaitForCollisionsBeforeProbe" - }, - { - "from": "setEntityDecalsDisabled", - "to": "setEntityNoweapondecals" - }, - { - "from": "_0x1A092BB0C3808B96", - "to": "setEntityUseMaxDistanceForWaterReflection" - }, - { - "from": "getEntityBonePosition2", - "to": "getEntityBonePostion" - }, - { - "from": "getEntityBoneRotationLocal", - "to": "getEntityBoneObjectRotation" - }, - { - "from": "enableEntityUnk", - "to": "enableEntityBulletCollision" - }, - { - "from": "_0xB17BC6453F6CF5AC", - "to": "setEntityCanOnlyBeDamagedByEntity" - }, - { - "from": "_0x68B562E124CC0AEF", - "to": "setEntityCantCauseCollisionDamagedEntity" - }, - { - "from": "_0x36F32DE87082343E", - "to": "setAllowMigrateToSpectator" - }, - { - "from": "getEntityPickup", - "to": "getEntityOfTypeAttachedToEntity" - }, - { - "from": "_0xD7B80E7C3BEFC396", - "to": "setPickUpByCargobobDisabled" - }, - { - "from": "_0x10144267DD22866C", - "to": "getTattooShopDlcItemIndex" - }, - { - "from": "_0x96E2929292A4DB77", - "to": "getShopPedQueryComponentIndex" - }, - { - "from": "_0x6CEBE002E58DEE97", - "to": "getShopPedQueryPropIndex" - }, - { - "from": "loadContentChangeSetGroup", - "to": "executeContentChangesetGroupForAll" - }, - { - "from": "unloadContentChangeSetGroup", - "to": "revertContentChangesetGroupForAll" - }, - { - "from": "setFireSpreadRate", - "to": "setFlammabilityMultiplier" - }, - { - "from": "getEntityInsideExplosionSphere", - "to": "getOwnerOfExplosionInSphere" - }, - { - "from": "getEntityInsideExplosionArea", - "to": "getOwnerOfExplosionInAngledArea" - }, - { - "from": "drawSpritePoly", - "to": "drawTexturedPoly" - }, - { - "from": "drawSpritePoly2", - "to": "drawTexturedPolyWithThreeColours" - }, - { - "from": "_0xC5C8F970D4EDFF71", - "to": "setDepthwriting" - }, - { - "from": "_0x7FA5D82B8F58EC06", - "to": "beginCreateMissionCreatorPhotoPreview" - }, - { - "from": "_0x5B0316762AFD4A64", - "to": "getStatusOfCreateMissionCreatorPhotoPreview" - }, - { - "from": "_0x346EF3ECAAAB149E", - "to": "freeMemoryForMissionCreatorPhotoPreview" - }, - { - "from": "_0x1BBC135A4D25EDDE", - "to": "setTakenPhotoIsMugshot" - }, - { - "from": "_0xF3F776ADA161E47D", - "to": "setArenaThemeAndVariationForTakenPhoto" - }, - { - "from": "_0xADD6627C4D325458", - "to": "setOnIslandXForTakenPhoto" - }, - { - "from": "_0x759650634F07B6B4", - "to": "beginCreateLowQualityCopyOfPhoto" - }, - { - "from": "_0xCB82A0BF0E3E3265", - "to": "getStatusOfCreateLowQualityCopyOfPhoto" - }, - { - "from": "_0x2A893980E96B659A", - "to": "queueOperationToCreateSortedListOfPhotos" - }, - { - "from": "_0x4AF92ACD3141D96C", - "to": "clearStatusOfSortedListOperation" - }, - { - "from": "_0xE791DF1F73ED2C8B", - "to": "doesThisPhotoSlotContainAValidPhoto" - }, - { - "from": "_0xEC72C258667BE5EA", - "to": "loadHighQualityPhoto" - }, - { - "from": "returnTwo", - "to": "getLoadHighQualityPhotoStatus" - }, - { - "from": "drawLightWithRangeAndShadow", - "to": "drawLightWithRangeex" - }, - { - "from": "drawSpotLightWithShadow", - "to": "drawShadowedSpotLight" - }, - { - "from": "_0x9641588DAB93B4B5", - "to": "setLightOverrideMaxIntensityScale" - }, - { - "from": "_0x393BD2275CEB7793", - "to": "getLightOverrideMaxIntensityScale" - }, - { - "from": "drawMarker2", - "to": "drawMarkerEx" - }, - { - "from": "drawSphere", - "to": "drawMarkerSphere" - }, - { - "from": "setCheckpointScale", - "to": "setCheckpointInsideCylinderHeightScale" - }, - { - "from": "setCheckpointIconScale", - "to": "setCheckpointInsideCylinderScale" - }, - { - "from": "_0xF51D36185993515D", - "to": "setCheckpointClipplaneWithPosNorm" - }, - { - "from": "_0xFCF6788FC4860CD4", - "to": "setCheckpointForceOldArrowPointing" - }, - { - "from": "_0x615D3925E87A3B26", - "to": "setCheckpointDecalRotAlignedToCameraRot" - }, - { - "from": "_0xDB1EA9411C8911EC", - "to": "setCheckpointForceDirection" - }, - { - "from": "_0x3C788E7F6438754D", - "to": "setCheckpointDirection" - }, - { - "from": "getScriptGfxPosition", - "to": "getScriptGfxAlignPosition" - }, - { - "from": "_0x2D3B147AFAD49DE0", - "to": "drawSpriteArx" - }, - { - "from": "drawInteractiveSprite", - "to": "drawSpriteNamedRendertarget" - }, - { - "from": "drawSpriteUv", - "to": "drawSpriteArxWithUv" - }, - { - "from": "setBinkMovieUnk2", - "to": "setBinkMovieAudioFrontend" - }, - { - "from": "getActiveScreenResolution", - "to": "getActualScreenResolution" - }, - { - "from": "_0xB2EBE8CBC58B90E9", - "to": "getScreenAspectRatio" - }, - { - "from": "_0xEFABC7722293DA7C", - "to": "adjustNextPosSizeAsNormalized169" - }, - { - "from": "_0xEF398BEEE4EF45F9", - "to": "setExposuretweak" - }, - { - "from": "_0x814AF7DCAACC597B", - "to": "forceExposureReadback" - }, - { - "from": "_0x43FA7CBE20DAB219", - "to": "overrideNightvisionLightRange" - }, - { - "from": "overridePedBadgeTexture", - "to": "overridePedCrewLogoTexture" - }, - { - "from": "_0xE2892E7E55D7073A", - "to": "setDistanceBlurStrengthOverride" - }, - { - "from": "setArtificialLightsStateAffectsVehicles", - "to": "setArtificialVehicleLightsState" - }, - { - "from": "_0xC35A6D07C93802B2", - "to": "disableHdtexThisFrame" - }, - { - "from": "_0xBE197EAA669238F4", - "to": "setGrassCullSphere" - }, - { - "from": "_0x61F95E5BB3E0A8C6", - "to": "removeGrassCullSphere" - }, - { - "from": "_0xAE51BC858F32BA66", - "to": "procgrassEnableCullsphere" - }, - { - "from": "_0x649C97D52332341A", - "to": "procgrassDisableCullsphere" - }, - { - "from": "_0x2C42340F916C5930", - "to": "procgrassIsCullsphereEnabled" - }, - { - "from": "_0x14FC5833464340A8", - "to": "procgrassEnableAmbscalescan" - }, - { - "from": "_0x0218BA067D249DEA", - "to": "procgrassDisableAmbscalescan" - }, - { - "from": "_0x1612C45F9E3E0D44", - "to": "disableProcobjCreation" - }, - { - "from": "_0x5DEBD9C4DC995692", - "to": "enableProcobjCreation" - }, - { - "from": "_0xAAE9BE70EC7C69AB", - "to": "grassbatchEnableFlatteningExtInSphere" - }, - { - "from": "grassLodShrinkScriptAreas", - "to": "grassbatchEnableFlatteningInSphere" - }, - { - "from": "grassLodResetScriptAreas", - "to": "grassbatchDisableFlattening" - }, - { - "from": "_0x36F6626459D91457", - "to": "cascadeShadowsSetSplitZExpWeight" - }, - { - "from": "_0x259BA6D4E6F808F1", - "to": "cascadeShadowsSetBoundPosition" - }, - { - "from": "_0x25FC3E33A31AD0C9", - "to": "cascadeShadowsSetScreenSizeCheckEnabled" - }, - { - "from": "_0x0AE73D8DF3A762B2", - "to": "cascadeShadowsEnableFreezer" - }, - { - "from": "_0xCA465D9CC0D231BA", - "to": "waterReflectionSetScriptObjectVisibility" - }, - { - "from": "_0xC0416B061F2B7E5E", - "to": "golfTrailSetFixedControlPointEnable" - }, - { - "from": "seethroughSetFadeStartDistance", - "to": "seethroughSetFadeStartdistance" - }, - { - "from": "seethroughSetFadeEndDistance", - "to": "seethroughSetFadeEnddistance" - }, - { - "from": "seethroughSetNoiseAmountMin", - "to": "seethroughSetNoiseMin" - }, - { - "from": "seethroughSetNoiseAmountMax", - "to": "seethroughSetNoiseMax" - }, - { - "from": "seethroughSetHiLightIntensity", - "to": "seethroughSetHilightIntensity" - }, - { - "from": "seethroughSetHiLightNoise", - "to": "seethroughSetHighlightNoise" - }, - { - "from": "_0xB3C641F3630BF6DA", - "to": "setMotionblurMaxVelScaler" - }, - { - "from": "_0xE59343E9E96529E7", - "to": "getMotionblurMaxVelScaler" - }, - { - "from": "_0x6A51F78772175A51", - "to": "setForceMotionblur" - }, - { - "from": "_0xE3E2C1B4C59DBC77", - "to": "resetAdaptation" - }, - { - "from": "_0x851CD923176EBA7C", - "to": "grabPausemenuOwnership" - }, - { - "from": "setHidofEnvBlurParams", - "to": "setHidofOverride" - }, - { - "from": "_0xB569F41F3E7E83A4", - "to": "setLockAdaptiveDofDistance" - }, - { - "from": "_0x7AC24EAB6D74118D", - "to": "phonephotoeditorToggle" - }, - { - "from": "_0xBCEDB009461DA156", - "to": "phonephotoeditorIsActive" - }, - { - "from": "_0x27FEB5254759CDE3", - "to": "phonephotoeditorSetFrameTxd" - }, - { - "from": "startNetworkedParticleFxNonLoopedOnEntityBone", - "to": "startParticleFxNonLoopedOnEntityBone" - }, - { - "from": "_0x8CDE909A0370BB3A", - "to": "setParticleFxForceVehicleInterior" - }, - { - "from": "_0xBA0127DA25FD54C9", - "to": "forceParticleFxInVehicleInterior" - }, - { - "from": "_0x2A251AA48B2B46DB", - "to": "clearParticleFxShootoutBoat" - }, - { - "from": "_0x908311265D42A820", - "to": "setParticleFxBloodScale" - }, - { - "from": "_0xCFD16F0DB5A3535C", - "to": "disableInWaterPtfx" - }, - { - "from": "_0x5F6DF3D92271E8A1", - "to": "disableDownwashPtfx" - }, - { - "from": "_0x2B40A97646381508", - "to": "setParticleFxSlipstreamLodrangeScale" - }, - { - "from": "_0xBB90E12CAC1DAB25", - "to": "setParticleFxBulletImpactLodrangeScale" - }, - { - "from": "_0xCA4AE345A153D573", - "to": "setParticleFxBulletTraceNoAngleReject" - }, - { - "from": "_0x54E22EA2C1956A8D", - "to": "setParticleFxBangScrapeLodrangeScale" - }, - { - "from": "_0x949F397A288B28B3", - "to": "setParticleFxFootLodrangeScale" - }, - { - "from": "_0xBA3D194057C79A7B", - "to": "setParticleFxFootOverrideName" - }, - { - "from": "_0x5DBF05DB5926D089", - "to": "setSkidmarkRangeScale" - }, - { - "from": "_0x9B079E5221D984D3", - "to": "forcePostfxBulletImpactsAfterHud" - }, - { - "from": "_0xA46B73FAA3460AE1", - "to": "setWeatherPtfxUseOverrideSettings" - }, - { - "from": "_0xF78B803082D4386F", - "to": "setWeatherPtfxOverrideCurrLevel" - }, - { - "from": "_0xD9454B5752C857DC", - "to": "setDisablePetrolDecalsIgnitingThisFrame" - }, - { - "from": "_0x27CFB1B1E078CB2D", - "to": "setDisablePetrolDecalsRecyclingThisFrame" - }, - { - "from": "_0x82ACC484FFA3B05F", - "to": "abortVehicleCrewEmblemRequest" - }, - { - "from": "_0x0E4299C549F0D1F1", - "to": "disableCompositeShotgunDecals" - }, - { - "from": "_0x02369D5C8A51FDCF", - "to": "disableScuffDecals" - }, - { - "from": "_0x46D1A61A21F566FC", - "to": "setDecalBulletImpactRangeScale" - }, - { - "from": "registerNoirScreenEffectThisFrame", - "to": "registerNoirLensEffect" - }, - { - "from": "_0x03300B57FCAC6DDB", - "to": "renderShadowedLightsWithNoShadows" - }, - { - "from": "_0x98EDF76A7271E4F2", - "to": "requestEarlyLightCheck" - }, - { - "from": "setForcePedFootstepsTracks", - "to": "useSnowFootVfxWhenUnsheltered" - }, - { - "from": "setForceVehicleTrails", - "to": "useSnowWheelVfxWhenUnsheltered" - }, - { - "from": "disableScriptAmbientEffects", - "to": "disableRegionVfx" - }, - { - "from": "_0x1CBA05AE7BD7EE05", - "to": "setTransitionOutOfTimecycleModifier" - }, - { - "from": "_0x98D18905BF723B99", - "to": "getIsTimecycleTransitioningOut" - }, - { - "from": "removeTcmodifierOverride", - "to": "clearAllTcmodifierOverrides" - }, - { - "from": "setExtraTimecycleModifier", - "to": "setExtraTcmodifier" - }, - { - "from": "clearExtraTimecycleModifier", - "to": "clearExtraTcmodifier" - }, - { - "from": "getExtraTimecycleModifierIndex", - "to": "getExtraTcmodifier" - }, - { - "from": "setExtraTimecycleModifierStrength", - "to": "enableMoonCycleOverride" - }, - { - "from": "resetExtraTimecycleModifierStrength", - "to": "disableMoonCycleOverride" - }, - { - "from": "requestScaleformMovie2", - "to": "requestScaleformMovieWithIgnoreSuperWidescreen" - }, - { - "from": "requestScaleformMovieInteractive", - "to": "requestScaleformMovieSkipRenderWhilePaused" - }, - { - "from": "_0x2FCB133CA50A49EB", - "to": "isActiveScaleformMovieDeleting" - }, - { - "from": "_0x86255B1FC929E33E", - "to": "isScaleformMovieDeleting" - }, - { - "from": "_0x32F34FF7F617643B", - "to": "setScaleformMovieToUseLargeRt" - }, - { - "from": "setScaleformFitRendertarget", - "to": "setScaleformMovieToUseSuperLargeRt" - }, - { - "from": "endTextCommandScaleformString2", - "to": "endTextCommandUnparsedScaleformString" - }, - { - "from": "scaleformMovieMethodAddParamTextureNameString2", - "to": "scaleformMovieMethodAddParamLiteralString" - }, - { - "from": "_0xD1C7CB175E012964", - "to": "passKeyboardInputToScaleform" - }, - { - "from": "isPlaylistUnk", - "to": "isPlaylistOnChannel" - }, - { - "from": "isTvPlaylistItemPlaying", - "to": "isTvshowCurrentlyPlaying" - }, - { - "from": "_0xD1C55B110E4DF534", - "to": "setTvPlayerWatchingThisFrame" - }, - { - "from": "_0x30432A0118736E00", - "to": "getCurrentTvClipNamehash" - }, - { - "from": "_0x98C4FE6EC34154CA", - "to": "ui3dsceneAssignPedToSlot" - }, - { - "from": "_0x7A42B2E236E71415", - "to": "ui3dsceneClearPatchedData" - }, - { - "from": "_0x108BE26959A9D9BB", - "to": "ui3dsceneMakePushedPresetPersistent" - }, - { - "from": "animpostfxGetUnk", - "to": "animpostfxGetCurrentTime" - }, - { - "from": "animpostfxStopAndDoUnk", - "to": "animpostfxStopAndFlushRequests" - }, - { - "from": "_0x9245E81072704B8A", - "to": "disablePausemenuSpinner" - }, - { - "from": "setMouseCursorActiveThisFrame", - "to": "setMouseCursorThisFrame" - }, - { - "from": "setMouseCursorSprite", - "to": "setMouseCursorStyle" - }, - { - "from": "setMouseCursorVisibleInMenus", - "to": "setMouseCursorVisible" - }, - { - "from": "_0x3D9ACB1EB139E702", - "to": "isMouseRolledOverInstructionalButtons" - }, - { - "from": "_0x632B2940C67F4EA9", - "to": "getMouseEvent" - }, - { - "from": "thefeedDisableLoadingScreenTips", - "to": "thefeedHide" - }, - { - "from": "thefeedDisplayLoadingScreenTips", - "to": "thefeedShow" - }, - { - "from": "thefeedSpsExtendWidescreenOn", - "to": "thefeedReportLogoOn" - }, - { - "from": "thefeedSpsExtendWidescreenOff", - "to": "thefeedReportLogoOff" - }, - { - "from": "thefeedGetFirstVisibleDeleteRemaining", - "to": "thefeedGetLastShownPhoneActivatableFeedId" - }, - { - "from": "thefeedCommentTeleportPoolOn", - "to": "thefeedAutoPostGametipsOn" - }, - { - "from": "thefeedCommentTeleportPoolOff", - "to": "thefeedAutoPostGametipsOff" - }, - { - "from": "thefeedSetNextPostBackgroundColor", - "to": "thefeedSetBackgroundColorForNextPost" - }, - { - "from": "thefeedSetAnimpostfxColor", - "to": "thefeedSetRgbaParameterForNextMessage" - }, - { - "from": "thefeedSetAnimpostfxCount", - "to": "thefeedSetFlashDurationParameterForNextMessage" - }, - { - "from": "thefeedSetAnimpostfxSound", - "to": "thefeedSetVibrateParameterForNextMessage" - }, - { - "from": "thefeedSetFlushAnimpostfx", - "to": "thefeedSetSnapFeedItemPositions" - }, - { - "from": "thefeedAddTxdRef", - "to": "thefeedUpdateItemTexture" - }, - { - "from": "endTextCommandThefeedPostMessagetextGxtEntry", - "to": "endTextCommandThefeedPostMessagetextSubtitleLabel" - }, - { - "from": "endTextCommandThefeedPostCrewRankup", - "to": "endTextCommandThefeedPostCrewRankupWithLiteralFlag" - }, - { - "from": "endTextCommandThefeedPostReplayIcon", - "to": "endTextCommandThefeedPostReplay" - }, - { - "from": "beginTextCommandGetWidth", - "to": "beginTextCommandGetScreenWidthOfDisplayText" - }, - { - "from": "endTextCommandGetWidth", - "to": "endTextCommandGetScreenWidthOfDisplayText" - }, - { - "from": "beginTextCommandLineCount", - "to": "beginTextCommandGetNumberOfLinesForString" - }, - { - "from": "endTextCommandLineCount", - "to": "endTextCommandGetNumberOfLinesForString" - }, - { - "from": "beginTextCommandObjective", - "to": "beginTextCommandAddDirectlyToPreviousBriefs" - }, - { - "from": "endTextCommandObjective", - "to": "endTextCommandAddDirectlyToPreviousBriefs" - }, - { - "from": "getTextSubstring", - "to": "getCharacterFromAudioConversationFilename" - }, - { - "from": "getTextSubstringSafe", - "to": "getCharacterFromAudioConversationFilenameWithByteLimit" - }, - { - "from": "getTextSubstringSlice", - "to": "getCharacterFromAudioConversationFilenameBytes" - }, - { - "from": "getLabelText", - "to": "getFilenameForAudioConversation" - }, - { - "from": "_0x98C3CF913D895111", - "to": "getFirstNCharactersOfLiteralString" - }, - { - "from": "displayHudWhenDeadThisFrame", - "to": "displayHudWhenNotInStateOfPlayThisFrame" - }, - { - "from": "_0xCD74233600C4EA6B", - "to": "setFakeSpectatorMode" - }, - { - "from": "_0xC2D2AD9EAAE265B8", - "to": "getFakeSpectatorMode" - }, - { - "from": "_0x0C698D8F099174C7", - "to": "useVehicleTargetingReticule" - }, - { - "from": "_0xE4C3B169876D33D7", - "to": "addValidVehicleHitHash" - }, - { - "from": "_0xEB81A3DADD503187", - "to": "clearValidVehicleHitHashes" - }, - { - "from": "_0x2790F4B17D098E26", - "to": "setForceShowGps" - }, - { - "from": "_0x6CDD58146A436083", - "to": "setUseSetDestinationInPauseMap" - }, - { - "from": "_0xD1942374085C8469", - "to": "setBlockWantedFlash" - }, - { - "from": "_0x57D760D55F54E071", - "to": "forceNextMessageToPreviousBriefsList" - }, - { - "from": "_0xD2049635DEB9C375", - "to": "updateRadarZoomToBlip" - }, - { - "from": "setScriptVariable2HudColour", - "to": "setSecondScriptVariableHudColour" - }, - { - "from": "setAbilityBarVisibilityInMultiplayer", - "to": "setAbilityBarVisibility" - }, - { - "from": "setAllowAbilityBarInMultiplayer", - "to": "setAllowAbilityBar" - }, - { - "from": "_0xBA8D65C1C65702E5", - "to": "forceOffWantedStarFlash" - }, - { - "from": "_0x214CD562A939246A", - "to": "hasScriptHiddenHelpThisFrame" - }, - { - "from": "setHelpMessageTextStyle", - "to": "setHelpMessageStyle" - }, - { - "from": "getClosestBlipOfType", - "to": "getClosestBlipInfoId" - }, - { - "from": "_0x9FCB3CBFB3EAD69A", - "to": "setCopBlipSprite" - }, - { - "from": "_0xB7B873520C84C118", - "to": "setCopBlipSpriteAsStandard" - }, - { - "from": "_0x2C173AE2BDB9385E", - "to": "getBlipFadeDirection" - }, - { - "from": "setBlipSquaredRotation", - "to": "setBlipRotationWithFloat" - }, - { - "from": "_0x2916A928514C9827", - "to": "reloadMapMenu" - }, - { - "from": "_0xB552929B85FC27EC", - "to": "setBlipMarkerLongDistance" - }, - { - "from": "setBlipScaleTransformation", - "to": "setBlipScale2d" - }, - { - "from": "setBlipDisplayIndicatorOnBlip", - "to": "setBlipExtendedHeightThreshold" - }, - { - "from": "_0x4B5B620C9B59ED34", - "to": "setBlipShortHeightThreshold" - }, - { - "from": "_0x2C9F302398E13141", - "to": "setBlipUseHeightIndicatorOnEdge" - }, - { - "from": "deleteWaypoint", - "to": "deleteWaypointsFromThisPlayer" - }, - { - "from": "_0xC594B315EDF2D4AF", - "to": "removeCopBlipFromPed" - }, - { - "from": "_0xF83D0FEBE75E62C9", - "to": "setupFakeConeData" - }, - { - "from": "_0x35A3CD97B2C0A6D2", - "to": "removeFakeConeData" - }, - { - "from": "_0x8410C5E0CD847B9D", - "to": "clearFakeConeArray" - }, - { - "from": "setMinimapSonarEnabled", - "to": "setMinimapSonarSweep" - }, - { - "from": "showSigninUi", - "to": "showAccountPicker" - }, - { - "from": "_0x41350B4FC28E3941", - "to": "setPmWarningscreenActive" - }, - { - "from": "setInteriorZoomLevelIncreased", - "to": "setInsideVerySmallInterior" - }, - { - "from": "setInteriorZoomLevelDecreased", - "to": "setInsideVeryLargeInterior" - }, - { - "from": "setPlayerBlipPositionThisFrame", - "to": "setFakePausemapPlayerPositionThisFrame" - }, - { - "from": "_0xA17784FCA9548D15", - "to": "setFakeGpsPlayerPositionThisFrame" - }, - { - "from": "isMinimapInInterior", - "to": "isPausemapInInteriorMode" - }, - { - "from": "setToggleMinimapHeistIsland", - "to": "setUseIslandMap" - }, - { - "from": "_0x55F5A5F07134DE60", - "to": "dontZoomMinimapWhenSnipingThisFrame" - }, - { - "from": "_0x170F541E1CADD1DE", - "to": "useFakeMpCash" - }, - { - "from": "setPlayerCashChange", - "to": "changeFakeMpCash" - }, - { - "from": "_0xE67C6DFD386EA5E7", - "to": "allowDisplayOfMultiplayerCashText" - }, - { - "from": "_0x801879A9B4F4B2FB", - "to": "isImeInProgress" - }, - { - "from": "hudDisplayLoadingScreenTips", - "to": "hudForceSpecialVehicleWeaponWheel" - }, - { - "from": "hudWeaponWheelGetSelectedHash", - "to": "hudGetWeaponWheelCurrentlyHighlighted" - }, - { - "from": "hudWeaponWheelGetSlotHash", - "to": "hudGetWeaponWheelTopSlot" - }, - { - "from": "hudWeaponWheelIgnoreControlInput", - "to": "hudShowingCharacterSwitchSelection" - }, - { - "from": "setMainPlayerBlipColour", - "to": "setPlayerIconColour" - }, - { - "from": "setMissionName2", - "to": "setMissionNameForUgcMission" - }, - { - "from": "_0x817B86108EB94E51", - "to": "setDescriptionForUgcMissionEightStrings" - }, - { - "from": "_0x62E849B7EB28E770", - "to": "setMinimapFowDoNotUpdate" - }, - { - "from": "setMinimapAltitudeIndicatorLevel", - "to": "setFakeMinimapMaxAltimeterHeight" - }, - { - "from": "hideAreaAndVehicleNameThisFrame", - "to": "hideStreetAndCarNamesThisFrame" - }, - { - "from": "setMpGamerTagEnabled", - "to": "setAllMpGamerTagsVisibility" - }, - { - "from": "setMpGamerTagIcons", - "to": "setMpGamerTagsShouldUseVehicleHealth" - }, - { - "from": "setMpGamerHealthBarDisplay", - "to": "setMpGamerTagsShouldUsePointsHealth" - }, - { - "from": "setMpGamerHealthBarMax", - "to": "setMpGamerTagsPointHealth" - }, - { - "from": "setMpGamerTagUnk", - "to": "setMpGamerTagNumPackages" - }, - { - "from": "isValidMpGamerTagMovie", - "to": "isUpdatingMpGamerTagNameAndCrewDetails" - }, - { - "from": "isWarningMessageActive2", - "to": "isWarningMessageReadyForControl" - }, - { - "from": "setWarningMessageWithHeaderUnk", - "to": "setWarningMessageWithHeaderExtended" - }, - { - "from": "setWarningMessageWithAlert", - "to": "setWarningMessageWithHeaderAndSubstringFlagsExtended" - }, - { - "from": "getWarningMessageTitleHash", - "to": "getWarningScreenMessageHash" - }, - { - "from": "setWarningMessageListRow", - "to": "setWarningMessageOptionItems" - }, - { - "from": "_0xDAF87174BE7454FF", - "to": "setWarningMessageOptionHighlight" - }, - { - "from": "removeWarningMessageListItems", - "to": "removeWarningMessageOptionItems" - }, - { - "from": "raceGalleryFullscreen", - "to": "customMinimapSetActive" - }, - { - "from": "raceGalleryNextBlipSprite", - "to": "customMinimapSetBlipObject" - }, - { - "from": "raceGalleryAddBlip", - "to": "customMinimapCreateBlip" - }, - { - "from": "clearRaceGalleryBlips", - "to": "customMinimapClearBlips" - }, - { - "from": "getNorthRadarBlip", - "to": "getNorthBlidIndex" - }, - { - "from": "_0x211C4EF450086857", - "to": "drawFrontendBackgroundThisFrame" - }, - { - "from": "_0xBF4F34A85CA2970C", - "to": "drawHudOverFadeThisFrame" - }, - { - "from": "allowPauseMenuWhenDeadThisFrame", - "to": "allowPauseWhenNotInStateOfPlayThisFrame" - }, - { - "from": "_0x2F057596F2BD0061", - "to": "isStorePendingNetworkShutdownToOpen" - }, - { - "from": "_0x5BFF36D6ED83E0AE", - "to": "getPauseMenuPosition" - }, - { - "from": "logDebugInfo", - "to": "forceScriptedGfxWhenFrontendActive" - }, - { - "from": "_0x77F16B447824DA6C", - "to": "pauseMenuceptionGoDeeper" - }, - { - "from": "_0xCDCA26E80FAECB8F", - "to": "pauseMenuceptionTheKick" - }, - { - "from": "_0x2DE6C5E2E996F178", - "to": "pauseToggleFullscreenMap" - }, - { - "from": "_0xDE03620F8703A9DF", - "to": "pauseMenuGetHairColourIndex" - }, - { - "from": "_0x359AF31A4B52F5ED", - "to": "pauseMenuGetMouseHoverIndex" - }, - { - "from": "_0x13C4B962653A5280", - "to": "pauseMenuGetMouseHoverUniqueId" - }, - { - "from": "_0xC8E1071177A23BE5", - "to": "pauseMenuGetMouseClickEvent" - }, - { - "from": "_0x4895BDEA16E7C080", - "to": "pauseMenuRedrawInstructionalButtons" - }, - { - "from": "_0xF06EBB91A81E09E3", - "to": "pauseMenuSetWarnOnTabChange" - }, - { - "from": "_0x66E7CB63C97B7D20", - "to": "codeWantsScriptToTakeControl" - }, - { - "from": "_0x593FEAE1F73392D4", - "to": "getScreenCodeWantsScriptToControl" - }, - { - "from": "_0xF284AC67940C6812", - "to": "hasMenuTriggerEventOccurred" - }, - { - "from": "_0x2E22FEFA0100275E", - "to": "hasMenuLayoutChangedEventOccurred" - }, - { - "from": "_0x0CF54F20DE43879C", - "to": "setSavegameListUniqueId" - }, - { - "from": "getPauseMenuSelection", - "to": "getMenuTriggerEventDetails" - }, - { - "from": "getPauseMenuSelectionData", - "to": "getMenuLayoutChangedEventDetails" - }, - { - "from": "_0xA238192F33110615", - "to": "getPmPlayerCrewColor" - }, - { - "from": "_0xCA6B2F7CE32AB653", - "to": "getCharacterMenuPedIntStat" - }, - { - "from": "_0x24A49BEAF468DC90", - "to": "getCharacterMenuPedMaskedIntStat" - }, - { - "from": "_0x8F08017F9D7C47BD", - "to": "getCharacterMenuPedFloatStat" - }, - { - "from": "_0xF13FE2A80C05C561", - "to": "areOnlinePoliciesUpToDate" - }, - { - "from": "_0x1185A8087587322C", - "to": "setTextInputBoxEnabled" - }, - { - "from": "_0x577599CCED639CA2", - "to": "setAllowCommaOnTextInput" - }, - { - "from": "overrideMultiplayerChatPrefix", - "to": "overrideMpTextChatTeamString" - }, - { - "from": "isMultiplayerChatActive", - "to": "isMpTextChatTyping" - }, - { - "from": "closeMultiplayerChat", - "to": "closeMpTextChat" - }, - { - "from": "_0x7C226D5346D4D10A", - "to": "mpTextChatIsTeamJob" - }, - { - "from": "overrideMultiplayerChatColour", - "to": "overrideMpTextChatColor" - }, - { - "from": "setTextChatUnk", - "to": "mpTextChatDisable" - }, - { - "from": "setPedHasAiBlipWithColor", - "to": "setPedHasAiBlipWithColour" - }, - { - "from": "getAiBlip2", - "to": "getAiPedPedBlipIndex" - }, - { - "from": "getAiBlip", - "to": "getAiPedVehicleBlipIndex" - }, - { - "from": "hasDirectorModeBeenTriggered", - "to": "hasDirectorModeBeenLaunchedByCode" - }, - { - "from": "setDirectorModeClearTriggeredFlag", - "to": "setDirectorModeLaunchedByScript" - }, - { - "from": "_0x04655F9D075D0AE5", - "to": "setDirectorModeAvailable" - }, - { - "from": "_0x243296A510B562B6", - "to": "hideHudmarkersThisFrame" - }, - { - "from": "getInteriorInfo", - "to": "getInteriorLocationAndNamehash" - }, - { - "from": "_0x82EBB79E258FA2B7", - "to": "retainEntityInInterior" - }, - { - "from": "clearInteriorForEntity", - "to": "clearInteriorStateOfEntity" - }, - { - "from": "_0x38C1CB1CB119A016", - "to": "forceActivatingTrackingOnEntity" - }, - { - "from": "_0xAF348AFCB575A441", - "to": "setRoomForGameViewportByName" - }, - { - "from": "_0x405DC2AEF6AF95B9", - "to": "setRoomForGameViewportByKey" - }, - { - "from": "getInteriorFromGameplayCam", - "to": "getInteriorFromPrimaryView" - }, - { - "from": "_0x4C2330E61D3DEB56", - "to": "setInteriorInUse" - }, - { - "from": "_0x483ACA1176CA93F1", - "to": "activateInteriorGroupsUsingCamera" - }, - { - "from": "_0x7ECDF98587E92DEC", - "to": "enableStadiumProbesThisFrame" - }, - { - "from": "setInteriorEntitySetColor", - "to": "setInteriorEntitySetTintIndex" - }, - { - "from": "enableScriptCullModelThisFrame", - "to": "enableShadowCullModelThisFrame" - }, - { - "from": "_0x9E6542F0CE8E70A3", - "to": "disableMetroSystem" - }, - { - "from": "_0x7241CCB7D020DB69", - "to": "setIsExteriorOnly" - }, - { - "from": "_0xF2CA003F167E21D2", - "to": "lobbyAutoMultiplayerMenu" - }, - { - "from": "loadingscreenGetLoadFreemode", - "to": "lobbyAutoMultiplayerFreemode" - }, - { - "from": "loadingscreenSetLoadFreemode", - "to": "lobbySetAutoMultiplayer" - }, - { - "from": "loadingscreenGetLoadFreemodeWithEventName", - "to": "lobbyAutoMultiplayerEvent" - }, - { - "from": "loadingscreenSetLoadFreemodeWithEventName", - "to": "lobbySetAutoMultiplayerEvent" - }, - { - "from": "loadingscreenIsLoadingFreemode", - "to": "lobbyAutoMultiplayerRandomJob" - }, - { - "from": "loadingscreenSetIsLoadingFreemode", - "to": "lobbySetAutoMpRandomJob" - }, - { - "from": "_0xFA1E0E893D915215", - "to": "shutdownSessionClearsAutoMultiplayer" - }, - { - "from": "localizationGetSystemDateFormat", - "to": "localizationGetSystemDateType" - }, - { - "from": "getGlobalCharBuffer", - "to": "getContentToLoad" - }, - { - "from": "_0x4DCDF92BF64236CD", - "to": "activityFeedCreate" - }, - { - "from": "_0x31125FD509D9043F", - "to": "activityFeedAddSubstringToCaption" - }, - { - "from": "_0xEBD3205A207939ED", - "to": "activityFeedAddLiteralSubstringToCaption" - }, - { - "from": "_0x97E7E2C04245115B", - "to": "activityFeedAddIntToCaption" - }, - { - "from": "_0x916CA67D26FD1E37", - "to": "activityFeedLargeImageUrl" - }, - { - "from": "_0xEB078CA2B5E82ADD", - "to": "activityFeedActionStartWithCommandLine" - }, - { - "from": "_0x703CC7F60CBB2B57", - "to": "activityFeedActionStartWithCommandLineAdd" - }, - { - "from": "_0x8951EB9C6906D3C8", - "to": "activityFeedPost" - }, - { - "from": "_0xBA4B8D83BDC75551", - "to": "activityFeedOnlinePlayedWithPost" - }, - { - "from": "_0x65D2EBB47E1CEC21", - "to": "setScriptHighPrio" - }, - { - "from": "_0x6F2135B6129620C1", - "to": "setThisIsATriggerScript" - }, - { - "from": "_0x8D74E26F54B4E5C3", - "to": "informCodeOfContentIdOfCurrentUgcMission" - }, - { - "from": "getBaseElementMetadata", - "to": "getBaseElementLocationFromMetadataBlock" - }, - { - "from": "_0x0CF97F497FE7D048", - "to": "clearWeatherTypeNowPersistNetwork" - }, - { - "from": "getWeatherTypeTransition", - "to": "getCurrWeatherState" - }, - { - "from": "setWeatherTypeTransition", - "to": "setCurrWeatherState" - }, - { - "from": "_0x1178E104409FE58C", - "to": "setOverrideWeatherex" - }, - { - "from": "setRainLevel", - "to": "setRain" - }, - { - "from": "setSnowLevel", - "to": "setSnow" - }, - { - "from": "_0x02DEAAC8F8EA7FE7", - "to": "setCloudSettingsOverride" - }, - { - "from": "clearCloudHat", - "to": "unloadAllCloudHats" - }, - { - "from": "setCloudHatOpacity", - "to": "setCloudsAlpha" - }, - { - "from": "getCloudHatOpacity", - "to": "getCloudsAlpha" - }, - { - "from": "getBenchmarkTime", - "to": "getSystemTimeStep" - }, - { - "from": "getRandomIntInRange2", - "to": "getRandomMwcIntInRange" - }, - { - "from": "getGroundZFor3dCoord2", - "to": "getGroundZExcludingObjectsFor3dCoord" - }, - { - "from": "_0x7F8F6405F4777AF6", - "to": "getRatioOfClosestPointOnLine" - }, - { - "from": "_0x21C235BC64831E5A", - "to": "getClosestPointOnLine" - }, - { - "from": "_0xF56DFB7B61BE7276", - "to": "getLinePlaneIntersection" - }, - { - "from": "_0xA0AD167E4B39D9A2", - "to": "getPointAreaOverlap" - }, - { - "from": "_0x39455BF4F4F55186", - "to": "isAreaOccupiedSlow" - }, - { - "from": "_0x7EC6F9A478A6A512", - "to": "clearScenarioSpawnHistory" - }, - { - "from": "_0x397BAA01068BAA96", - "to": "getStatusOfManualSave" - }, - { - "from": "_0xB51B9AB9EF81868C", - "to": "setCreditsFadeOutWithScreen" - }, - { - "from": "setRestartCustomPosition", - "to": "setRestartCoordOverride" - }, - { - "from": "clearRestartCustomPosition", - "to": "clearRestartCoordOverride" - }, - { - "from": "_0xA4A0065E39C9F25C", - "to": "getSaveHouseDetailsAfterSuccessfulLoad" - }, - { - "from": "_0xEB2104E905C6F2E9", - "to": "queueMissionRepeatSaveForBenchmarkTest" - }, - { - "from": "getProjectileNearPed", - "to": "getProjectileOfProjectileTypeWithinDistance" - }, - { - "from": "_0xFB80AB299D2EE1BD", - "to": "toggleShowOptionalStuntJumpCamera" - }, - { - "from": "hasButtonCombinationJustBeenEntered", - "to": "hasCheatWithHashBeenActivated" - }, - { - "from": "hasCheatStringJustBeenEntered", - "to": "hasPcCheatWithHashBeenActivated" - }, - { - "from": "_0xFA3FFB0EEBC288A3", - "to": "overrideFreezeFlags" - }, - { - "from": "registerTextLabelToSave2", - "to": "registerTextLabel15ToSave" - }, - { - "from": "_0x48F069265A0E4BEC", - "to": "registerTextLabel23ToSave" - }, - { - "from": "_0x8269816F6CFD40F8", - "to": "registerTextLabel31ToSave" - }, - { - "from": "_0xFAA457EF263E8763", - "to": "registerTextLabel63ToSave" - }, - { - "from": "copyMemory", - "to": "copyScriptStruct" - }, - { - "from": "getNumDispatchedUnitsForPlayer", - "to": "getNumberResourcesAllocatedToWantedLevel" - }, - { - "from": "setIncidentUnk", - "to": "setIdealSpawnDistanceForIncident" - }, - { - "from": "isPopMultiplierAreaUnk", - "to": "isPopMultiplierAreaNetworked" - }, - { - "from": "_0x19BFED045C647C49", - "to": "getTennisSwingAnimCanBeInterrupted" - }, - { - "from": "_0xE95B0C7D5BA3B96B", - "to": "getTennisSwingAnimSwung" - }, - { - "from": "_0x54F157E0336A3822", - "to": "setTennisMoveNetworkSignalFloat" - }, - { - "from": "addDispatchSpawnBlockingAngledArea", - "to": "addDispatchSpawnAngledBlockingArea" - }, - { - "from": "addDispatchSpawnBlockingArea", - "to": "addDispatchSpawnSphereBlockingArea" - }, - { - "from": "_0xD9F692D349249528", - "to": "resetWantedResponseNumPedsToSpawn" - }, - { - "from": "_0xE532EC1A63231B4F", - "to": "setWantedResponseNumPedsToSpawn" - }, - { - "from": "addTacticalAnalysisPoint", - "to": "addTacticalNavMeshPoint" - }, - { - "from": "clearTacticalAnalysisPoints", - "to": "clearTacticalNavMeshPoints" - }, - { - "from": "removeStealthKill", - "to": "actionManagerEnableAction" - }, - { - "from": "_0x1EAE0A6E978894A2", - "to": "supressRandomEventThisFrame" - }, - { - "from": "setBeastModeActive", - "to": "setBeastJumpThisFrame" - }, - { - "from": "setForcePlayerToJump", - "to": "setForcedJumpThisFrame" - }, - { - "from": "_0x6FDDF453C0C756EC", - "to": "hasGameInstalledThisSession" - }, - { - "from": "_0xFB00CA71DA386228", - "to": "setTickerJohnmarstonIsDone" - }, - { - "from": "_0xE3D969D2785FFB5E", - "to": "preventArrestStateThisFrame" - }, - { - "from": "_0x1BB299305C3E8C13", - "to": "scriptRacePlayerHitCheckpoint" - }, - { - "from": "startBenchmarkRecording", - "to": "startEndUserBenchmark" - }, - { - "from": "stopBenchmarkRecording", - "to": "stopEndUserBenchmark" - }, - { - "from": "resetBenchmarkRecording", - "to": "resetEndUserBenchmark" - }, - { - "from": "saveBenchmarkRecording", - "to": "saveEndUserBenchmark" - }, - { - "from": "uiIsSingleplayerPauseMenuActive", - "to": "uiStartedEndUserBenchmark" - }, - { - "from": "landingMenuIsActive", - "to": "landingScreenStartedEndUserBenchmark" - }, - { - "from": "isCommandLineBenchmarkValueSet", - "to": "isCommandlineEndUserBenchmark" - }, - { - "from": "getBenchmarkIterationsFromCommandLine", - "to": "getBenchmarkIterations" - }, - { - "from": "getBenchmarkPassFromCommandLine", - "to": "getBenchmarkPass" - }, - { - "from": "forceSocialClubUpdate", - "to": "quitGame" - }, - { - "from": "isInPowerSavingMode", - "to": "plmIsInConstrainedMode" - }, - { - "from": "getPowerSavingModeDuration", - "to": "plmGetConstrainedDurationMs" - }, - { - "from": "setPlayerRockstarEditorDisabled", - "to": "setPlayerIsRepeatingAMission" - }, - { - "from": "_0x23227DF0B2115469", - "to": "disableScreenDimmingThisFrame" - }, - { - "from": "_0xD10282B6E3751BA0", - "to": "getCityDensity" - }, - { - "from": "_0x693478ACBD7F18E7", - "to": "useActiveCameraForTimeslicingCentre" - }, - { - "from": "setMobilePhoneUnk", - "to": "setMobilePhoneDofState" - }, - { - "from": "cellCamMoveFinger", - "to": "cellSetInput" - }, - { - "from": "cellCamSetLean", - "to": "cellHorizontalModeToggle" - }, - { - "from": "cellCamDisableThisFrame", - "to": "cellCamActivateSelfieMode" - }, - { - "from": "_0xA2CCBE62CD4C91A4", - "to": "cellCamActivateShallowDofMode" - }, - { - "from": "_0x1B0B4AEED5B9B41C", - "to": "cellCamSetSelfieModeSideOffsetScaling" - }, - { - "from": "_0x53F4892D18EC90A4", - "to": "cellCamSetSelfieModeHorzPanOffset" - }, - { - "from": "_0x3117D84EFA60F77B", - "to": "cellCamSetSelfieModeVertPanOffset" - }, - { - "from": "_0x15E69E2802C24B8D", - "to": "cellCamSetSelfieModeRollOffset" - }, - { - "from": "_0xAC2890471901861C", - "to": "cellCamSetSelfieModeDistanceScaling" - }, - { - "from": "_0xD6ADE981781FCA09", - "to": "cellCamSetSelfieModeHeadYawOffset" - }, - { - "from": "_0xF1E22DC13F5EEBAD", - "to": "cellCamSetSelfieModeHeadRollOffset" - }, - { - "from": "_0x466DA42C89865553", - "to": "cellCamSetSelfieModeHeadPitchOffset" - }, - { - "from": "networkGetIsHighEarner", - "to": "networkGetPlayerIsHighEarner" - }, - { - "from": "networkCasinoCanUseGamblingType", - "to": "networkCasinoCanBet" - }, - { - "from": "networkCasinoCanPurchaseChipsWithPvc", - "to": "networkCasinoCanBetPvc" - }, - { - "from": "networkCasinoCanGamble", - "to": "networkCasinoCanBetAmount" - }, - { - "from": "networkCasinoCanPurchaseChipsWithPvc2", - "to": "networkCasinoCanBuyChipsPvc" - }, - { - "from": "networkCasinoPurchaseChips", - "to": "networkCasinoBuyChips" - }, - { - "from": "_0xCD0F5B5D932AE473", - "to": "networkDeferCashTransactionsUntilShopSave" - }, - { - "from": "canPayGoon", - "to": "canPayAmountToBoss" - }, - { - "from": "networkEarnFromGangPickup", - "to": "networkEarnFromGangattackPickup" - }, - { - "from": "networkEarnFromAssassinateTargetKilled", - "to": "networkEarnAssassinateTargetKilled" - }, - { - "from": "networkEarnFromArmourTruck", - "to": "networkEarnFromRobArmoredCars" - }, - { - "from": "networkEarnFromJobX2", - "to": "networkEarnFromJobx2" - }, - { - "from": "networkEarnFromCriminalMastermindBonus", - "to": "networkEarnFromCriminalMastermind" - }, - { - "from": "networkEarnJobBonusHeistAward", - "to": "networkEarnHeistAward" - }, - { - "from": "networkEarnJobBonusFirstTimeBonus", - "to": "networkEarnFirstTimeBonus" - }, - { - "from": "networkEarnBossAgency", - "to": "networkEarnAgency" - }, - { - "from": "_0x6B7E4FB50D5F3D65", - "to": "networkEarnFromSmugglerWork" - }, - { - "from": "_0x31BA138F6304FB9F", - "to": "networkEarnFromHangarTrade" - }, - { - "from": "_0x55A1E095DB052FA5", - "to": "networkEarnPurchaseClubHouse" - }, - { - "from": "networkEarnFromSmuggling", - "to": "networkEarnSmugglerAgency" - }, - { - "from": "_0x9B5016A6433A68C5", - "to": "networkSpendEarnedFromBankAndWallets" - }, - { - "from": "_0xCD4D66B43B1DD28D", - "to": "networkSpentMoveSubmarine" - }, - { - "from": "_0x7C4FCCD2E4DEB394", - "to": "networkEconomyHasFixedCrazyNumbers" - }, - { - "from": "networkSpentBoss", - "to": "networkSpentBossGoon" - }, - { - "from": "networkSpentPayGoon", - "to": "networkSpendGoon" - }, - { - "from": "networkSpentPayBoss", - "to": "networkSpendBoss" - }, - { - "from": "networkBuyContraband", - "to": "networkBuyContrabandMission" - }, - { - "from": "_0x112209CE0290C03A", - "to": "networkSpentPaServiceHeli" - }, - { - "from": "_0xED5FD7AF10F5E262", - "to": "networkSpentPaServiceVehicle" - }, - { - "from": "_0x0D30EB83668E63C5", - "to": "networkSpentPaServiceSnack" - }, - { - "from": "_0xE23ADC6FCB1F29AE", - "to": "networkSpentPaServiceImpound" - }, - { - "from": "networkSpentPaServiceHeliPickup", - "to": "networkSpentPaHeliPickup" - }, - { - "from": "_0x69EF772B192614C1", - "to": "networkSpentPurchaseOfficeProperty" - }, - { - "from": "_0x8E243837643D9583", - "to": "networkSpentUpgradeOfficeProperty" - }, - { - "from": "_0xBD0EFB25CCA8F97A", - "to": "networkSpentPurchaseWarehouseProperty" - }, - { - "from": "_0xA95F667A755725DA", - "to": "networkSpentUpgradeWarehouseProperty" - }, - { - "from": "networkSpentPurchaseWarehouse", - "to": "networkSpentPurchaseImpexpWarehouseProperty" - }, - { - "from": "_0x4128464231E3CA0B", - "to": "networkSpentUpgradeImpexpWarehouseProperty" - }, - { - "from": "_0x2FAB6614CE22E196", - "to": "networkSpentTradeImpexpWarehouseProperty" - }, - { - "from": "_0x998E18CEB44487FC", - "to": "networkSpentPurchaseClubHouse" - }, - { - "from": "_0xFA07759E6FDDD7CF", - "to": "networkSpentUpgradeClubHouse" - }, - { - "from": "_0x6FD97159FE3C971A", - "to": "networkSpentPurchaseBusinessProperty" - }, - { - "from": "_0x675D19C6067CAE08", - "to": "networkSpentUpgradeBusinessProperty" - }, - { - "from": "_0xA51B086B0B2C0F7A", - "to": "networkSpentTradeBusinessProperty" - }, - { - "from": "networkSpentBaService", - "to": "networkSpentMcAbility" - }, - { - "from": "networkSpentBusiness", - "to": "networkSpentPayBusinessSupplies" - }, - { - "from": "_0x5F456788B05FAEAC", - "to": "networkSpentChangeAppearance" - }, - { - "from": "_0xB4C2EC463672474E", - "to": "networkSpentPurchaseOfficeGarage" - }, - { - "from": "_0x2AFC2D19B50797F2", - "to": "networkSpentUpgradeOfficeGarage" - }, - { - "from": "networkSpentUpgradeBunker", - "to": "networkSpentUpradeBunker" - }, - { - "from": "networkEarnFromRdrBonus", - "to": "networkEarnRdrBonus" - }, - { - "from": "networkEarnFromWagePayment", - "to": "networkEarnWagePayment" - }, - { - "from": "networkEarnFromWagePaymentBonus", - "to": "networkEarnWagePaymentBonus" - }, - { - "from": "networkSpentGangopsCannon", - "to": "networkSpendGangopsCannon" - }, - { - "from": "networkSpentGangopsStartMission", - "to": "networkSpendGangopsSkipMission" - }, - { - "from": "networkSpentCasinoHeistSkipMission", - "to": "networkSpendCasinoHeistSkipMission" - }, - { - "from": "networkEarnFromSellBase", - "to": "networkEarnSellBase" - }, - { - "from": "networkEarnFromTargetRefund", - "to": "networkEarnTargetRefund" - }, - { - "from": "networkEarnFromGangopsWages", - "to": "networkEarnGangopsWages" - }, - { - "from": "networkEarnFromGangopsWagesBonus", - "to": "networkEarnGangopsWagesBonus" - }, - { - "from": "networkEarnFromDarChallenge", - "to": "networkEarnDarChallenge" - }, - { - "from": "networkEarnFromDoomsdayFinaleBonus", - "to": "networkEarnDoomsdayFinaleBonus" - }, - { - "from": "networkEarnFromGangopsAwards", - "to": "networkEarnGangopsAward" - }, - { - "from": "networkEarnFromGangopsElite", - "to": "networkEarnGangopsElite" - }, - { - "from": "networkRivalDeliveryCompleted", - "to": "networkServiceEarnGangopsRivalDelivery" - }, - { - "from": "networkSpentGangopsStartStrand", - "to": "networkSpendGangopsStartStrand" - }, - { - "from": "networkSpentGangopsTripSkip", - "to": "networkSpendGangopsTripSkip" - }, - { - "from": "networkEarnFromGangopsJobsPrepParticipation", - "to": "networkEarnGangopsPrepParticipation" - }, - { - "from": "networkEarnFromGangopsJobsSetup", - "to": "networkEarnGangopsSetup" - }, - { - "from": "networkEarnFromGangopsJobsFinale", - "to": "networkEarnGangopsFinale" - }, - { - "from": "_0x2A7CEC72C3443BCC", - "to": "networkSpendGangopsRepairCost" - }, - { - "from": "_0xE0F82D68C7039158", - "to": "networkEarnNightclub" - }, - { - "from": "_0xB4DEAE67F35E2ACD", - "to": "networkEarnNightclubDancing" - }, - { - "from": "networkEarnFromBbEventBonus", - "to": "networkEarnBbEventBonus" - }, - { - "from": "_0x2A93C46AAB1EACC9", - "to": "networkSpentPurchaseHackerTruck" - }, - { - "from": "_0x226C284C830D0CA8", - "to": "networkSpentUpgradeHackerTruck" - }, - { - "from": "networkEarnFromHackerTruckMission", - "to": "networkEarnHackerTruck" - }, - { - "from": "_0xED76D195E6E3BF7F", - "to": "networkSpentPurchaseNightclubAndWarehouse" - }, - { - "from": "_0x1DC9B749E7AE282B", - "to": "networkSpentUpgradeNightclubAndWarehouse" - }, - { - "from": "_0xC6E74CF8C884C880", - "to": "networkEarnNightclubAndWarehouse" - }, - { - "from": "_0x65482BFD0923C8A1", - "to": "networkSpendNightclubAndWarehouse" - }, - { - "from": "networkSpentRdrhatchetBonus", - "to": "networkSpentRdrHatchetBonus" - }, - { - "from": "networkSpentNightclubBarDrink", - "to": "networkSpendNightclubBarDrink" - }, - { - "from": "networkSpentBountyHunterMission", - "to": "networkSpendBountyHunterMission" - }, - { - "from": "networkEarnFromArenaSkillLevelProgression", - "to": "networkEarnArenaSkillLevelProgression" - }, - { - "from": "networkEarnFromArenaCareerProgression", - "to": "networkEarnArenaCareerProgression" - }, - { - "from": "networkSpentMakeItRain", - "to": "networkSpendMakeItRain" - }, - { - "from": "networkSpentBuyArena", - "to": "networkSpendBuyArena" - }, - { - "from": "networkSpentUpgradeArena", - "to": "networkSpendUpgradeArena" - }, - { - "from": "networkSpentArenaSpectatorBox", - "to": "networkSpendArenaSpectatorBox" - }, - { - "from": "networkSpentSpinTheWheelPayment", - "to": "networkSpendSpinTheWheelPayment" - }, - { - "from": "networkEarnFromSpinTheWheelCash", - "to": "networkEarnSpinTheWheelCash" - }, - { - "from": "networkSpentArenaPremium", - "to": "networkSpendArenaPremium" - }, - { - "from": "networkEarnFromArenaWar", - "to": "networkEarnArenaWar" - }, - { - "from": "networkEarnFromAssassinateTargetKilled2", - "to": "networkEarnArenaWarAssassinateTarget" - }, - { - "from": "networkEarnFromBbEventCargo", - "to": "networkEarnArenaWarEventCargo" - }, - { - "from": "networkEarnFromRcTimeTrial", - "to": "networkEarnRcTimeTrial" - }, - { - "from": "networkEarnFromDailyObjectiveEvent", - "to": "networkEarnDailyObjectiveEvent" - }, - { - "from": "networkSpentCasinoMembership", - "to": "networkSpendCasinoMembership" - }, - { - "from": "networkSpentBuyCasino", - "to": "networkSpendBuyCasino" - }, - { - "from": "networkSpentUpgradeCasino", - "to": "networkSpendUpgradeCasino" - }, - { - "from": "networkSpentCasinoGeneric", - "to": "networkSpendCasinoGeneric" - }, - { - "from": "networkEarnFromTimeTrialWin", - "to": "networkEarnCasinoTimeTrialWin" - }, - { - "from": "networkEarnFromCollectablesActionFigures", - "to": "networkEarnCollectablesActionFigures" - }, - { - "from": "networkEarnFromCompleteCollection", - "to": "networkEarnCasinoCollectableCompletedCollection" - }, - { - "from": "networkEarnFromSellingVehicle", - "to": "networkEarnSellPrizeVehicle" - }, - { - "from": "networkEarnFromCasinoMissionReward", - "to": "networkEarnCasinoMissionReward" - }, - { - "from": "networkEarnFromCasinoStoryMissionReward", - "to": "networkEarnCasinoStoryMissionReward" - }, - { - "from": "networkEarnFromCasinoMissionParticipation", - "to": "networkEarnCasinoMissionParticipation" - }, - { - "from": "networkEarnFromCasinoAward", - "to": "networkEarnCasinoAward" - }, - { - "from": "_0x870289A558348378", - "to": "networkSpendBuyArcade" - }, - { - "from": "_0x5574637681911FDA", - "to": "networkSpendUpgradeArcade" - }, - { - "from": "networkSpentCasinoHeist", - "to": "networkSpendCasinoHeist" - }, - { - "from": "_0xB5B58E24868CB09E", - "to": "networkSpendArcadeMgmt" - }, - { - "from": "networkSpentArcadeGame", - "to": "networkSpendPlayArcade" - }, - { - "from": "networkSpentArcadeGeneric", - "to": "networkSpendArcade" - }, - { - "from": "_0x4C3B75694F7E0D9C", - "to": "networkEarnUpgradeArcade" - }, - { - "from": "_0xD29334ED1A256DBF", - "to": "networkEarnArcade" - }, - { - "from": "_0xA95CFB4E02390842", - "to": "networkEarnCollectables" - }, - { - "from": "_0x0DD362F14F18942A", - "to": "networkEarnChallenge" - }, - { - "from": "networkEarnCasinoHeistBonus", - "to": "networkEarnCasinoHeistAwards" - }, - { - "from": "networkEarnFromCollectionItem", - "to": "networkEarnCollectableItem" - }, - { - "from": "_0xDE68E30D89F97132", - "to": "networkEarnYatchMission" - }, - { - "from": "_0xE2E244AB823B4483", - "to": "networkEarnDispatchCall" - }, - { - "from": "networkSpentBeachPartyGeneric", - "to": "networkSpendBeachParty" - }, - { - "from": "networkSpentSubmarine", - "to": "networkSpendSubmarine" - }, - { - "from": "networkSpentCasinoClubGeneric", - "to": "networkSpendCasinoClub" - }, - { - "from": "_0x90CD7C6871FBF1B4", - "to": "networkSpendBuySub" - }, - { - "from": "networkSpentUpgradeSub", - "to": "networkSpendUpgradeSub" - }, - { - "from": "networkSpentIslandHeist", - "to": "networkSpendIslandHeist" - }, - { - "from": "_0xA51338E0DCCD4065", - "to": "networkEarnBeachPartyLostFound" - }, - { - "from": "_0xE2BB399D90942091", - "to": "networkEarnFromIslandHeistDjMission" - }, - { - "from": "networkSpentCarclubMembership", - "to": "networkSpendCarClubMembership" - }, - { - "from": "networkSpentCarclub", - "to": "networkSpendCarClubBar" - }, - { - "from": "networkSpentAutoshopModifications", - "to": "networkSpendAutoshopModify" - }, - { - "from": "networkSpentCarclubTakeover", - "to": "networkSpendCarClubTakeover" - }, - { - "from": "networkSpentBuyAutoshop", - "to": "networkSpendBuyAutoshop" - }, - { - "from": "networkSpentUpgradeAutoshop", - "to": "networkSpendUpgradeAutoshop" - }, - { - "from": "networkEarnFromAutoshopBusiness", - "to": "networkEarnAutoshopBusiness" - }, - { - "from": "networkEarnFromAutoshopIncome", - "to": "networkEarnAutoshopIncome" - }, - { - "from": "networkEarnFromCarclubMembership", - "to": "networkEarnCarclubMembership" - }, - { - "from": "networkEarnFromVehicleAutoshop", - "to": "networkEarnDailyVehicle" - }, - { - "from": "networkEarnFromVehicleAutoshopBonus", - "to": "networkEarnDailyVehicleBonus" - }, - { - "from": "networkEarnFromTunerAward", - "to": "networkEarnTunerAward" - }, - { - "from": "networkEarnFromTunerFinale", - "to": "networkEarnTunerRobbery" - }, - { - "from": "networkEarnFromUpgradeAutoshopLocation", - "to": "networkEarnUpgradeAutoshop" - }, - { - "from": "networkSpentImAbility", - "to": "networkSpendInteractionMenuAbility" - }, - { - "from": "networkSpentFromBank", - "to": "networkSpendSetCommonFields" - }, - { - "from": "networkGetVcWalletBalanceIsNotLessThan", - "to": "networkGetCanSpendFromWallet" - }, - { - "from": "networkGetVcBankBalanceIsNotLessThan", - "to": "networkGetCanSpendFromBank" - }, - { - "from": "networkGetVcBankWalletBalanceIsNotLessThan", - "to": "networkGetCanSpendFromBankAndWallet" - }, - { - "from": "_0x08E8EEADFD0DC4A0", - "to": "networkGetCanTransferCash" - }, - { - "from": "_0xE154B48B68EF72BC", - "to": "hasVcWithdrawalCompleted" - }, - { - "from": "_0x6FCF8DDEA146C45B", - "to": "wasVcWithdrawalSuccessful" - }, - { - "from": "netGameserverCatalogItemExists", - "to": "netGameserverCatalogItemIsValid" - }, - { - "from": "netGameserverCatalogItemExistsHash", - "to": "netGameserverCatalogItemKeyIsValid" - }, - { - "from": "netGameserverCatalogIsReady", - "to": "netGameserverCatalogIsValid" - }, - { - "from": "netGameserverIsCatalogValid", - "to": "netGameserverIsCatalogCurrent" - }, - { - "from": "_0x85F6C9ABA1DE2BCF", - "to": "netGameserverGetCatalogCloudCrc" - }, - { - "from": "_0x357B152EF96C30B6", - "to": "netGameserverRefreshServerCatalog" - }, - { - "from": "netGameserverGetCatalogState", - "to": "netGameserverRetrieveCatalogRefreshStatus" - }, - { - "from": "_0xE3E5A7C64CA2C6ED", - "to": "netGameserverInitSession" - }, - { - "from": "_0x0395CB47B022E62C", - "to": "netGameserverRetrieveInitSessionStatus" - }, - { - "from": "_0x72EB7BA9B69BF6AB", - "to": "netGameserverStartSessionPending" - }, - { - "from": "_0x170910093218C8B9", - "to": "netGameserverRetrieveStartSessionStatus" - }, - { - "from": "_0xC13C38E47EA5DF31", - "to": "netGameserverRetrieveSessionErrorCode" - }, - { - "from": "_0x74A0FD0688F1EE45", - "to": "netGameserverClearSession" - }, - { - "from": "netGameserverGetBalance", - "to": "netGameserverStartSessionRestart" - }, - { - "from": "_0x613F125BA3BD2EB9", - "to": "netGameserverTransactionInProgress" - }, - { - "from": "netGameserverGetTransactionManagerData", - "to": "netGameserverGetSessionStateAndStatus" - }, - { - "from": "netGameserverBasketDelete", - "to": "netGameserverBasketEnd" - }, - { - "from": "netGameserverBasketEnd", - "to": "netGameserverBasketIsActive" - }, - { - "from": "netGameserverDeleteCharacterSlot", - "to": "netGameserverDeleteCharacter" - }, - { - "from": "netGameserverDeleteCharacterSlotGetStatus", - "to": "netGameserverDeleteCharacterGetStatus" - }, - { - "from": "netGameserverTransferCashGetStatus", - "to": "netGameserverTransferBankToWalletGetStatus" - }, - { - "from": "netGameserverTransferCashGetStatus2", - "to": "netGameserverTransferWalletToBankGetStatus" - }, - { - "from": "_0xBD545D44CCE70597", - "to": "networkIsNpAvailable" - }, - { - "from": "_0xEBCAB9E5048434F4", - "to": "networkIsNpPending" - }, - { - "from": "_0x74FB3E29E6D10FA9", - "to": "networkGetNpUnavailableReason" - }, - { - "from": "_0x7808619F31FF22DB", - "to": "networkIsConnetedToNpPresence" - }, - { - "from": "_0xA0FA4EC6A05DA44E", - "to": "networkIsLoggedInToPsn" - }, - { - "from": "_0x8D11E61A4ABF49CC", - "to": "networkIsRefreshingRosCredentials" - }, - { - "from": "_0x4237E822315D8BA9", - "to": "networkWasGameSuspended" - }, - { - "from": "networkHasAgeRestrictedProfile", - "to": "networkHasAgeRestrictions" - }, - { - "from": "_0x78321BEA235FD8CD", - "to": "networkCheckOnlinePrivileges" - }, - { - "from": "_0x07EAB372C8841D99", - "to": "networkCheckTextCommunicationPrivileges" - }, - { - "from": "_0x906CA41A4B74ECA4", - "to": "networkIsUsingOnlinePromotion" - }, - { - "from": "_0x023ACAB2DC9DC4A4", - "to": "networkShouldShowPromotionAlertScreen" - }, - { - "from": "_0x0CF6CC51AA18F0F8", - "to": "networkCheckPrivileges" - }, - { - "from": "_0x64E5C4CC82847B73", - "to": "networkIsPrivilegeCheckInProgress" - }, - { - "from": "_0x1F7BC3539F9E0224", - "to": "networkSetPrivilegeCheckResultNotNeeded" - }, - { - "from": "networkHaveOnlinePrivilege2", - "to": "networkHavePlatformSubscription" - }, - { - "from": "_0xA8ACB6459542A8C8", - "to": "networkIsPlatformSubscriptionCheckPending" - }, - { - "from": "_0x83FE8D7229593017", - "to": "networkShowAccountUpgradeUi" - }, - { - "from": "_0x53C10C8BD774F2C9", - "to": "networkNeedToStartNewGameButBlocked" - }, - { - "from": "_0x283B6062A2C01E9B", - "to": "networkOnReturnToSinglePlayer" - }, - { - "from": "_0x8B4FFC790CA131EF", - "to": "networkTransitionStart" - }, - { - "from": "networkTransitionTrack", - "to": "networkTransitionAddStage" - }, - { - "from": "_0x04918A41BC9B8157", - "to": "networkTransitionFinish" - }, - { - "from": "networkSessionEnter", - "to": "networkSessionDoFreeroamQuickmatch" - }, - { - "from": "networkSessionFriendMatchmaking", - "to": "networkSessionDoFriendMatchmaking" - }, - { - "from": "networkSessionCrewMatchmaking", - "to": "networkSessionDoCrewMatchmaking" - }, - { - "from": "networkSessionActivityQuickmatch", - "to": "networkSessionDoActivityQuickmatch" - }, - { - "from": "_0xB9351A07A0D458B1", - "to": "networkSessionLeave" - }, - { - "from": "_0x041C7F2A6C9894E6", - "to": "networkSessionReserveSlotsTransition" - }, - { - "from": "_0xF49ABC20D8552257", - "to": "networkSessionSetUniqueCrewLimit" - }, - { - "from": "_0x4811BBAC21C5FCD5", - "to": "networkSessionSetUniqueCrewLimitTransition" - }, - { - "from": "_0x5539C3EBF104A53A", - "to": "networkSessionSetUniqueCrewOnlyCrewsTransition" - }, - { - "from": "_0x702BC4D605522539", - "to": "networkSessionSetCrewLimitMaxMembersTransition" - }, - { - "from": "_0x59D421683D31835A", - "to": "networkSessionSetNumBosses" - }, - { - "from": "_0x1153FA02A659051C", - "to": "networkSessionSetScriptValidateJoin" - }, - { - "from": "_0x600F8CB31C7AAB6E", - "to": "networkSessionSetGamemode" - }, - { - "from": "networkGetTargetingMode", - "to": "networkSessionGetHostAimPreference" - }, - { - "from": "_0xC42DD763159F3461", - "to": "networkHasConfirmedInvite" - }, - { - "from": "networkAcceptInvite", - "to": "networkRequestInviteConfirmedEvent" - }, - { - "from": "_0xD313DE83394AF134", - "to": "networkSessionIsAwaitingInviteResponse" - }, - { - "from": "_0xBDB6F89C729CF388", - "to": "networkSessionIsDisplayingInviteConfirmation" - }, - { - "from": "_0xF814FEC6A19FD6E0", - "to": "networkStoreInviteThroughRestart" - }, - { - "from": "networkBlockKickedPlayers", - "to": "networkAllowInviteProcessInPlayerSwitch" - }, - { - "from": "_0x4C9034162368E206", - "to": "networkGetGameMode" - }, - { - "from": "_0xB5D3453C98456528", - "to": "networkSessionIsVoiceSessionActive" - }, - { - "from": "_0x0E4F77F7B9D74D84", - "to": "networkSetActivityPlayerMax" - }, - { - "from": "_0x1888694923EF4591", - "to": "networkClearGroupActivity" - }, - { - "from": "_0xB13E88E655E5A3BC", - "to": "networkRetainActivityGroup" - }, - { - "from": "_0x617F49C2668E6155", - "to": "networkGetNumTransitionNonAsyncGamers" - }, - { - "from": "_0x261E97AD7BCF3D40", - "to": "networkMarkAsPreferredActivity" - }, - { - "from": "_0x39917E1B4CB0F911", - "to": "networkMarkAsWaitingAsync" - }, - { - "from": "_0x2CE9D95E4051AECD", - "to": "networkSetInProgressFinishTime" - }, - { - "from": "_0xA2E9C1AB8A92E8CD", - "to": "networkSetDoNotLaunchFromJoinAsMigratedHost" - }, - { - "from": "_0xC571D0E77D8BBC29", - "to": "networkIsTransitionLeavePostponed" - }, - { - "from": "_0x1398582B7F72B3ED", - "to": "networkTransitionSetInProgress" - }, - { - "from": "_0x1F8E00FB18239600", - "to": "networkTransitionSetContentCreator" - }, - { - "from": "_0xF6F4383B7C92F11A", - "to": "networkTransitionSetActivityIsland" - }, - { - "from": "_0x973D76AA760A6CB6", - "to": "networkTransitionBlockJoinRequests" - }, - { - "from": "_0x3F9990BF5F22759C", - "to": "networkHasTransitionInviteBeenAcked" - }, - { - "from": "_0x4A9FDE3A5A6D0437", - "to": "networkSetPresenceSessionInvitesBlocked" - }, - { - "from": "networkSendPresenceTransitionInvite", - "to": "networkSendTransitionInviteViaPresence" - }, - { - "from": "_0x1171A97A3D3981B6", - "to": "networkSendImportantTransitionInviteViaPresence" - }, - { - "from": "_0x742B58F723233ED9", - "to": "networkGetPresenceInviteIndexById" - }, - { - "from": "_0xEBF8284D8CADEB53", - "to": "networkRemoveAndCancelAllInvites" - }, - { - "from": "_0xF083835B70BA9BFE", - "to": "networkRemoveAndCancelAllTransitionInvites" - }, - { - "from": "_0x71DC455F5CD1C2B1", - "to": "networkHasMadeInviteDecision" - }, - { - "from": "_0x3855FB5EB2C5E8B2", - "to": "networkGetInviteReplyStatus" - }, - { - "from": "_0x4AD490AE1536933B", - "to": "networkCheckDataManagerForHandle" - }, - { - "from": "_0x0D77A82DC2D0DA59", - "to": "networkSetInviteFailedMessageForInviteMenu" - }, - { - "from": "networkGetPlatformPartyUnk", - "to": "networkGetPlatformPartyMemberCount" - }, - { - "from": "_0x2BF66D2E7414F686", - "to": "networkCanQueueForPreviousSessionJoin" - }, - { - "from": "_0x14922ED3E38761F0", - "to": "networkIsQueuingForSessionJoin" - }, - { - "from": "_0x6CE50E47F5543D0C", - "to": "networkClearQueuedJoinRequest" - }, - { - "from": "_0xFA2888E3833C8E96", - "to": "networkSendQueuedJoinRequest" - }, - { - "from": "_0x25D990F8E0E3F13C", - "to": "networkRemoveAllQueuedJoinRequests" - }, - { - "from": "triggerScriptCrcCheckOnPlayer", - "to": "triggerPlayerCrcHackerCheck" - }, - { - "from": "_0xA12D3A5A3753CC23", - "to": "triggerTuningCrcHackerCheck" - }, - { - "from": "_0xF287F506767CC8A9", - "to": "triggerFileCrcHackerCheck" - }, - { - "from": "remoteCheatDetected", - "to": "remoteCheaterPlayerDetected" - }, - { - "from": "networkIsThisScriptMarked", - "to": "networkTryToSetThisScriptIsNetworkScript" - }, - { - "from": "_0xEA8C0DDB10E2822A", - "to": "networkRegisterHighFrequencyHostBroadcastVariables" - }, - { - "from": "_0xD6D7478CA62B8D41", - "to": "networkRegisterHighFrequencyPlayerBroadcastVariables" - }, - { - "from": "_0x560B423D73015E77", - "to": "networkIsThreadANetworkScript" - }, - { - "from": "_0x2302C0264EA58D31", - "to": "networkPreventScriptHostMigration" - }, - { - "from": "_0x741A3D8380319A81", - "to": "networkRequestToBeHostOfThisScript" - }, - { - "from": "_0x2DA41ED6E1FCD7A5", - "to": "networkGetKillerOfPlayer" - }, - { - "from": "_0xC434133D9BA52777", - "to": "networkGetDestroyerOfEntity" - }, - { - "from": "_0x83660B734994124D", - "to": "networkGetAssistedKillOfEntity" - }, - { - "from": "networkGetDestroyerOfEntity", - "to": "networkGetAssistedDamageOfEntity" - }, - { - "from": "networkPedForceGameStateUpdate", - "to": "networkPatchPostCutsceneHs4fTunEnt" - }, - { - "from": "networkIsNetworkIdAClone", - "to": "networkIsNetworkIdRemotelyControlled" - }, - { - "from": "networkGetEntityNetScriptId", - "to": "networkEntityGetObjectId" - }, - { - "from": "_0x37D5F739FD494675", - "to": "networkGetEntityFromObjectId" - }, - { - "from": "networkGetFriendNameFromIndex", - "to": "networkGetFriendDisplayName" - }, - { - "from": "_0x4C2A9FDC22377075", - "to": "networkIgnoreRemoteWaypoints" - }, - { - "from": "_0xB309EBEA797E001F", - "to": "networkSetScriptAutomuted" - }, - { - "from": "_0x26F07DD83A5F7F98", - "to": "networkHasAutomuteOverride" - }, - { - "from": "_0x7D395EA61622E116", - "to": "networkSetLookAtTalkers" - }, - { - "from": "networkIsLocalTalking", - "to": "networkIsPushToTalkActive" - }, - { - "from": "networkCanCommunicateWithGamer2", - "to": "networkCanCommunicateWithGamer" - }, - { - "from": "networkCanCommunicateWithGamer", - "to": "networkCanTextChatWithGamer" - }, - { - "from": "_0xCFEB46DCD7D8D5EB", - "to": "networkRemainInGameChat" - }, - { - "from": "_0x265559DA40B3F327", - "to": "networkSetScriptControllingTeams" - }, - { - "from": "_0x4348BFDA56023A2F", - "to": "networkSetSameTeamAsLocalPlayer" - }, - { - "from": "_0x3C5C1E2C2FF814B1", - "to": "networkSetOverrideTutorialSessionChat" - }, - { - "from": "_0x9D7AFCBF21C51712", - "to": "networkSetProximityAffectsTeam" - }, - { - "from": "_0x6A5D89D7769A40D8", - "to": "networkSetIgnoreSpectatorChatLimitsSameTeam" - }, - { - "from": "_0x5E3AA4CA2B6FB0EE", - "to": "networkEnableVoiceBandwidthRestriction" - }, - { - "from": "_0xCA575C391FEA25CC", - "to": "networkDisableVoiceBandwidthRestriction" - }, - { - "from": "_0xADB57E5B663CCA8B", - "to": "networkGetMuteCountForPlayer" - }, - { - "from": "_0x8EF52ACAECC51D9C", - "to": "networkSetSpectatorToNonSpectatorTextChat" - }, - { - "from": "networkIsTextChatActive", - "to": "networkTextChatIsTyping" - }, - { - "from": "_0x17C9E241111A674D", - "to": "networkKeepEntityCollisionDisabledAfterAnimScene" - }, - { - "from": "_0x2E4C123D1C8A710E", - "to": "networkIsAnyPlayerNear" - }, - { - "from": "networkClanAnimation", - "to": "networkClanCrewinfoGetStringValue" - }, - { - "from": "_0x2B51EDBEFC301339", - "to": "networkClanCrewinfoGetCrewranktitle" - }, - { - "from": "_0xC32EA7A2F6CA7557", - "to": "networkClanHasCrewinfoMetadataBeenReceived" - }, - { - "from": "_0x9D724B400A7E8FFC", - "to": "setNetworkIdCanBeReassigned" - }, - { - "from": "_0x0379DAF89BA09AA5", - "to": "networkSetObjectCanBlendWhenFixed" - }, - { - "from": "networkSetEntityInvisibleToNetwork", - "to": "networkSetEntityOnlyExistsForParticipants" - }, - { - "from": "_0x32EBD154CB6B8B99", - "to": "setNetworkIdVisibleInCutsceneHack" - }, - { - "from": "_0x76B3F29D3F967692", - "to": "setNetworkIdVisibleInCutsceneRemainHack" - }, - { - "from": "_0x3FA36981311FA4FF", - "to": "setNetworkIdPassControlInTutorial" - }, - { - "from": "reserveNetworkLocalObjects", - "to": "reserveLocalNetworkMissionObjects" - }, - { - "from": "reserveNetworkLocalPeds", - "to": "reserveLocalNetworkMissionPeds" - }, - { - "from": "reserveNetworkLocalVehicles", - "to": "reserveLocalNetworkMissionVehicles" - }, - { - "from": "_0xE16AA70CE9BEEDC3", - "to": "canRegisterMissionDoors" - }, - { - "from": "_0xE42D626EEC94E5D9", - "to": "getReservedMissionEntitiesInArea" - }, - { - "from": "_0xBA7F0B77D80A4EB7", - "to": "networkSetObjectScopeDistance" - }, - { - "from": "_0x0F1A4B45B7693B95", - "to": "networkAllowCloningWhileInTutorial" - }, - { - "from": "networkSetChoiceMigrateOptions", - "to": "networkSetAntagonisticToPlayer" - }, - { - "from": "_0xFAC18E7356BD3210", - "to": "networkHideProjectileInCutscene" - }, - { - "from": "setNetworkVehiclePositionUpdateMultiplier", - "to": "setNetworkVehicleMaxPositionDeltaMultiplier" - }, - { - "from": "setNetworkEnableVehiclePositionCorrection", - "to": "setNetworkEnableHighSpeedEdgeFallDetection" - }, - { - "from": "isEntityGhostedToLocalPlayer", - "to": "isEntityAGhost" - }, - { - "from": "_0x13F1FCB111B820B0", - "to": "setNonParticipantsOfThisScriptAsGhosts" - }, - { - "from": "setRelationshipToPlayer", - "to": "setRemotePlayerAsGhost" - }, - { - "from": "setGhostedEntityAlpha", - "to": "setGhostAlpha" - }, - { - "from": "resetGhostedEntityAlpha", - "to": "resetGhostAlpha" - }, - { - "from": "networkSetEntityGhostedWithOwner", - "to": "setEntityGhostedForGhostPlayers" - }, - { - "from": "_0xD7B6C73CAD419BCF", - "to": "setInvertGhosting" - }, - { - "from": "_0x7EF7649B64D7FF10", - "to": "isEntityInGhostCollision" - }, - { - "from": "_0xA5EAFE473E45C442", - "to": "networkAddPedToSynchronisedSceneWithIk" - }, - { - "from": "_0x45F35C0EDC33B03B", - "to": "networkAddMapEntityToSynchronisedScene" - }, - { - "from": "_0xC9B43A33D09CADA7", - "to": "networkForceLocalUseOfSyncedSceneCamera" - }, - { - "from": "_0x144DA052257AE7D8", - "to": "networkAllowRemoteSyncedSceneLocalPlayerRequests" - }, - { - "from": "_0xFB1F9381E80FA13F", - "to": "networkFindLargestBunchOfPlayers" - }, - { - "from": "_0xFB680D403909DC70", - "to": "networkAllowGangToJoinTutorialSession" - }, - { - "from": "_0xB37E4E6A2388CA7B", - "to": "networkWaitingPopClearTutorialSession" - }, - { - "from": "networkIsPlayerEqualToIndex", - "to": "networkArePlayersInSameTutorialSession" - }, - { - "from": "networkOverrideClockMillisecondsPerGameMinute", - "to": "networkOverrideClockRate" - }, - { - "from": "networkAddEntityDisplayedBoundaries", - "to": "networkAddClientEntityArea" - }, - { - "from": "_0x2B1C623823DB0D9D", - "to": "networkAddClientEntityAngledArea" - }, - { - "from": "_0x4DF7CFFF471A7FB1", - "to": "networkEntityAreaHaveAllReplied" - }, - { - "from": "_0xA6FCECCF4721D679", - "to": "networkSetCustomArenaBallParams" - }, - { - "from": "_0x95BAF97C82464629", - "to": "networkEntityUseHighPrecisionRotation" - }, - { - "from": "networkAllocateTunablesRegistrationDataMap", - "to": "networkAccessTunableModificationDetectionClear" - }, - { - "from": "networkRegisterTunableIntHash", - "to": "networkAccessTunableIntModificationDetectionRegistrationHash" - }, - { - "from": "networkRegisterTunableFloatHash", - "to": "networkAccessTunableFloatModificationDetectionRegistrationHash" - }, - { - "from": "networkRegisterTunableBoolHash", - "to": "networkAccessTunableBoolModificationDetectionRegistrationHash" - }, - { - "from": "_0x7DB53B37A2F211A0", - "to": "networkGetBoneIdOfFatalHit" - }, - { - "from": "networkGetNumBodyTrackers", - "to": "networkGetNumberBodyTrackerHits" - }, - { - "from": "_0x2E0BF682CC778D49", - "to": "networkHasBoneBeenHitByKiller" - }, - { - "from": "_0x0EDE326D47CD0F3E", - "to": "networkSetAttributeDamageToPlayer" - }, - { - "from": "networkSetVehicleWheelsDestructible", - "to": "networkTriggerDamageEventForZeroDamage" - }, - { - "from": "_0x38B7C51AB1EDC7D8", - "to": "networkTriggerDamageEventForZeroWeaponHash" - }, - { - "from": "_0x3FC795691834481D", - "to": "networkSetNoLongerNeeded" - }, - { - "from": "_0x2A5E0621DD815A9A", - "to": "networkExplodeHeli" - }, - { - "from": "_0xE6717E652B8C8D8A", - "to": "networkEnableExtraVehicleOrientationBlendChecks" - }, - { - "from": "_0x367EF5E2F439B4C6", - "to": "networkSetPlayerMentalState" - }, - { - "from": "_0x94538037EE44F5CF", - "to": "networkSetMinimumRankForMission" - }, - { - "from": "_0xB606E6CC59664972", - "to": "triggerCommerceDataFetch" - }, - { - "from": "_0x1D4DC17C38FEAFF0", - "to": "isCommerceDataFetchInProgress" - }, - { - "from": "_0x265635150FB0D82E", - "to": "delayMpStoreOpen" - }, - { - "from": "_0x444C4525ECE0A4B9", - "to": "resetStoreNetworkGameTracking" - }, - { - "from": "_0x59328EB08C5CEB2B", - "to": "isUserOldEnoughToAccessStore" - }, - { - "from": "_0xFAE628F1E9ADB239", - "to": "setLastViewedShopItem" - }, - { - "from": "_0x754615490A029508", - "to": "getUserPremiumAccess" - }, - { - "from": "_0x155467ACA0F55705", - "to": "getUserStarterAccess" - }, - { - "from": "_0x8B0C2964BA471961", - "to": "getContentToLoadType" - }, - { - "from": "_0x88B588B41FF7868E", - "to": "getIsLaunchFromLiveArea" - }, - { - "from": "_0x67FC09BC554A75E5", - "to": "getIsLiveAreaLaunchWithContent" - }, - { - "from": "clearLaunchParams", - "to": "clearServiceEventArguments" - }, - { - "from": "_0x9FEDF86898F100E9", - "to": "ugcIsCreating" - }, - { - "from": "_0x692D58DF40657E8C", - "to": "ugcQueryByCategory" - }, - { - "from": "ugcQueryRecentlyCreatedContent", - "to": "ugcQueryMostRecentlyCreatedContent" - }, - { - "from": "setBalanceAddMachine", - "to": "ugcGetGetByContentId" - }, - { - "from": "setBalanceAddMachines", - "to": "ugcGetGetByContentIds" - }, - { - "from": "_0xA7862BC5ED1DFD7E", - "to": "ugcGetMostRecentlyCreatedContent" - }, - { - "from": "_0x97A770BEEF227E2B", - "to": "ugcGetMostRecentlyPlayedContent" - }, - { - "from": "_0x5324A0E3E4CE3570", - "to": "ugcGetTopRatedContent" - }, - { - "from": "_0xC87E740D9F3872CC", - "to": "ugcWasQueryForceCancelled" - }, - { - "from": "_0x584770794D758C18", - "to": "ugcGetContentCreatorGamerHandle" - }, - { - "from": "_0x8C8D2739BA44AF0F", - "to": "ugcGetContentCreatedByLocalPlayer" - }, - { - "from": "_0xAEAB987727C5A8A4", - "to": "ugcGetContentIsUsingScNickname" - }, - { - "from": "_0x1D610EB0FEA716D9", - "to": "ugcGetContentHasLoResPhoto" - }, - { - "from": "_0x7FCC39C46C3C03BD", - "to": "ugcGetContentHasHiResPhoto" - }, - { - "from": "_0x2D5DC831176D0114", - "to": "ugcIsDescriptionRequestInProgress" - }, - { - "from": "_0xEBFA8D50ADDC54C4", - "to": "ugcHasDescriptionRequestFinished" - }, - { - "from": "_0x162C23CA83ED0A62", - "to": "ugcDidDescriptionRequestSucceed" - }, - { - "from": "_0x5A34CD9C3C5BEC44", - "to": "ugcReleaseCachedDescription" - }, - { - "from": "_0x68103E2247887242", - "to": "ugcReleaseAllCachedDescriptions" - }, - { - "from": "_0x45E816772E93A9DB", - "to": "ugcIsModifying" - }, - { - "from": "_0x793FF272D5B365F4", - "to": "ugcDidModifySucceed" - }, - { - "from": "_0xB746D20B17F2A229", - "to": "ugcGetCreatorsByUserId" - }, - { - "from": "_0x63B406D7884BFA95", - "to": "ugcHasQueryCreatorsFinished" - }, - { - "from": "_0x4D02279C83BE69FE", - "to": "ugcDidQueryCreatorsSucceed" - }, - { - "from": "ugcPoliciesMakePrivate", - "to": "ugcLoadOfflineQuery" - }, - { - "from": "_0xFD75DABC0957BF33", - "to": "ugcSetUsingOfflineContent" - }, - { - "from": "facebookSetHeistComplete", - "to": "facebookPostCompletedHeist" - }, - { - "from": "facebookSetCreateCharacterComplete", - "to": "facebookPostCreateCharacter" - }, - { - "from": "facebookSetMilestoneComplete", - "to": "facebookPostCompletedMilestone" - }, - { - "from": "facebookIsSendingData", - "to": "facebookHasPostCompleted" - }, - { - "from": "facebookDoUnkCheck", - "to": "facebookDidPostSucceed" - }, - { - "from": "facebookIsAvailable", - "to": "facebookCanPostToFacebook" - }, - { - "from": "_0x60EDD13EB3AC1FF3", - "to": "networkCheckRosLinkWentdownNotNet" - }, - { - "from": "networkShouldShowConnectivityTroubleshooting", - "to": "networkShouldShowStrictNatWarning" - }, - { - "from": "networkGetRosPrivilege9", - "to": "networkHaveScsPrivateMsgPriv" - }, - { - "from": "networkGetRosPrivilege24", - "to": "networkHasRosPrivilegePlayedLastGen" - }, - { - "from": "networkGetRosPrivilege25", - "to": "networkHasRosPrivilegeSpecialEditionContent" - }, - { - "from": "_0x36391F397731595D", - "to": "networkStartCommunicationPermissionsCheck" - }, - { - "from": "_0x9465E683B12D3F6B", - "to": "networkSkipRadioResetNextClose" - }, - { - "from": "_0xCA59CCAE5D01E4CE", - "to": "networkSkipRadioResetNextOpen" - }, - { - "from": "networkHasGameBeenAltered", - "to": "networkSkipRadioWarning" - }, - { - "from": "networkUpdatePlayerScars", - "to": "networkForceLocalPlayerScarSync" - }, - { - "from": "networkAllowLocalEntityAttachment", - "to": "networkAllowRemoteAttachmentModification" - }, - { - "from": "_0x6BFF5F84102DF80A", - "to": "networkShowChatRestrictionMsc" - }, - { - "from": "_0x5C497525F803486B", - "to": "networkShowPsnUgcRestriction" - }, - { - "from": "_0x6FB7BB3607D27FA2", - "to": "networkIsTitleUpdateRequired" - }, - { - "from": "_0x45A83257ED02D9BC", - "to": "networkQuitMpToDesktop" - }, - { - "from": "networkIsConnectionEndpointRelayServer", - "to": "networkIsConnectedViaRelay" - }, - { - "from": "networkGetAverageLatencyForPlayer", - "to": "networkGetAverageLatency" - }, - { - "from": "networkGetAverageLatencyForPlayer2", - "to": "networkGetAveragePing" - }, - { - "from": "networkGetAveragePacketLossForPlayer", - "to": "networkGetAveragePacketLoss" - }, - { - "from": "networkGetNumUnackedForPlayer", - "to": "networkGetNumUnackedReliables" - }, - { - "from": "networkGetUnreliableResendCountForPlayer", - "to": "networkGetUnreliableResendCount" - }, - { - "from": "networkGetOldestResendCountForPlayer", - "to": "networkGetHighestReliableResendCount" - }, - { - "from": "networkReportMyself", - "to": "networkReportCodeTamper" - }, - { - "from": "_0x64D779659BC37B19", - "to": "networkGetLastEntityPosReceivedOverNetwork" - }, - { - "from": "networkGetPlayerCoords", - "to": "networkGetLastPlayerPosReceivedOverNetwork" - }, - { - "from": "networkGetLastVelocityReceived", - "to": "networkGetLastVelReceivedOverNetwork" - }, - { - "from": "_0xAA5FAFCD2C5F5E47", - "to": "networkGetPredictedVelocity" - }, - { - "from": "_0xAEDF1BC1C133D6E3", - "to": "networkDumpNetIfConfig" - }, - { - "from": "_0x2555CF7DA5473794", - "to": "networkGetSignallingInfo" - }, - { - "from": "_0x6FD992C4A1C1B986", - "to": "networkGetNetStatisticsInfo" - }, - { - "from": "_0xDB663CC9FF3407A9", - "to": "networkGetPlayerAccountId" - }, - { - "from": "placeObjectOnGroundProperly2", - "to": "placeObjectOnGroundOrObjectProperly" - }, - { - "from": "_0xAFE24E4D29249E4A", - "to": "rotateObject" - }, - { - "from": "_0x2542269291C6AC84", - "to": "getHasObjectBeenCompletelyDestroyed" - }, - { - "from": "getObjectOffsetFromCoords", - "to": "getOffsetFromCoordAndHeadingInWorldCoords" - }, - { - "from": "doorControl", - "to": "setLockedUnstreamedInDoorOfType" - }, - { - "from": "_0x006E4B040ED37EC3", - "to": "playObjectAutoStartAnim" - }, - { - "from": "_0xE851471AEFC3374F", - "to": "doorSystemGetAutomaticDistance" - }, - { - "from": "_0xA85A21582451E951", - "to": "doorSystemSetDoorOpenForRaces" - }, - { - "from": "_0xC7F29CA00F46350E", - "to": "openAllBarriersForRace" - }, - { - "from": "_0x701FDA1E82076BA4", - "to": "closeAllBarriersForRace" - }, - { - "from": "clearGarageArea", - "to": "clearGarage" - }, - { - "from": "_0x659F9D71F52843F8", - "to": "disableTidyingUpInGarage" - }, - { - "from": "_0x66A49D021870FE88", - "to": "closeSafehouseGarages" - }, - { - "from": "_0xE05F6AEEFEB0BB02", - "to": "damageObjectFragmentChild" - }, - { - "from": "_0xF9C1681347C8BD15", - "to": "fixObjectFragment" - }, - { - "from": "_0xC6033D32241F6FB5", - "to": "setObjectIsSpecialGolfball" - }, - { - "from": "_0xEB6F1A9B5510A5D2", - "to": "setObjectTakesDamageFromCollidingWithBuildings" - }, - { - "from": "setUnkGlobalBoolRelatedToDamage", - "to": "allowDamageEventsForNonNetworkedObjects" - }, - { - "from": "setCreateWeaponObjectLightSource", - "to": "setCutscenesWeaponFlashlightOnThisFrame" - }, - { - "from": "_0x394CD08E31313C28", - "to": "forcePickupRotateFaceUp" - }, - { - "from": "_0x826D1EE4D1CAFC78", - "to": "setCustomPickupWeaponHash" - }, - { - "from": "_0x1E3F1B1B891A2AAA", - "to": "blockPlayersForAmbientPickup" - }, - { - "from": "hidePickup", - "to": "hidePortablePickupWhenDetached" - }, - { - "from": "_0xD4A7A435B3710D05", - "to": "addExtendedPickupProbeArea" - }, - { - "from": "_0xB7C6D80FB371659A", - "to": "clearExtendedPickupProbeAreas" - }, - { - "from": "_0x8DCA505A5C196F05", - "to": "suppressPickupSoundForPickup" - }, - { - "from": "isObjectAPortablePickup", - "to": "isObjectAPickup" - }, - { - "from": "isObjectAPickup", - "to": "isObjectAPortablePickup" - }, - { - "from": "toggleUsePickupsForPlayer", - "to": "setPlayerPermittedToCollectPickupsOfType" - }, - { - "from": "setLocalPlayerCanUsePickupsWithThisModel", - "to": "setLocalPlayerPermittedToCollectPickupsWithModel" - }, - { - "from": "_0xFDC07C58E8AAB715", - "to": "allowAllPlayersToCollectPickupsOfType" - }, - { - "from": "_0x27F248C3FEBFAAD3", - "to": "setPickupObjectGlowWhenUncollectable" - }, - { - "from": "_0x0596843B34B95CE5", - "to": "setPickupGlowOffset" - }, - { - "from": "_0xA08FE5E49BDC39DD", - "to": "setPickupObjectGlowOffset" - }, - { - "from": "_0x62454A641B41F3C5", - "to": "setObjectGlowInSameTeam" - }, - { - "from": "_0x39A5FB7EAF150840", - "to": "setPickupObjectArrowMarker" - }, - { - "from": "_0x834344A414C7C85D", - "to": "allowPickupArrowMarkerWhenUncollectable" - }, - { - "from": "_0xDB41D07A45A6D4B7", - "to": "getDefaultAmmoForWeaponPickup" - }, - { - "from": "_0x31F924B53EADDF65", - "to": "setOnlyAllowAmmoCollectionWhenLow" - }, - { - "from": "_0x858EC9FD25DE04AA", - "to": "setPickupTransparentWhenUncollectable" - }, - { - "from": "_0x8881C98A31117998", - "to": "setPickupObjectTransparentWhenUncollectable" - }, - { - "from": "_0x8CFF648FBD7330F1", - "to": "setPickupObjectAlphaWhenTransparent" - }, - { - "from": "_0x46F3ADD1E2D5BAF2", - "to": "setPortablePickupPersist" - }, - { - "from": "_0x641F272B52E2F0F8", - "to": "allowPortablePickupToMigrateToNonParticipants" - }, - { - "from": "_0x4C134B4DF76025D0", - "to": "forceActivatePhysicsOnUnfixedPickup" - }, - { - "from": "_0xAA059C615DE9DD03", - "to": "allowPickupByNoneParticipant" - }, - { - "from": "_0xF92099527DB8E2A7", - "to": "suppressPickupRewardType" - }, - { - "from": "_0xA2C1F5E92AFE49ED", - "to": "clearAllPickupRewardTypeSuppression" - }, - { - "from": "_0x762DB2D380B48D04", - "to": "clearPickupRewardTypeSuppression" - }, - { - "from": "_0x7813E8B8C4AE4799", - "to": "setPickupObjectCollectableInVehicle" - }, - { - "from": "_0xBFFE53AE7E67FCDC", - "to": "setPickupTrackDamageEvents" - }, - { - "from": "_0xD05A3241B9A86F19", - "to": "setEntityFlagSuppressShadow" - }, - { - "from": "_0xB2D0BDE54F0E8E5A", - "to": "setEntityFlagRenderSmallShadow" - }, - { - "from": "getPickupHashFromWeapon", - "to": "getPickupTypeFromWeaponHash" - }, - { - "from": "getObjectTextureVariation", - "to": "getObjectTintIndex" - }, - { - "from": "setObjectTextureVariation", - "to": "setObjectTintIndex" - }, - { - "from": "setTextureVariationOfClosestObjectOfType", - "to": "setTintIndexClosestBuildingOfType" - }, - { - "from": "_0x31574B1B41268673", - "to": "setPropTintIndex" - }, - { - "from": "setObjectLightColor", - "to": "setPropLightColor" - }, - { - "from": "_0xADF084FB8F075D06", - "to": "isPropLightOverriden" - }, - { - "from": "_0x3B2FD68DB5F8331C", - "to": "setObjectIsVisibleInMirrors" - }, - { - "from": "setObjectStuntPropSpeedup", - "to": "setObjectSpeedBoostAmount" - }, - { - "from": "setObjectStuntPropDuration", - "to": "setObjectSpeedBoostDuration" - }, - { - "from": "getPickupHash", - "to": "convertOldPickupTypeToNew" - }, - { - "from": "markObjectForDeletion", - "to": "onlyCleanUpObjectWhenOutOfRange" - }, - { - "from": "_0x8CAAB2BD3EA58BD4", - "to": "setDisableCollisionsBetweenCarsAndCarParachute" - }, - { - "from": "_0x63ECF581BC70E363", - "to": "setProjectilesShouldExplodeOnContact" - }, - { - "from": "setEnableArenaPropPhysics", - "to": "setDriveArticulatedJoint" - }, - { - "from": "setEnableArenaPropPhysicsOnPed", - "to": "setDriveArticulatedJointWithInflictor" - }, - { - "from": "_0x734E1714D077DA9A", - "to": "setObjectIsAPressurePlate" - }, - { - "from": "_0x1A6CBB06E2D0D79D", - "to": "setWeaponImpactsApplyGreaterForce" - }, - { - "from": "getIsArenaPropPhysicsDisabled", - "to": "getIsArticulatedJointAtMinAngle" - }, - { - "from": "_0x3BD770D281982DB5", - "to": "getIsArticulatedJointAtMaxAngle" - }, - { - "from": "_0x1C57C94A6446492A", - "to": "setIsObjectArticulated" - }, - { - "from": "_0xB5B7742424BD4445", - "to": "setIsObjectBall" - }, - { - "from": "_0x5B73C77D9EB66E24", - "to": "setUseAdjustedMouseCoords" - }, - { - "from": "setControlNormal", - "to": "setControlValueNextFrame" - }, - { - "from": "_0xD7D22F5592AED8BA", - "to": "getControlHowLongAgo" - }, - { - "from": "isUsingKeyboard", - "to": "isUsingKeyboardAndMouse" - }, - { - "from": "isUsingKeyboard2", - "to": "isUsingCursor" - }, - { - "from": "setCursorLocation", - "to": "setCursorPosition" - }, - { - "from": "_0x23F09EADC01449D6", - "to": "isUsingRemotePlay" - }, - { - "from": "_0x6CD79468A1E595C6", - "to": "haveControlsChanged" - }, - { - "from": "getControlInstructionalButton", - "to": "getControlInstructionalButtonsString" - }, - { - "from": "getControlGroupInstructionalButton", - "to": "getControlGroupInstructionalButtonsString" - }, - { - "from": "_0xCB0360EFEFB2580D", - "to": "clearControlLightEffect" - }, - { - "from": "setPadShake", - "to": "setControlShake" - }, - { - "from": "_0x14D29BB12D47F68C", - "to": "setControlTriggerShake" - }, - { - "from": "stopPadShake", - "to": "stopControlShake" - }, - { - "from": "setPadShakeSuppressedId", - "to": "setControlShakeSuppressedId" - }, - { - "from": "_0xA0CEFCEA390AAB9B", - "to": "clearControlShakeSuppressedId" - }, - { - "from": "_0xE1615EC03B3BB4FD", - "to": "isMouseLookInverted" - }, - { - "from": "getLocalPlayerAimState2", - "to": "getLocalPlayerGamepadAimState" - }, - { - "from": "_0x25AAA32BDC98F2A3", - "to": "getIsUsingAlternateHandbrake" - }, - { - "from": "switchToInputMappingScheme", - "to": "initPcScriptedControls" - }, - { - "from": "switchToInputMappingScheme2", - "to": "switchPcScriptedControls" - }, - { - "from": "resetInputMappingScheme", - "to": "shutdownPcScriptedControls" - }, - { - "from": "setAllPathsCacheBoundingstruct", - "to": "setAllowStreamPrologueNodes" - }, - { - "from": "setAiGlobalPathNodesType", - "to": "setAllowStreamHeistIslandNodes" - }, - { - "from": "requestPathsPreferAccurateBoundingstruct", - "to": "requestPathNodesInAreaThisFrame" - }, - { - "from": "_0xAA76052DDA9BFC3E", - "to": "adjustAmbientPedSpawnDensitiesThisFrame" - }, - { - "from": "setIgnoreSecondaryRouteNodes", - "to": "setIgnoreNoGpsFlagUntilFirstNormalNode" - }, - { - "from": "_0xF3162836C28F9DA5", - "to": "getPosAlongGpsTypeRoute" - }, - { - "from": "getRoadSidePointWithHeading", - "to": "getRoadBoundaryUsingHeading" - }, - { - "from": "getPointOnRoadSide", - "to": "getPositionBySideOfRoad" - }, - { - "from": "isNavmeshRequiredRegionOwnedByAnyThread", - "to": "isNavmeshRequiredRegionInUse" - }, - { - "from": "_0x01708E8DD3FF8C65", - "to": "getNumNavmeshesExistingInArea" - }, - { - "from": "getHeightmapTopZForPosition", - "to": "getApproxHeightForPoint" - }, - { - "from": "getHeightmapTopZForArea", - "to": "getApproxHeightForArea" - }, - { - "from": "getHeightmapBottomZForPosition", - "to": "getApproxFloorForPoint" - }, - { - "from": "getHeightmapBottomZForArea", - "to": "getApproxFloorForArea" - }, - { - "from": "clonePedEx", - "to": "clonePedAlt" - }, - { - "from": "clonePedToTargetEx", - "to": "clonePedToTargetAlt" - }, - { - "from": "freezePedCameraRotation", - "to": "forceAllHeadingValuesToAlign" - }, - { - "from": "_0x87DDEB611B329A9C", - "to": "setAmbientLawPedAccuracyModifier" - }, - { - "from": "_0xF2BEBCDFAFDAA19E", - "to": "setPedAllowHurtCombatForAllMissionPeds" - }, - { - "from": "_0x5A7F62FDA59759BD", - "to": "suppressAmbientPedAggressiveCleanupThisFrame" - }, - { - "from": "_0xFF4803BC019852D9", - "to": "setHealthSnacksCarriedByAllNewPeds" - }, - { - "from": "_0x9911F4A24485F653", - "to": "setBlockingOfNonTemporaryEventsForAmbientPedsThisFrame" - }, - { - "from": "_0xAFC976FD0580C7B3", - "to": "setPedUpperBodyDamageOnly" - }, - { - "from": "_0x2F3C3D9F50681DE4", - "to": "setTreatAsAmbientPedForDriverLockon" - }, - { - "from": "_0x061CB768363D6424", - "to": "setAllowLockonToPedIfFriendly" - }, - { - "from": "_0xFD325494792302D7", - "to": "setUseCameraHeadingForDesiredDirectionLockOnTest" - }, - { - "from": "_0x412F1364FA066CFB", - "to": "isPedLanding" - }, - { - "from": "_0x451D05012CCEC234", - "to": "isPedDoingABeastJump" - }, - { - "from": "isPedOpeningADoor", - "to": "isPedOpeningDoor" - }, - { - "from": "_0x2F074C904D85129E", - "to": "setCopPerceptionOverrides" - }, - { - "from": "_0xEC4B4B3B9908052A", - "to": "setPedInjuredOnGroundBehaviour" - }, - { - "from": "_0x733C87D4CE22BEA2", - "to": "disablePedInjuredOnGroundBehaviour" - }, - { - "from": "getPedTaskCombatTarget", - "to": "getPedTargetFromCombatPed" - }, - { - "from": "_0x5407B7288D0478B7", - "to": "countPedsInCombatWithTarget" - }, - { - "from": "_0x336B3D200AB007CB", - "to": "countPedsInCombatWithTargetWithinRadius" - }, - { - "from": "setRelationshipGroupDontAffectWantedLevel", - "to": "setRelationshipGroupAffectsWantedLevel" - }, - { - "from": "_0xAD27D957598E49E9", - "to": "tellGroupPedsInAreaToAttack" - }, - { - "from": "getPedEventData", - "to": "getPosFromFiredEvent" - }, - { - "from": "getTimeOfLastPedWeaponDamage", - "to": "getTimePedDamagedByWeapon" - }, - { - "from": "_0x2735233A786B1BEF", - "to": "setCorpseRagdollFriction" - }, - { - "from": "_0xB282749D5E028163", - "to": "setPedCanBeKnockedOffBike" - }, - { - "from": "_0x49E50BDB8BA4DAB2", - "to": "setPedAllowMinorReactionsAsMissionPed" - }, - { - "from": "setPedCoverClipsetOverride", - "to": "setPedMotionInCoverClipsetOverride" - }, - { - "from": "clearPedCoverClipsetOverride", - "to": "clearPedMotionInCoverClipsetOverride" - }, - { - "from": "_0x80054D7FCC70EEC6", - "to": "clearPedFallUpperBodyClipsetOverride" - }, - { - "from": "_0x9E30E91FB03A2CAF", - "to": "getMpOutfitDataFromMetadata" - }, - { - "from": "_0x1E77FA7A62EE6C4C", - "to": "getFmMaleShopPedApparelItemIndex" - }, - { - "from": "_0xF033419D1B81FAE8", - "to": "getFmFemaleShopPedApparelItemIndex" - }, - { - "from": "setPedEyeColor", - "to": "setHeadBlendEyeColor" - }, - { - "from": "getPedEyeColor", - "to": "getHeadBlendEyeColor" - }, - { - "from": "getPedHeadOverlayValue", - "to": "getPedHeadOverlay" - }, - { - "from": "setPedHeadOverlayColor", - "to": "setPedHeadOverlayTint" - }, - { - "from": "setPedHairColor", - "to": "setPedHairTint" - }, - { - "from": "getNumHairColors", - "to": "getNumPedHairTints" - }, - { - "from": "getNumMakeupColors", - "to": "getNumPedMakeupTints" - }, - { - "from": "getPedHairRgbColor", - "to": "getPedHairTintColor" - }, - { - "from": "getPedMakeupRgbColor", - "to": "getPedMakeupTintColor" - }, - { - "from": "isPedHairColorValid2", - "to": "isPedHairTintForCreator" - }, - { - "from": "_0xEA9960D07DADCF10", - "to": "getDefaultSecondaryTintForCreator" - }, - { - "from": "isPedLipstickColorValid2", - "to": "isPedLipstickTintForCreator" - }, - { - "from": "isPedBlushColorValid2", - "to": "isPedBlushTintForCreator" - }, - { - "from": "isPedHairColorValid", - "to": "isPedHairTintForBarber" - }, - { - "from": "_0xAAA6A3698A69E048", - "to": "getDefaultSecondaryTintForBarber" - }, - { - "from": "isPedLipstickColorValid", - "to": "isPedLipstickTintForBarber" - }, - { - "from": "isPedBlushColorValid", - "to": "isPedBlushTintForBarber" - }, - { - "from": "isPedBodyBlemishValid", - "to": "isPedBlushFacepaintTintForBarber" - }, - { - "from": "_0xC56FBF2F228E1DAC", - "to": "getTintIndexForLastGenHairTexture" - }, - { - "from": "setPedFaceFeature", - "to": "setPedMicroMorph" - }, - { - "from": "_0xFEC9A3B1820F3331", - "to": "isUsingPedScubaGearVariation" - }, - { - "from": "_0x03EA03AF85A85CB7", - "to": "getCanPedBeGrabbedByScript" - }, - { - "from": "_0xF9ACF4A08098EA25", - "to": "specialFunctionDoNotUse" - }, - { - "from": "_0x2B694AFCF64E6994", - "to": "markPedDecorationsAsClonedFromLocalPlayer" - }, - { - "from": "doesScenarioBlockingAreaExist", - "to": "doesScenarioBlockingAreaExists" - }, - { - "from": "_0x9A77DFD295E29B09", - "to": "toggleScenarioPedCowerInPlace" - }, - { - "from": "_0x25361A96E0F7E419", - "to": "triggerPedScenarioPanicexittoflee" - }, - { - "from": "setPedShouldPlayDirectedScenarioExit", - "to": "setPedShouldPlayDirectedNormalScenarioExit" - }, - { - "from": "_0x425AECF167663F48", - "to": "setPedShouldIgnoreScenarioExitCollisionChecks" - }, - { - "from": "_0x5B6010B3CBC29095", - "to": "setPedShouldIgnoreScenarioNavChecks" - }, - { - "from": "_0xCEDA60A74219D064", - "to": "setPedShouldProbeForScenarioExitsInOneFrame" - }, - { - "from": "_0xC30BDAEE47256C13", - "to": "isPedGesturing" - }, - { - "from": "setFacialClipsetOverride", - "to": "setFacialClipset" - }, - { - "from": "setPedCanPlayInjuredAnims", - "to": "setPedIsIgnoredByAutoOpenDoors" - }, - { - "from": "_0xC2EE020F5FB4DB53", - "to": "triggerIdleAnimationOnPed" - }, - { - "from": "_0x6647C5F6F5792496", - "to": "setPedCanTorsoVehicleIk" - }, - { - "from": "setPedClothPackageIndex", - "to": "setPedClothPinFrames" - }, - { - "from": "setPedClothProne", - "to": "setPedClothPackageIndex" - }, - { - "from": "_0xA660FAF550EB37E5", - "to": "setPedClothProne" - }, - { - "from": "blockPedDeadBodyShockingEvents", - "to": "blockPedFromGeneratingDeadBodyEventsWhenDead" - }, - { - "from": "_0x3E9679C1DFCF422C", - "to": "setPedWillOnlyAttackWantedPlayer" - }, - { - "from": "setPedHelmetUnk", - "to": "setPedHelmetVisorPropIndices" - }, - { - "from": "isPedHelmetUnk", - "to": "isPedHelmetVisorUp" - }, - { - "from": "_0xF2385935BFFD4D92", - "to": "isCurrentHeadPropAHelmet" - }, - { - "from": "_0x1A330D297AAC6BC1", - "to": "setLadderClimbInputState" - }, - { - "from": "isPedPerformingDependentComboLimit", - "to": "isPedPerformingACounterAttack" - }, - { - "from": "_0x2016C603D6B8987C", - "to": "setPedSteersAroundDeadBodies" - }, - { - "from": "_0xA9B61A329BFDCBEA", - "to": "setPedIsAvoidedByOthers" - }, - { - "from": "_0xA52D5247A4227E14", - "to": "setPedNoTimeDelayBeforeShot" - }, - { - "from": "_0xCD018C591F94CB43", - "to": "requestPedRestrictedVehicleVisibilityTracking" - }, - { - "from": "_0x75BA1CB3B7D40CAF", - "to": "requestPedUseSmallBboxVisibilityTracking" - }, - { - "from": "_0x511F1A683387C7E2", - "to": "getTrackedPedPixelcount" - }, - { - "from": "_0x9C6A6C19B6C0C496", - "to": "canPedShuffleToOrFromTurretSeat" - }, - { - "from": "_0x2DFC81C9B9608549", - "to": "canPedShuffleToOrFromExtraSeat" - }, - { - "from": "_0x110F526AB784111F", - "to": "setPedEnveffCpvAdd" - }, - { - "from": "setPedEmissiveIntensity", - "to": "setPedEmissiveScale" - }, - { - "from": "getPedEmissiveIntensity", - "to": "getPedEmissiveScale" - }, - { - "from": "isPedShaderEffectValid", - "to": "isPedShaderReady" - }, - { - "from": "_0xE906EC930F5FE7C8", - "to": "setPedEnableCrewEmblem" - }, - { - "from": "_0x1216E0BFA72CC703", - "to": "requestRagdollBoundsUpdate" - }, - { - "from": "_0xB8B52E498014F5B0", - "to": "isPedSheltered" - }, - { - "from": "createSynchronizedScene2", - "to": "createSynchronizedSceneAtMapObject" - }, - { - "from": "disposeSynchronizedScene", - "to": "takeOwnershipOfSynchronizedScene" - }, - { - "from": "getPedCurrentMovementSpeed", - "to": "getPedCurrentMoveBlendRatio" - }, - { - "from": "_0x0B3E35AC043707D9", - "to": "setPedMoveRateInWaterOverride" - }, - { - "from": "_0x46B05BCAE43856B0", - "to": "pedHasSexinessFlagSet" - }, - { - "from": "registerPedheadshot3", - "to": "registerPedheadshotHires" - }, - { - "from": "_0xED3C76ADFA6D07C4", - "to": "forceInstantLegIkSetup" - }, - { - "from": "_0xD33DAA36272177C4", - "to": "forceZeroMassInCollisions" - }, - { - "from": "_0x711794453CFD692B", - "to": "setDisableHighFallDeath" - }, - { - "from": "_0x83A169EABCDB10A2", - "to": "setPedPhonePaletteIdx" - }, - { - "from": "_0x288DF530C92DAD6F", - "to": "setPedSteerBias" - }, - { - "from": "isPedSwappingWeapon", - "to": "isPedSwitchingWeapon" - }, - { - "from": "_0x0F62619393661D6E", - "to": "setPedTreatedAsFriendly" - }, - { - "from": "_0xDFE68C4B787E1BFB", - "to": "setDisablePedMapCollision" - }, - { - "from": "setEnableScubaGearLight", - "to": "enableMpLight" - }, - { - "from": "isScubaGearLightEnabled", - "to": "getMpLightEnabled" - }, - { - "from": "clearFacialClipsetOverride", - "to": "clearCoverPointForPed" - }, - { - "from": "_0xFAB944D4D481ACCB", - "to": "setAllowStuntJumpCamera" - }, - { - "from": "_0xA1AE736541B0FCA3", - "to": "ropeDrawEnabled" - }, - { - "from": "_0x36CCB9BE67B970FD", - "to": "ropeSetSmoothReelin" - }, - { - "from": "_0x84DE3B5FB3E666F0", - "to": "isRopeAttachedAtBothEnds" - }, - { - "from": "doesRopeBelongToThisScript", - "to": "doesScriptOwnRope" - }, - { - "from": "_0xBC0CE682D4D05650", - "to": "ropeAttachVirtualBoundGeom" - }, - { - "from": "_0xB1B6216CA2E7B55E", - "to": "ropeChangeScriptOwner" - }, - { - "from": "_0xB743F735C03D7810", - "to": "ropeSetRefframevelocityColliderorder" - }, - { - "from": "getHasObjectFragInst", - "to": "getIsEntityAFrag" - }, - { - "from": "_0xCC6E963682533882", - "to": "resetDisableBreaking" - }, - { - "from": "setEntityProofUnk", - "to": "setUseKinematicPhysics" - }, - { - "from": "_0x9EBD751E5787BAF2", - "to": "setInStuntMode" - }, - { - "from": "setLaunchControlEnabled", - "to": "setInArenaMode" - }, - { - "from": "_0x7E07C78925D5FD96", - "to": "isWantedAndHasBeenSeenByCops" - }, - { - "from": "_0xDE45D1A1EF45EE61", - "to": "setAllNeutralRandomPedsFlee" - }, - { - "from": "_0xC3376F42B1FACCC6", - "to": "setAllNeutralRandomPedsFleeThisFrame" - }, - { - "from": "_0xFAC75988A7D078D3", - "to": "setLawPedsCanAttackNonWantedPlayerThisFrame" - }, - { - "from": "getWantedLevelParoleDuration", - "to": "getWantedLevelTimeToEscape" - }, - { - "from": "setWantedLevelHiddenEvasionTime", - "to": "setWantedLevelHiddenEscapeTime" - }, - { - "from": "_0x823EC8E82BA45986", - "to": "resetWantedLevelHiddenEscapeTime" - }, - { - "from": "switchCrimeType", - "to": "suppressCrimeThisFrame" - }, - { - "from": "_0xBC9490CA15AEA8FB", - "to": "updateWantedPositionThisFrame" - }, - { - "from": "_0x4669B3ED80F24B4E", - "to": "suppressLosingWantedLevelIfHiddenThisFrame" - }, - { - "from": "_0x2F41A3BAE005E5FA", - "to": "allowEvasionHudIfDisablingHiddenEvasionThisFrame" - }, - { - "from": "_0xAD73CE5A09E42D12", - "to": "forceStartHiddenEvasion" - }, - { - "from": "_0x36F1B38855F2A8DF", - "to": "suppressWitnessesCallingPoliceThisFrame" - }, - { - "from": "_0xB45EFF719D8427A6", - "to": "setLawResponseDelayOverride" - }, - { - "from": "_0x0032A6DBA562C518", - "to": "resetLawResponseDelayOverride" - }, - { - "from": "setPlayerUnderwaterTimeRemaining", - "to": "setPlayerUnderwaterBreathPercentRemaining" - }, - { - "from": "isPlayerCamControlDisabled", - "to": "getAreCameraControlsDisabled" - }, - { - "from": "_0xDCC07526B8EC45AF", - "to": "getPlayerDebugInvincible" - }, - { - "from": "setPlayerInvincibleKeepRagdollEnabled", - "to": "setPlayerInvincibleButHasReactions" - }, - { - "from": "_0xCAC57395B151135F", - "to": "setPlayerCanCollectDroppedMoney" - }, - { - "from": "_0xB9CF1F793A9F1BF1", - "to": "getIsUsingFpsThirdPersonCover" - }, - { - "from": "_0xCB645E85E97EA48B", - "to": "getIsUsingHoodCamera" - }, - { - "from": "_0xB885852C39CC265D", - "to": "disablePlayerThrowGrenadeWhileUsingGun" - }, - { - "from": "setSpecialAbility", - "to": "setSpecialAbilityMp" - }, - { - "from": "specialAbilityDeplete", - "to": "specialAbilityDeactivateMp" - }, - { - "from": "_0xFFEE8FA29AB9A18E", - "to": "updateSpecialAbilityFromStat" - }, - { - "from": "_0x5FC472C501CCADB3", - "to": "getIsPlayerDrivingOnHighway" - }, - { - "from": "_0xF10B44FD479D69F3", - "to": "getIsPlayerDrivingWreckless" - }, - { - "from": "_0xDD2620B7B9D16FF1", - "to": "getIsMoppingAreaFreeInFrontOfPlayer" - }, - { - "from": "getPlayerHealthRechargeLimit", - "to": "getPlayerHealthRechargeMaxPercent" - }, - { - "from": "setPlayerHealthRechargeLimit", - "to": "setPlayerHealthRechargeMaxPercent" - }, - { - "from": "setPlayerFallDistance", - "to": "setPlayerFallDistanceToTriggerRagdollOverride" - }, - { - "from": "setPlayerWeaponDefenseModifier2", - "to": "setPlayerWeaponMinigunDefenseModifier" - }, - { - "from": "_0x8D768602ADEF2245", - "to": "setPlayerMaxExplosiveDamage" - }, - { - "from": "_0xD821056B9ACF8052", - "to": "setPlayerExplosiveDamageModifier" - }, - { - "from": "_0x31E90B8873A4CD3B", - "to": "setPlayerWeaponTakedownDefenseModifier" - }, - { - "from": "setPlayerResetFlagPreferRearSeats", - "to": "setPlayerPhonePaletteIdx" - }, - { - "from": "_0x690A61A6D13583F6", - "to": "isRemotePlayerInNonClonedVehicle" - }, - { - "from": "_0x9EDD76E87D5D51BA", - "to": "increasePlayerJumpSuppressionRange" - }, - { - "from": "_0xBC0753C9CA14B506", - "to": "getPlayerReceivedBattleEventRecently" - }, - { - "from": "_0x2F7CEB6520288061", - "to": "setPlayerSpectatedVehicleRadioOverride" - }, - { - "from": "_0x5501B7A5CDB79D37", - "to": "disableCameraViewModeCycle" - }, - { - "from": "_0x55FCC0C390620314", - "to": "setPlayerCanDamagePlayer" - }, - { - "from": "_0x2382AB11450AE7BA", - "to": "setApplyWaypointOfPlayer" - }, - { - "from": "_0x6E4361FF3E8CD7CA", - "to": "isPlayerVehicleWeaponToggledToNonHoming" - }, - { - "from": "_0x237440E46D918649", - "to": "setPlayerVehicleWeaponToNonHoming" - }, - { - "from": "setPlayerHomingRocketDisabled", - "to": "setPlayerHomingDisabledForAllVehicleWeapons" - }, - { - "from": "_0x9097EB6D4BB9A12A", - "to": "addPlayerTargetableEntity" - }, - { - "from": "_0x9F260BFB59ADBCA3", - "to": "removePlayerTargetableEntity" - }, - { - "from": "_0x7BAE68775557AE0B", - "to": "setPlayerPreviousVariationData" - }, - { - "from": "_0x7148E0F43D11F0D9", - "to": "removeScriptFirePosition" - }, - { - "from": "_0x70A382ADEC069DD3", - "to": "setScriptFirePosition" - }, - { - "from": "_0x48621C9FCA3EBD28", - "to": "replayStartEvent" - }, - { - "from": "_0x81CBAE94390F9F89", - "to": "replayStopEvent" - }, - { - "from": "_0x13B350B8AD0EEE10", - "to": "replayCancelEvent" - }, - { - "from": "_0x293220DA1B46CEBC", - "to": "replayRecordBackForTime" - }, - { - "from": "_0x208784099002BC30", - "to": "replayCheckForEventThisFrame" - }, - { - "from": "stopRecordingThisFrame", - "to": "replayPreventRecordingThisFrame" - }, - { - "from": "_0xF854439EFBB3B583", - "to": "replayResetEventInfo" - }, - { - "from": "disableRockstarEditorCameraChanges", - "to": "replayDisableCameraMovementThisFrame" - }, - { - "from": "_0x66972397E0757E7A", - "to": "recordGreatestMoment" - }, - { - "from": "startRecording", - "to": "startReplayRecording" - }, - { - "from": "stopRecordingAndSaveClip", - "to": "stopReplayRecording" - }, - { - "from": "stopRecordingAndDiscardClip", - "to": "cancelReplayRecording" - }, - { - "from": "saveRecordingClip", - "to": "saveReplayRecording" - }, - { - "from": "isRecording", - "to": "isReplayRecording" - }, - { - "from": "_0xDF4B952F7D381B95", - "to": "isReplayInitialized" - }, - { - "from": "_0x4282E08174868BE3", - "to": "isReplayAvailable" - }, - { - "from": "_0x33D47E85B476ABCD", - "to": "isReplayRecordSpaceAvailable" - }, - { - "from": "_0x7E2BD3EF6C205F09", - "to": "registerEffectForReplayEditor" - }, - { - "from": "isInteriorRenderingDisabled", - "to": "replaySystemHasRequestedAScriptCleanup" - }, - { - "from": "_0x5AD3932DAEB1E5D3", - "to": "setScriptsHaveCleanedUpForReplaySystem" - }, - { - "from": "_0xE058175F8EAFE79A", - "to": "setReplaySystemPausedForSave" - }, - { - "from": "resetEditorValues", - "to": "replayControlShutdown" - }, - { - "from": "_0x84B418E93894AC1C", - "to": "savemigrationIsMpEnabled" - }, - { - "from": "_0xE5E9746A66359F9D", - "to": "savemigrationMpRequestStatus" - }, - { - "from": "_0x690B76BD2763E068", - "to": "savemigrationMpGetStatus" - }, - { - "from": "getNameOfThread", - "to": "getNameOfScriptWithThisId" - }, - { - "from": "getNumberOfReferencesOfScriptWithNameHash", - "to": "getNumberOfThreadsRunningTheScriptWithThisHash" - }, - { - "from": "_0xB1577667C3708F9B", - "to": "commitToLoadingscreenSelction" - }, - { - "from": "_0x836B62713E0534CA", - "to": "bgIsExitflagSet" - }, - { - "from": "_0x760910B49D2B98EA", - "to": "bgSetExitflagResponse" - }, - { - "from": "_0x0F6F1EBBC4E1D5E6", - "to": "bgDoesLaunchParamExist" - }, - { - "from": "_0x22E21FBCFC88C149", - "to": "bgGetLaunchParamValue" - }, - { - "from": "_0x829CD22E043A2577", - "to": "bgGetScriptIdFromNameHash" - }, - { - "from": "triggerScriptEvent2", - "to": "sendTuScriptEvent" - }, - { - "from": "startShapeTestSurroundingCoords", - "to": "startShapeTestMouseCursorLosProbe" - }, - { - "from": "scInboxMessagePop", - "to": "scInboxSetMessageAsReadAtIndex" - }, - { - "from": "scInboxMessageGetString", - "to": "scInboxMessageGetRawTypeAtIndex" - }, - { - "from": "scInboxMessagePushGamerToEventRecipList", - "to": "scInboxMessagePushGamerT0RecipList" - }, - { - "from": "scInboxMessageSendUgcStatUpdateEvent", - "to": "scInboxSendUgcstatupdateToRecipList" - }, - { - "from": "scInboxMessageSendBountyPresenceEvent", - "to": "scInboxSendBountyToRecipList" - }, - { - "from": "scInboxMessageGetBountyData", - "to": "scInboxGetBountyDataAtIndex" - }, - { - "from": "scInboxGetEmails", - "to": "scEmailRetrieveEmails" - }, - { - "from": "_0x16DA8172459434AA", - "to": "scEmailGetRetrievalStatus" - }, - { - "from": "_0x7DB18CA8CAD5B098", - "to": "scEmailGetNumRetrievedEmails" - }, - { - "from": "_0x4737980E8A283806", - "to": "scEmailGetEmailAtIndex" - }, - { - "from": "_0x44ACA259D67651DB", - "to": "scEmailDeleteEmails" - }, - { - "from": "_0x116FB94DC4B79F17", - "to": "scEmailSendEmail" - }, - { - "from": "_0x07DBD622D9533857", - "to": "scEmailSetCurrentEmailTag" - }, - { - "from": "setHandleRockstarMessageViaScript", - "to": "scCacheNewRockstarMsgs" - }, - { - "from": "isRockstarMessageReadyForScript", - "to": "scHasNewRockstarMsg" - }, - { - "from": "rockstarMessageGetString", - "to": "scGetNewRockstarMsg" - }, - { - "from": "_0x487912FD248EFDDF", - "to": "scPresenceSetActivityRating" - }, - { - "from": "_0xC85A7127E7AD02AA", - "to": "scGamerdataGetInt" - }, - { - "from": "_0xA770C8EEC6FB2AC5", - "to": "scGamerdataGetFloat" - }, - { - "from": "scGetIsProfileAttributeSet", - "to": "scGamerdataGetBool" - }, - { - "from": "_0x7FFCBFEE44ECFABF", - "to": "scGamerdataGetString" - }, - { - "from": "_0x2D874D4AE612A65F", - "to": "scGamerdataGetActiveXpBonus" - }, - { - "from": "scProfanityCheckUgcString", - "to": "scProfanityCheckStringUgc" - }, - { - "from": "_0xF6BAAAF762E1BF40", - "to": "scLicenseplateCheckString" - }, - { - "from": "_0xF22CA0FD74B80E7A", - "to": "scLicenseplateGetCheckIsValid" - }, - { - "from": "_0x9237E334F6E43156", - "to": "scLicenseplateGetCheckIsPending" - }, - { - "from": "_0x700569DBA175A77C", - "to": "scLicenseplateGetCount" - }, - { - "from": "_0x1D4446A62D35B0D0", - "to": "scLicenseplateGetPlate" - }, - { - "from": "_0x2E89990DDFF670C3", - "to": "scLicenseplateGetPlateData" - }, - { - "from": "_0xD0EE05FE193646EA", - "to": "scLicenseplateSetPlateData" - }, - { - "from": "_0x1989C6E6F67E76A8", - "to": "scLicenseplateAdd" - }, - { - "from": "_0x07C61676E5BB52CD", - "to": "scLicenseplateGetAddIsPending" - }, - { - "from": "_0x8147FFF6A718E1AD", - "to": "scLicenseplateGetAddStatus" - }, - { - "from": "_0x0F73393BAC7E6730", - "to": "scLicenseplateIsvalid" - }, - { - "from": "_0xD302E99EDF0449CF", - "to": "scLicenseplateGetIsvalidIsPending" - }, - { - "from": "_0x5C4EBFFA98BDB41C", - "to": "scLicenseplateGetIsvalidStatus" - }, - { - "from": "_0xFF8F3A92B75ED67A", - "to": "scCommunityEventIsActive" - }, - { - "from": "_0x4ED9C8D6DA297639", - "to": "scCommunityEventGetEventId" - }, - { - "from": "_0x710BCDA8071EDED1", - "to": "scCommunityEventGetExtraDataInt" - }, - { - "from": "_0x50A8A36201DBF83E", - "to": "scCommunityEventGetExtraDataFloat" - }, - { - "from": "_0x9DE5D2F723575ED0", - "to": "scCommunityEventGetExtraDataString" - }, - { - "from": "_0xC2C97EA97711D1AE", - "to": "scCommunityEventGetDisplayName" - }, - { - "from": "_0x450819D8CF90C416", - "to": "scCommunityEventIsActiveForType" - }, - { - "from": "_0x4A7D6E727F941747", - "to": "scCommunityEventGetEventIdForType" - }, - { - "from": "_0xE75A4A2E5E316D86", - "to": "scCommunityEventGetExtraDataIntForType" - }, - { - "from": "_0x2570E26BE63964E3", - "to": "scCommunityEventGetExtraDataFloatForType" - }, - { - "from": "_0x1D12A56FC95BE92E", - "to": "scCommunityEventGetExtraDataStringForType" - }, - { - "from": "_0x33DF47CC0642061B", - "to": "scCommunityEventGetDisplayNameForType" - }, - { - "from": "_0xA468E0BE12B12C70", - "to": "scCommunityEventIsActiveById" - }, - { - "from": "_0x8CC469AB4D349B7C", - "to": "scCommunityEventGetExtraDataIntById" - }, - { - "from": "_0xC5A35C73B68F3C49", - "to": "scCommunityEventGetExtraDataFloatById" - }, - { - "from": "_0x699E4A5C8C893A18", - "to": "scCommunityEventGetExtraDataStringById" - }, - { - "from": "_0x19853B5B17D77BCA", - "to": "scCommunityEventGetDisplayNameById" - }, - { - "from": "_0x6BFB12CE158E3DD4", - "to": "scTransitionNewsShow" - }, - { - "from": "_0xFE4C1D0D3B9CC17E", - "to": "scTransitionNewsShowTimed" - }, - { - "from": "_0xD8122C407663B995", - "to": "scTransitionNewsShowNextItem" - }, - { - "from": "_0x3001BEF2FECA3680", - "to": "scTransitionNewsHasExtraDataTu" - }, - { - "from": "_0x92DA6E70EF249BD1", - "to": "scTransitionNewsGetExtraDataIntTu" - }, - { - "from": "_0x675721C9F644D161", - "to": "scTransitionNewsEnd" - }, - { - "from": "_0xE4F6E8D07A2F0F51", - "to": "scPauseNewsInitStarterPack" - }, - { - "from": "_0x8A4416C0DB05FA66", - "to": "scPauseNewsGetPendingStory" - }, - { - "from": "_0xEA95C0853A27888E", - "to": "scPauseNewsShutdown" - }, - { - "from": "scGetNickname", - "to": "scAccountInfoGetNickname" - }, - { - "from": "_0x225798743970412B", - "to": "scAchievementInfoStatus" - }, - { - "from": "scGetHasAchievementBeenPassed", - "to": "scHasAchievementBeenPassed" - }, - { - "from": "_0x5688585E6D563CD8", - "to": "statSetOpenSavetypeInJob" - }, - { - "from": "_0x7F2C4CDF2E82DF4C", - "to": "statCloudSlotLoadFailed" - }, - { - "from": "_0xE496A53BA5F50A56", - "to": "statCloudSlotLoadFailedCode" - }, - { - "from": "_0x6A7F19756F1A9016", - "to": "statGetBlockSaves" - }, - { - "from": "_0x7E6946F68A38B74F", - "to": "statCloudSlotSaveFailed" - }, - { - "from": "_0xA8733668D1047B51", - "to": "statClearPendingSaves" - }, - { - "from": "_0xECB41AC6AB754401", - "to": "statLoadDirtyReadDetected" - }, - { - "from": "_0x9B4BD21D69B1E609", - "to": "statClearDirtyReadDetected" - }, - { - "from": "_0xC0E0D686DDFC6EAE", - "to": "statGetLoadSafeToProgressToMpFromSp" - }, - { - "from": "_0x5A556B229A169402", - "to": "statCommunityStartSynch" - }, - { - "from": "_0xB1D2BB1E1631F5B1", - "to": "statCommunitySynchIsPending" - }, - { - "from": "_0xBED9F5693F34ED17", - "to": "statCommunityGetHistory" - }, - { - "from": "_0x26D7399B9587FE89", - "to": "statResetAllOnlineCharacterStats" - }, - { - "from": "_0xA78B8FA58200DA56", - "to": "statLocalResetAllOnlineCharacterStats" - }, - { - "from": "_0xC01D2470F22CDE5A", - "to": "statsCompletedCharacterCreation" - }, - { - "from": "statGetPackedIntMask", - "to": "packedStatGetIntStatIndex" - }, - { - "from": "getNgstatIntHash", - "to": "getPackedNgIntStatKey" - }, - { - "from": "playstatsStartOfflineMode", - "to": "playstatsStartedSessionInOfflinemode" - }, - { - "from": "_0x6DEE77AFF8C21BD1", - "to": "playstatsCreateMatchHistoryId2" - }, - { - "from": "playstatsCrateCreatedMissionDone", - "to": "playstatsCrateCreated" - }, - { - "from": "_0xF8C54A461C3E11DC", - "to": "playstatsJobActivityEnd" - }, - { - "from": "_0xF5BB8DAC426A52C0", - "to": "playstatsJobBend" - }, - { - "from": "_0xA736CF7FB7C5BFF4", - "to": "playstatsJobLtsEnd" - }, - { - "from": "_0x14E0B2D1AD1044E0", - "to": "playstatsJobLtsRoundEnd" - }, - { - "from": "_0xD1032E482629049E", - "to": "playstatsSetJoinType" - }, - { - "from": "playstatsDirectorMode", - "to": "playstatsAppendDirectorMetric" - }, - { - "from": "playstatsAwardBadsport", - "to": "playstatsAwardBadSport" - }, - { - "from": "playstatsPegasaircraft", - "to": "playstatsPegasusAsPersonalAircraft" - }, - { - "from": "_0x6A60E43998228229", - "to": "playstatsFmEventChallenges" - }, - { - "from": "_0xBFAFDB5FAAA5C5AB", - "to": "playstatsFmEventVehicletarget" - }, - { - "from": "_0x8C9D11605E59D955", - "to": "playstatsFmEventUrbanwarfare" - }, - { - "from": "_0x3DE3AA516FB126A4", - "to": "playstatsFmEventCheckpointcollection" - }, - { - "from": "_0xBAA2F0490E146BE8", - "to": "playstatsFmEventAtob" - }, - { - "from": "_0x1A7CE7CD3E653485", - "to": "playstatsFmEventPennedin" - }, - { - "from": "_0x419615486BBF1956", - "to": "playstatsFmEventPasstheparcel" - }, - { - "from": "_0x84DFC579C2FC214C", - "to": "playstatsFmEventHotproperty" - }, - { - "from": "_0x0A9C7F36E5D7B683", - "to": "playstatsFmEventDeaddrop" - }, - { - "from": "_0x164C5FF663790845", - "to": "playstatsFmEventKingofthecastle" - }, - { - "from": "_0xEDBF6C9B0D2C65C8", - "to": "playstatsFmEventCriminaldamage" - }, - { - "from": "_0x6551B1F7F6CD46EA", - "to": "playstatsFmEventCompetitiveurbanwarfare" - }, - { - "from": "_0x2CD90358F67D0AA8", - "to": "playstatsFmEventHuntbeast" - }, - { - "from": "playstatsPiMenuHideSettings", - "to": "playstatsPimenuHideOptions" - }, - { - "from": "leaderboards2ReadByPlatform", - "to": "leaderboards2ReadByPlaform" - }, - { - "from": "_0xA0F93D5465B3094D", - "to": "leaderboards2ReadGetRowDataStart" - }, - { - "from": "_0x71B008056E5692D6", - "to": "leaderboards2ReadGetRowDataEnd" - }, - { - "from": "_0x34770B9CE0E03B91", - "to": "leaderboards2ReadGetRowDataInfo" - }, - { - "from": "_0x88578F6EC36B4A3A", - "to": "leaderboards2ReadGetRowDataInt" - }, - { - "from": "_0x38491439B6BA7F7D", - "to": "leaderboards2ReadGetRowDataFloat" - }, - { - "from": "_0x8EC74CEB042E7CFF", - "to": "leaderboardsClearCacheDataId" - }, - { - "from": "updateStatInt", - "to": "presenceEventUpdatestatInt" - }, - { - "from": "updateStatFloat", - "to": "presenceEventUpdatestatFloat" - }, - { - "from": "_0x6483C25849031C4F", - "to": "presenceEventUpdatestatIntWithString" - }, - { - "from": "_0x5EAD2BF6484852E4", - "to": "getPlayerHasDrivenAllVehicles" - }, - { - "from": "_0xC141B8917E0017EC", - "to": "setHasPostedAllVehiclesDriven" - }, - { - "from": "_0xC67E2DA1CBE759E2", - "to": "setProfileSettingSpChopMissionComplete" - }, - { - "from": "_0xF1A1803D3476F215", - "to": "setProfileSettingCreatorRacesDone" - }, - { - "from": "_0x38BAAA5DD4C9D19F", - "to": "setProfileSettingCreatorDmDone" - }, - { - "from": "_0x55384438FC55AD8E", - "to": "setProfileSettingCreatorCtfDone" - }, - { - "from": "_0x723C1CE13FBFDB67", - "to": "setJobActivityIdStarted" - }, - { - "from": "_0x0D01D20616FC73FB", - "to": "setFreemodePrologueDone" - }, - { - "from": "_0x428EAF89E24F6C36", - "to": "statNetworkIncrementOnSuicide" - }, - { - "from": "_0x6F361B8889A792A3", - "to": "forceCloudMpStatsDownloadAndOverwriteLocalSave" - }, - { - "from": "_0xC847B43F369AC0B5", - "to": "statMigrateClearForRestart" - }, - { - "from": "statMigrateSave", - "to": "statMigrateSavegameStart" - }, - { - "from": "_0x9A62EC95AE10E011", - "to": "statMigrateSavegameGetStatus" - }, - { - "from": "_0x4C89FE2BDEB3F169", - "to": "statMigrateCheckAlreadyDone" - }, - { - "from": "_0xC6E0E2616A7576BB", - "to": "statMigrateCheckStart" - }, - { - "from": "_0x5BD5F255321C4AAF", - "to": "statMigrateCheckGetIsPlatformAvailable" - }, - { - "from": "_0xDEAAF77EB3687E97", - "to": "statMigrateCheckGetPlatformStatus" - }, - { - "from": "statSaveMigrationCancel", - "to": "statSaveMigrationCancelPendingOperation" - }, - { - "from": "statSaveMigrationConsumeContentUnlock", - "to": "statSaveMigrationConsumeContent" - }, - { - "from": "statGetSaveMigrationConsumeContentUnlockStatus", - "to": "statGetSaveMigrationConsumeContentStatus" - }, - { - "from": "_0x98E2BC1CA26287C3", - "to": "statEnableStatsTracking" - }, - { - "from": "_0x629526ABA383BCAA", - "to": "statDisableStatsTracking" - }, - { - "from": "_0xBE3DB208333D9844", - "to": "statIsStatsTrackingEnabled" - }, - { - "from": "_0x33D72899E24C3365", - "to": "statStartRecordStat" - }, - { - "from": "_0xA761D4AC6115623D", - "to": "statStopRecordStat" - }, - { - "from": "_0xF11F01D98113536A", - "to": "statGetRecordedValue" - }, - { - "from": "_0x8B9CDBD6C566C38C", - "to": "statIsRecordingStat" - }, - { - "from": "_0xE8853FBCE7D8D0D6", - "to": "statGetCurrentNearMissNocrashPrecise" - }, - { - "from": "_0xA943FD1722E11EFD", - "to": "statGetCurrentRearWheelDistance" - }, - { - "from": "_0x84A810B375E69C0E", - "to": "statGetCurrentFrontWheelDistance" - }, - { - "from": "_0x9EC8858184CD253A", - "to": "statGetCurrentJumpDistance" - }, - { - "from": "_0xBA9749CC94C1FD85", - "to": "statGetCurrentDriveNocrashDistance" - }, - { - "from": "_0x55A8BECAF28A4EB7", - "to": "statGetCurrentSpeed" - }, - { - "from": "_0x32CAC93C9DE73D32", - "to": "statGetCurrentDrivingReverseDistance" - }, - { - "from": "_0xAFF47709F1D5DCCE", - "to": "statGetCurrentSkydivingDistance" - }, - { - "from": "_0x6E0A5253375C4584", - "to": "statGetChallengeFlyingDist" - }, - { - "from": "_0x1A8EA222F9C67DBB", - "to": "statGetFlyingAltitude" - }, - { - "from": "_0xF9F2922717B819EC", - "to": "statIsPlayerVehicleAboveOcean" - }, - { - "from": "_0x0B8B7F74BF061C6D", - "to": "statGetVehicleBailDistance" - }, - { - "from": "_0xB3DA2606774A8E2D", - "to": "statRollbackSaveMigration" - }, - { - "from": "setHasContentUnlocksFlags", - "to": "setHasSpecialeditionContent" - }, - { - "from": "setSaveMigrationTransactionId", - "to": "setSaveMigrationTransactionIdWarning" - }, - { - "from": "_0x6BC0ACD0673ACEBE", - "to": "getBossGoonUuid" - }, - { - "from": "_0x8D8ADB562F09A245", - "to": "playstatsBwBossonbossdeathmatch" - }, - { - "from": "_0xD1A1EE3B4FA8E760", - "to": "playstatsBwYatchattack" - }, - { - "from": "_0x88087EE1F28024AE", - "to": "playstatsBwHuntTheBoss" - }, - { - "from": "_0xFCC228E07217FCAC", - "to": "playstatsBwSightseer" - }, - { - "from": "_0x678F86D8FC040BDB", - "to": "playstatsBwAssault" - }, - { - "from": "_0xA6F54BB2FFCA35EA", - "to": "playstatsBwBellyOfTheBeast" - }, - { - "from": "_0x5FF2C33B13A02A11", - "to": "playstatsBwHeadHunter" - }, - { - "from": "_0x282B6739644F4347", - "to": "playstatsBwFragileGoods" - }, - { - "from": "_0xF06A6F41CB445443", - "to": "playstatsBwAirFreight" - }, - { - "from": "_0x7B18DA61F6BAE9D5", - "to": "playstatsBcCarJacking" - }, - { - "from": "_0x06EAF70AE066441E", - "to": "playstatsBcSmashAndGrab" - }, - { - "from": "_0x14EDA9EE27BD1626", - "to": "playstatsBcProtectionRacket" - }, - { - "from": "_0x930F504203F561C9", - "to": "playstatsBcMostWanted" - }, - { - "from": "_0xE3261D791EB44ACB", - "to": "playstatsBcFindersKeepers" - }, - { - "from": "_0x73001E34F85137F8", - "to": "playstatsBcPointToPoint" - }, - { - "from": "_0x53CAE13E9B426993", - "to": "playstatsBcCashing" - }, - { - "from": "_0x7D36291161859389", - "to": "playstatsBcSalvage" - }, - { - "from": "playstatsBuyContraband", - "to": "playstatsBuyContrabandMission" - }, - { - "from": "playstatsSellContraband", - "to": "playstatsSellContrabandMission" - }, - { - "from": "playstatsDefendContraband", - "to": "playstatsDefendContrabandMission" - }, - { - "from": "playstatsRecoverContraband", - "to": "playstatsRecoverContrabandMission" - }, - { - "from": "_0x60EEDC12AF66E846", - "to": "playstatsHitContrabandDestroyLimit" - }, - { - "from": "_0x3EBEAC6C3F81F6BD", - "to": "startBeingBoss" - }, - { - "from": "_0x96E6D5150DBF1C09", - "to": "startBeingGoon" - }, - { - "from": "_0xA3C53804BDB68ED2", - "to": "endBeingBoss" - }, - { - "from": "_0x6BCCF9948492FD85", - "to": "endBeingGoon" - }, - { - "from": "orderedBossVehicle", - "to": "orderBossVehicle" - }, - { - "from": "_0xD1C9B92BDD3F151D", - "to": "changeUniform" - }, - { - "from": "_0x44919CC079BB60BF", - "to": "changeGoonLookingForWork" - }, - { - "from": "_0x7033EEFD9B28088E", - "to": "sendMetricGhostingToPlayer" - }, - { - "from": "_0xAA525DFF66BB82F5", - "to": "sendMetricVipPoach" - }, - { - "from": "_0x015B03EE1C43E6EC", - "to": "sendMetricPunishBodyguard" - }, - { - "from": "playstatsStuntPerformedEventAllowTrigger", - "to": "playstatsStartTrackingStunts" - }, - { - "from": "playstatsStuntPerformedEventDisallowTrigger", - "to": "playstatsStopTrackingStunts" - }, - { - "from": "_0xBF371CD2B64212FD", - "to": "playstatsMissionEnded" - }, - { - "from": "_0x7D8BA05688AD64C7", - "to": "playstatsImpexpMissionEnded" - }, - { - "from": "_0x0B565B0AAE56A0E8", - "to": "playstatsChangeMcRole" - }, - { - "from": "_0x28ECB8AC2F607DB2", - "to": "playstatsChangeMcOutfit" - }, - { - "from": "playstatsChangeMcEmblem", - "to": "playstatsSwitchMcEmblem" - }, - { - "from": "_0xCC25A4553DFBF9EA", - "to": "playstatsMcRequestBike" - }, - { - "from": "_0xF534D94DFA2EAD26", - "to": "playstatsMcKilledRivalMcMember" - }, - { - "from": "_0xD558BEC0BBA7E8D2", - "to": "playstatsAbandonedMc" - }, - { - "from": "_0x03C2EEBB04B3FB72", - "to": "playstatsMcFormationEnds" - }, - { - "from": "_0x8989CBD7B4E82534", - "to": "playstatsMcClubhouseActivity" - }, - { - "from": "_0x27AA1C973CACFE63", - "to": "playstatsRivalBehavior" - }, - { - "from": "playstatsDupeDetection", - "to": "playstatsDupeDetected" - }, - { - "from": "playstatsGunrunMissionEnded", - "to": "playstatsGunrunningMissionEnded" - }, - { - "from": "_0xDAF80797FC534BEC", - "to": "playstatsGunrunningRnd" - }, - { - "from": "_0x316DB59CD14C1774", - "to": "playstatsBusinessBattleEnded" - }, - { - "from": "_0x2D7A9B577E72385E", - "to": "playstatsWarehouseMissionEnded" - }, - { - "from": "_0x830C3A44EB3F2CF9", - "to": "playstatsNightclubMissionEnded" - }, - { - "from": "_0xB26F670685631727", - "to": "playstatsDjUsage" - }, - { - "from": "_0xC14BD9F5337219B2", - "to": "playstatsMinigameUsage" - }, - { - "from": "playstatsStoneHatchetEnd", - "to": "playstatsStoneHatchetEnded" - }, - { - "from": "playstatsSmugMissionEnded", - "to": "playstatsSmugglerMissionEnded" - }, - { - "from": "playstatsH2FmprepEnd", - "to": "playstatsFmHeistPrepEnded" - }, - { - "from": "playstatsH2InstanceEnd", - "to": "playstatsInstancedHeistEnded" - }, - { - "from": "playstatsDarMissionEnd", - "to": "playstatsDarCheckpoint" - }, - { - "from": "playstatsSpectatorWheelSpin", - "to": "playstatsSpinWheel" - }, - { - "from": "playstatsArenaWarSpectator", - "to": "playstatsArenaWarsSpectator" - }, - { - "from": "playstatsPassiveMode", - "to": "playstatsSwitchPassiveMode" - }, - { - "from": "playstatsCollectible", - "to": "playstatsCollectiblePickedUp" - }, - { - "from": "playstatsCasinoThreecardpoker", - "to": "playstatsCasinoThreeCardPoker" - }, - { - "from": "playstatsCasinoSlotmachine", - "to": "playstatsCasinoSlotMachine" - }, - { - "from": "playstatsCasinoInsidetrack", - "to": "playstatsCasinoInsideTrack" - }, - { - "from": "playstatsCasinoLuckyseven", - "to": "playstatsCasinoLuckySeven" - }, - { - "from": "playstatsCasinoThreecardpokerLight", - "to": "playstatsCasinoThreeCardPokerLight" - }, - { - "from": "playstatsCasinoSlotmachineLight", - "to": "playstatsCasinoSlotMachineLight" - }, - { - "from": "playstatsCasinoInsidetrackLight", - "to": "playstatsCasinoInsideTrackLight" - }, - { - "from": "playstatsArcadegame", - "to": "playstatsArcadeGame" - }, - { - "from": "_0x4FCDBD3F0A813C25", - "to": "playstatsArcadeLoveMatch" - }, - { - "from": "playstatsCasinoMissionEnded", - "to": "playstatsFreemodeCasinoMissionEnded" - }, - { - "from": "_0xDFBD93BF2943E29B", - "to": "playstatsHeist3Drone" - }, - { - "from": "_0x92FC0EEDFAC04A14", - "to": "playstatsHeist3Hack" - }, - { - "from": "_0x0077F15613D36993", - "to": "playstatsNpcPhone" - }, - { - "from": "_0xF9096193DF1F99D4", - "to": "playstatsArcadeCabinet" - }, - { - "from": "_0x2E0259BABC27A327", - "to": "playstatsHeist3Finale" - }, - { - "from": "_0x53C31853EC9531FF", - "to": "playstatsHeist3Prep" - }, - { - "from": "_0x810B5FCC52EC7FF0", - "to": "playstatsMasterControl" - }, - { - "from": "_0x5BF29846C6527C54", - "to": "playstatsQuitMode" - }, - { - "from": "_0xC03FAB2C2F92289B", - "to": "playstatsMissionVote" - }, - { - "from": "_0x5CDAED54B34B0ED0", - "to": "playstatsNjvsVote" - }, - { - "from": "_0x4AFF7E02E485E92B", - "to": "playstatsKillYourself" - }, - { - "from": "_0xDFCDB14317A9B361", - "to": "playstatsHeist4Prep" - }, - { - "from": "_0xC1E963C58664B556", - "to": "playstatsHeist4Finale" - }, - { - "from": "_0x2FA3173480008493", - "to": "playstatsHeist4Hack" - }, - { - "from": "_0xD4367D310F079DB0", - "to": "playstatsSubWeap" - }, - { - "from": "_0x4DC416F246A41FC8", - "to": "playstatsFastTrvl" - }, - { - "from": "_0x2818FF6638CB09DE", - "to": "playstatsHubEntry" - }, - { - "from": "_0xD6CA58B3B53A0F22", - "to": "playstatsDjMissionEnded" - }, - { - "from": "loadGlobalWaterType", - "to": "loadGlobalWaterFile" - }, - { - "from": "getGlobalWaterType", - "to": "getGlobalWaterFile" - }, - { - "from": "_0x0811381EF5062FEC", - "to": "setRestoreFocusEntity" - }, - { - "from": "_0x4E52E752C76E7E7A", - "to": "setAllMapdataCulled" - }, - { - "from": "_0x71E7B2E657449AAD", - "to": "isSafeToStartPlayerSwitch" - }, - { - "from": "_0x5F2013F8BC24EE69", - "to": "setPlayerShortSwitchStyle" - }, - { - "from": "switchOutPlayer", - "to": "switchToMultiFirstpart" - }, - { - "from": "switchInPlayer", - "to": "switchToMultiSecondpart" - }, - { - "from": "_0x933BBEEB8C61B5F4", - "to": "isSwitchToMultiFirstpartFinished" - }, - { - "from": "_0x1E9057A74FD73E23", - "to": "setSceneStreamingTracksCamPosThisFrame" - }, - { - "from": "_0xBED8CA5FF5E04113", - "to": "remapLodscaleRangeThisFrame" - }, - { - "from": "_0x472397322E92A856", - "to": "suppressHdMapStreamingThisFrame" - }, - { - "from": "_0x03F1A106BDA7DD3E", - "to": "forceAllowTimeBasedFadingThisFrame" - }, - { - "from": "_0x95A7DABDDBB78AE7", - "to": "iplGroupSwapStart" - }, - { - "from": "_0x63EB2B972A218CAC", - "to": "iplGroupSwapCancel" - }, - { - "from": "_0xFB199266061F820A", - "to": "iplGroupSwapIsReady" - }, - { - "from": "_0xF4A0DADB70F57FA6", - "to": "iplGroupSwapFinish" - }, - { - "from": "_0x5068F488DDB54DD8", - "to": "iplGroupSwapIsActive" - }, - { - "from": "_0xEF39EE20C537E98C", - "to": "setSrlPostCutsceneCamera" - }, - { - "from": "_0xBEB2D9A1D9A8F55A", - "to": "setSrlReadaheadTimes" - }, - { - "from": "_0x20C6C7E4EB082A7F", - "to": "setSrlLongJumpMode" - }, - { - "from": "_0xF8155A7F03DDFC8E", - "to": "setSrlForcePrestream" - }, - { - "from": "getUsedCreatorModelMemoryPercentage", - "to": "getUsedCreatorBudget" - }, - { - "from": "setIslandHopperEnabled", - "to": "setIslandEnabled" - }, - { - "from": "_0x3E38E28A1D80DDF6", - "to": "isControlledVehicleUnableToGetToRoad" - }, - { - "from": "setAnimPlaybackTime", - "to": "setAnimPhase" - }, - { - "from": "_0x6100B3CEFD43452E", - "to": "clearDefaultPrimaryTask" - }, - { - "from": "clearVehicleTasks", - "to": "clearPrimaryVehicleTask" - }, - { - "from": "_0x53DDC75BC3AC0A90", - "to": "clearVehicleCrashTask" - }, - { - "from": "taskRappelDownWall", - "to": "taskRappelDownWallUsingClipsetOverride" - }, - { - "from": "_0x9D252648778160DF", - "to": "getTaskRappelDownWallState" - }, - { - "from": "_0xFA83CA6776038F64", - "to": "removeCoverBlockingAreasAtPosition" - }, - { - "from": "_0x1F351CF1C6475734", - "to": "removeSpecificCoverBlockingAreas" - }, - { - "from": "_0x29682E2CCF21E9B5", - "to": "taskMoveNetworkAdvancedByNameWithInitParams" - }, - { - "from": "_0xAB13A5565480B6D9", - "to": "setExpectedCloneNextTaskMoveNetworkState" - }, - { - "from": "_0x8423541E8B3A1589", - "to": "setTaskMoveNetworkAnimSet" - }, - { - "from": "setTaskMoveNetworkSignalFloat2", - "to": "setTaskMoveNetworkSignalLocalFloat" - }, - { - "from": "_0x8634CEF2522D987B", - "to": "setTaskMoveNetworkSignalFloatLerpRate" - }, - { - "from": "_0x0FFB3C758E8C07B9", - "to": "setTaskMoveNetworkEnableCollisionOnNetworkCloneWhenFixed" - }, - { - "from": "taskAgitatedAction", - "to": "taskAgitatedActionConfrontResponse" - }, - { - "from": "_0x7D6F9A3EF26136A0", - "to": "setVehicleAllowHomingMissleLockon" - }, - { - "from": "setVehicleCanBeLockedOn", - "to": "setVehicleAllowHomingMissleLockonSynced" - }, - { - "from": "_0x6EAAEFC76ACC311F", - "to": "getVehicleHomingLockedontoState" - }, - { - "from": "_0x407DC5E97DB1A4D3", - "to": "setVehicleHomingLockedontoState" - }, - { - "from": "_0x9A75585FB2E54FAD", - "to": "setVehicleGeneratorAreaOfInterest" - }, - { - "from": "_0x0A436B8643716D14", - "to": "clearVehicleGeneratorAreaOfInterest" - }, - { - "from": "setVehicleDoorsLockedForUnk", - "to": "setVehicleDoorsLockedForAllTeams" - }, - { - "from": "_0x76D26A22750E849E", - "to": "setVehicleDontTerminateTaskWhenAchieved" - }, - { - "from": "_0xAB31EF4DE6800CE9", - "to": "setGoonBossVehicle" - }, - { - "from": "_0x1B212B26DD3C04DF", - "to": "setOpenRearDoorsOnExplosion" - }, - { - "from": "_0xC67DB108A9ADE3BE", - "to": "forceSubmarineNeurtalBuoyancy" - }, - { - "from": "getSubmarineIsBelowFirstCrushDepth", - "to": "getSubmarineIsUnderDesignDepth" - }, - { - "from": "getSubmarineCrushDepthWarningState", - "to": "getSubmarineNumberOfAirLeaks" - }, - { - "from": "_0xED5EDE9E676643C9", - "to": "setBoatIgnoreLandProbes" - }, - { - "from": "canAnchorBoatHere2", - "to": "canAnchorBoatHereIgnorePlayers" - }, - { - "from": "setBoatFrozenWhenAnchored", - "to": "setBoatRemainsAnchoredWhilePlayerIsDriver" - }, - { - "from": "_0xB28B1FE5BFADD7F5", - "to": "setForceLowLodAnchorMode" - }, - { - "from": "setBoatMovementResistance", - "to": "setBoatLowLodAnchorDistance" - }, - { - "from": "isBoatAnchoredAndFrozen", - "to": "isBoatAnchored" - }, - { - "from": "setBoatIsSinking", - "to": "setBoatWrecked" - }, - { - "from": "_0x6501129C9E0FFA05", - "to": "setVehicleForwardSpeedXy" - }, - { - "from": "_0xDCE97BDF8A0EABC8", - "to": "setVehicleSteerForBuildings" - }, - { - "from": "_0x9849DE24FCF23CCC", - "to": "setVehicleCausesSwerving" - }, - { - "from": "_0x8664170EF165C4A6", - "to": "setIgnorePlanesSmallPitchChange" - }, - { - "from": "stopBringVehicleToHalt", - "to": "stopBringingVehicleToHalt" - }, - { - "from": "isVehicleBeingHalted", - "to": "isVehicleBeingBroughtToHalt" - }, - { - "from": "findVehicleCarryingThisEntity", - "to": "findHandlerVehicleContainerIsAttachedTo" - }, - { - "from": "isHandlerFrameAboveContainer", - "to": "isHandlerFrameLinedUpWithContainer" - }, - { - "from": "_0x6A98C2ECF57FA5D4", - "to": "attachContainerToHandlerFrameWhenLinedUp" - }, - { - "from": "_0x8AA9180DE2FEDD45", - "to": "setVehicleDisableHeightMapAvoidance" - }, - { - "from": "_0x107A473D7A6647A9", - "to": "setShortSlowdownForLanding" - }, - { - "from": "_0x3B458DDB57038F08", - "to": "setVehicleDoorAutoLock" - }, - { - "from": "_0xA247F9EF01D8082E", - "to": "setFleeingVehiclesUseSwitchedOffNodes" - }, - { - "from": "ejectJb700Roof", - "to": "popOffVehicleRoofWithImpulse" - }, - { - "from": "setVehicleLightsMode", - "to": "setVehicleHeadlightShadows" - }, - { - "from": "_0x8821196D91FA2DE5", - "to": "setVehicleForceInteriorlight" - }, - { - "from": "_0x2310A8F9421EBF43", - "to": "allowTrainToBeRemovedByPopulation" - }, - { - "from": "setRandomBoatsInMp", - "to": "setRandomBoatsMp" - }, - { - "from": "_0x5845066D8A1EA7F7", - "to": "setAdditionalRotationForRecordedVehiclePlayback" - }, - { - "from": "_0x796A877E459B99EA", - "to": "setPositionOffsetForRecordedVehiclePlayback" - }, - { - "from": "_0xFAF2A78061FD9EF4", - "to": "setGlobalPositionOffsetForRecordedVehiclePlayback" - }, - { - "from": "_0x063AE2B2CC273588", - "to": "setShouldLerpFromAiToFullRecording" - }, - { - "from": "_0x99CAD8E7AFDB60FA", - "to": "forceSubThrottleForTime" - }, - { - "from": "_0xDBC631F109350B8C", - "to": "setDontAllowPlayerToEnterVehicleIfLockedForPlayer" - }, - { - "from": "_0x2311DD7159F00582", - "to": "setVehicleRespectsLocksWhenHasDriver" - }, - { - "from": "_0x065D03A9D6B2C6B5", - "to": "setVehicleCanEjectPassengersIfLocked" - }, - { - "from": "isVehicleDamaged", - "to": "getDoesVehicleHaveDamageDecals" - }, - { - "from": "_0xC4B3347BD68BD609", - "to": "setVehicleRemoveAggressiveCarjackMission" - }, - { - "from": "_0xD3301660A57C9272", - "to": "setVehicleAvoidPlayerVehicleRiotVanMission" - }, - { - "from": "_0xB9562064627FF9DB", - "to": "setCarjackMissionRemovalParameters" - }, - { - "from": "setVehicleXenonLightsColor", - "to": "setVehicleXenonLightColorIndex" - }, - { - "from": "getVehicleXenonLightsColor", - "to": "getVehicleXenonLightColorIndex" - }, - { - "from": "_0xBE5C1255A1830FF5", - "to": "setVehicleWillForceOtherVehiclesToStop" - }, - { - "from": "_0x9BECD4B9FEF3F8A6", - "to": "setVehicleActAsIfHasSirenOn" - }, - { - "from": "_0x88BC673CA9E0AE99", - "to": "setVehicleUseMoreRestrictiveSpawnChecks" - }, - { - "from": "_0xE851E480B814D4BA", - "to": "setVehicleMayBeUsedByGotoPointAnyMeans" - }, - { - "from": "getVehicleDoorDestroyType", - "to": "getVehicleIndividualDoorLockStatus" - }, - { - "from": "setVehicleDoorCanBreak", - "to": "setDoorAllowedToBeBrokenOff" - }, - { - "from": "getVehicleModelMonetaryValue", - "to": "getVehicleModelValue" - }, - { - "from": "_0xA01BC64DD4BFBBAC", - "to": "getInVehicleClipsetHashForSeat" - }, - { - "from": "setVehicleInteriorColor", - "to": "setVehicleExtraColour5" - }, - { - "from": "getVehicleInteriorColor", - "to": "getVehicleExtraColour5" - }, - { - "from": "setVehicleDashboardColor", - "to": "setVehicleExtraColour6" - }, - { - "from": "getVehicleDashboardColor", - "to": "getVehicleExtraColour6" - }, - { - "from": "setVehicleCanEngineOperateOnFire", - "to": "setVehicleCanEngineMissfire" - }, - { - "from": "_0xC50CE861B55EAB8B", - "to": "setVehicleLimitSpeedWhenPlayerInactive" - }, - { - "from": "_0x6EBFB22D646FFC18", - "to": "setVehicleStopInstantlyWhenPlayerInactive" - }, - { - "from": "doesVehicleTyreExist", - "to": "isExtraBrokenOff" - }, - { - "from": "transformVehicleToSubmarine", - "to": "transformToSubmarine" - }, - { - "from": "transformSubmarineToVehicle", - "to": "transformToCar" - }, - { - "from": "getIsSubmarineVehicleTransformed", - "to": "isVehicleInSubmarineMode" - }, - { - "from": "_0x35BB21DE06784373", - "to": "setVehicleOccupantsTakeExplosiveDamage" - }, - { - "from": "_0x9F3F689B814F2599", - "to": "setVehicleBlipThrottleRandomly" - }, - { - "from": "_0x4E74E62E0A97E901", - "to": "setPoliceFocusWillTrackVehicle" - }, - { - "from": "setVehicleSilent", - "to": "setVehicleInCarModShop" - }, - { - "from": "setVehicleRoofLivery", - "to": "setVehicleLivery2" - }, - { - "from": "getVehicleRoofLivery", - "to": "getVehicleLivery2" - }, - { - "from": "getVehicleRoofLiveryCount", - "to": "getVehicleLivery2Count" - }, - { - "from": "setHeliTailExplodeThrowDashboard", - "to": "setHeliTailBoomCanBreakOff" - }, - { - "from": "_0xD565F438137F0E10", - "to": "setVehicleExplodesOnExplosionDamageAtZeroBodyHealth" - }, - { - "from": "_0x3441CAD2F2231923", - "to": "setAllowVehicleExplodesOnContact" - }, - { - "from": "doesVehicleHaveLandingGear", - "to": "getVehicleHasLandingGear" - }, - { - "from": "_0x0581730AB9380412", - "to": "setVehicleTurretTarget" - }, - { - "from": "_0x737E398138550FFF", - "to": "setVehicleTankStationary" - }, - { - "from": "setDisableVehicleFlightNozzlePosition", - "to": "setDisableVerticalFlightModeTransition" - }, - { - "from": "_0xA4822F1CF23F4810", - "to": "generateVehicleCreationPosFromPaths" - }, - { - "from": "setVehicleReduceTraction", - "to": "setVehicleReduceGripLevel" - }, - { - "from": "hasFilledVehiclePopulation", - "to": "hasInstantFillVehiclePopulationFinished" - }, - { - "from": "_0x51DB102F4A3BA5E0", - "to": "networkEnableEmptyCrowdingVehiclesRemoval" - }, - { - "from": "_0xA4A9A4C40E615885", - "to": "networkCapEmptyCrowdingVehiclesRemoval" - }, - { - "from": "getVehicleModelEstimatedAgility", - "to": "getVehicleModelAccelerationMaxMods" - }, - { - "from": "getVehicleModelMaxKnots", - "to": "getFlyingVehicleModelAgility" - }, - { - "from": "getVehicleModelMoveResistance", - "to": "getBoatVehicleModelAgility" - }, - { - "from": "areBombBayDoorsOpen", - "to": "getAreBombBayDoorsOpen" - }, - { - "from": "isVehicleSeatAccessible", - "to": "isEntryPointForSeatClear" - }, - { - "from": "getEntryPositionOfDoor", - "to": "getEntryPointPosition" - }, - { - "from": "_0xEEBFC7A7EFDC35B4", - "to": "getVehicleColoursWhichCanBeSet" - }, - { - "from": "_0x5EE5632F47AE9695", - "to": "overridePlaneDamageThrehsold" - }, - { - "from": "isVehicleEngineOnFire", - "to": "getBothVehicleHeadlightsDamaged" - }, - { - "from": "_0x1CF38D529D7441D9", - "to": "setVehicleStaysFrozenWhenCleanedUp" - }, - { - "from": "_0x1F9FB66F3A3842D2", - "to": "setVehicleActAsIfHighSpeedForFragSmashing" - }, - { - "from": "_0x59C3757B3B7408E8", - "to": "setPedsCanFallOffThisVehicleFromLargeFallDamage" - }, - { - "from": "_0x0AD9E8F87FF7C16F", - "to": "setVehicleInfluencesWantedLevel" - }, - { - "from": "setBoatBoomPositionRatio", - "to": "swingBoatBoomToRatio" - }, - { - "from": "getBoatBoomPositionRatio2", - "to": "swingBoatBoomFreely" - }, - { - "from": "getBoatBoomPositionRatio3", - "to": "allowBoatBoomToAnimate" - }, - { - "from": "_0xAB04325045427AAE", - "to": "setVehicleNotStealableAmbiently" - }, - { - "from": "_0xCFD778E7904C255E", - "to": "lockDoorsWhenNoLongerNeeded" - }, - { - "from": "getVehicleNumberOfBrokenOffBones", - "to": "getVehicleNumOfBrokenOffParts" - }, - { - "from": "getVehicleNumberOfBrokenBones", - "to": "getVehicleNumOfBrokenLoosenParts" - }, - { - "from": "_0x4D9D109F63FEE1D4", - "to": "setForceVehicleEngineDamageByBullet" - }, - { - "from": "_0xF25E02CB9C5818F8", - "to": "disableVehicleExplosionBreakOffParts" - }, - { - "from": "_0x182F266C2D9E2BEB", - "to": "setVehicleCustomPathNodeStreamingRadius" - }, - { - "from": "_0xF051D9BFB6BA39C0", - "to": "setVehicleSlipstreamingShouldTimeOut" - }, - { - "from": "getVehicleCurrentSlipstreamDraft", - "to": "getVehicleCurrentTimeInSlipStream" - }, - { - "from": "isVehicleSlipstreamLeader", - "to": "isVehicleProducingSlipStream" - }, - { - "from": "setVehicleShadowEffect", - "to": "disableVehcileDynamicAmbientScales" - }, - { - "from": "removeVehicleShadowEffect", - "to": "enableVehicleDynamicAmbientScales" - }, - { - "from": "setPlanePropellersHealth", - "to": "setPlanePropellerHealth" - }, - { - "from": "arePlaneWingsIntact", - "to": "areWingsOfPlaneIntact" - }, - { - "from": "_0xB264C4D2F2B0A78B", - "to": "allowAmbientVehiclesToAvoidAdverseConditions" - }, - { - "from": "setCargobobHookCanDetach", - "to": "setCargobobForceDontDetachVehicle" - }, - { - "from": "_0x1F34B0626C594380", - "to": "setCargobobExcludeFromPickupEntity" - }, - { - "from": "_0x2C1D8B3B19E517CC", - "to": "canCargobobPickUpEntity" - }, - { - "from": "getCargobobHookPosition", - "to": "getAttachedPickUpHookPosition" - }, - { - "from": "_0xC0ED6438E6D39BA8", - "to": "setPickupRopeLengthWithoutCreatingRopeForCargobob" - }, - { - "from": "setCargobobPickupMagnetEffectRadius", - "to": "setCargobobPickupMagnetFalloff" - }, - { - "from": "setCargobobPickupMagnetReducedFalloff", - "to": "setCargobobPickupMagnetReducedStrength" - }, - { - "from": "setCargobobPickupMagnetPullRopeLength", - "to": "setCargobobPickupMagnetReducedFalloff" - }, - { - "from": "setCargobobPickupMagnetFalloff", - "to": "setCargobobPickupMagnetPullRopeLength" - }, - { - "from": "setCargobobPickupMagnetReducedStrength", - "to": "setCargobobPickupMagnetSetTargetedMode" - }, - { - "from": "_0x9BDDC73CC6A115D4", - "to": "setCargobobPickupMagnetSetAmbientMode" - }, - { - "from": "_0x56EB5E94318D3FB6", - "to": "setCargobobPickupMagnetEnsurePickupEntityUpright" - }, - { - "from": "_0x2C4A1590ABF43E8B", - "to": "setVehicleWillTellOthersToHurry" - }, - { - "from": "_0xE05DD0E9707003A3", - "to": "setVehicleUsedForPilotSchool" - }, - { - "from": "_0xE5810AC70602F2F5", - "to": "setAircraftPilotSkillNoiseScalar" - }, - { - "from": "setVehicleJetEngineOn", - "to": "setVehicleKeepEngineOnWhenAbandoned" - }, - { - "from": "_0x6A973569BA094650", - "to": "setVehicleImpatienceTimer" - }, - { - "from": "setVehicleHandlingHashForAi", - "to": "setVehicleHandlingOverride" - }, - { - "from": "setHelicopterRollPitchYawMult", - "to": "setHeliControlLaggingRateScalar" - }, - { - "from": "_0xF78F94D60248C737", - "to": "arePlaneControlPanelsIntact" - }, - { - "from": "_0x5E569EC46EC21CAE", - "to": "setVehicleNoExplosionDamageFromDriver" - }, - { - "from": "_0x41062318F23ED854", - "to": "setVehicleAiCanUseExclusiveSeats" - }, - { - "from": "setDisableVehicleWindowCollisions", - "to": "setDontProcessVehicleGlass" - }, - { - "from": "_0x4AD280EB48B2D8E6", - "to": "setDisableWantedConesResponse" - }, - { - "from": "_0xB68CFAF83A02768D", - "to": "setUseDesiredZCruiseSpeedForLanding" - }, - { - "from": "_0x0205F5365292D2EB", - "to": "setArriveDistanceOverrideForVehiclePersuitAttack" - }, - { - "from": "_0xCF9159024555488C", - "to": "setVehicleReadyForCleanup" - }, - { - "from": "setVehicleNeonLightsColour", - "to": "setVehicleNeonColour" - }, - { - "from": "_0xB93B2867F7B479D1", - "to": "setVehicleNeonIndexColour" - }, - { - "from": "getVehicleNeonLightsColour", - "to": "getVehicleNeonColour" - }, - { - "from": "setVehicleNeonLightEnabled", - "to": "setVehicleNeonEnabled" - }, - { - "from": "isVehicleNeonLightEnabled", - "to": "getVehicleNeonEnabled" - }, - { - "from": "_0x35E0654F4BAD7971", - "to": "setAmbientVehicleNeonEnabled" - }, - { - "from": "disableVehicleNeonLights", - "to": "suppressNeonsOnVehicle" - }, - { - "from": "setDisableSuperdummyMode", - "to": "setDisableSuperdummy" - }, - { - "from": "requestVehicleDashboardScaleformMovie", - "to": "requestVehicleDial" - }, - { - "from": "getVehicleSuspensionBounds", - "to": "getVehicleSize" - }, - { - "from": "getVehicleSuspensionHeight", - "to": "getFakeSuspensionLoweringAmount" - }, - { - "from": "setHydraulicRaised", - "to": "setHydraulicsControl" - }, - { - "from": "_0xA7DCDF4DED40A8F4", - "to": "setCanAdjustGroundClearance" - }, - { - "from": "getVehicleBodyHealth2", - "to": "getVehicleHealthPercentage" - }, - { - "from": "_0xD4C4642CB7F50B5D", - "to": "getVehicleIsMercenary" - }, - { - "from": "_0xC361AA040D6637A8", - "to": "setVehicleBrokenPartsDontAffectAiHandling" - }, - { - "from": "_0xE16142B94664DEFD", - "to": "setPlaneResistToExplosion" - }, - { - "from": "_0x26D99D5A82FD18E8", - "to": "setDisableBmxExtraTrickForces" - }, - { - "from": "setHydraulicWheelValue", - "to": "setHydraulicSuspensionRaiseFactor" - }, - { - "from": "getHydraulicWheelValue", - "to": "getHydraulicSuspensionRaiseFactor" - }, - { - "from": "setCamberedWheelsDisabled", - "to": "setCanUseHydraulics" - }, - { - "from": "setHydraulicWheelState", - "to": "setHydraulicVehicleState" - }, - { - "from": "setHydraulicWheelStateTransition", - "to": "setHydraulicWheelState" - }, - { - "from": "_0x5BA68A0840D546AC", - "to": "hasVehiclePetroltankSetOnFireByEntity" - }, - { - "from": "_0x4419966C9936071A", - "to": "clearVehiclePetroltankFireCulprit" - }, - { - "from": "_0x870B8B7A766615C8", - "to": "setVehicleBobbleheadVelocity" - }, - { - "from": "_0x8533CAFDE1F0F336", - "to": "getVehicleIsDummy" - }, - { - "from": "setVehicleDamageModifier", - "to": "setVehicleDamageScale" - }, - { - "from": "setVehicleUnkDamageMultiplier", - "to": "setVehicleWeaponDamageScale" - }, - { - "from": "_0xD4196117AF7BB974", - "to": "setDisableDamageWithPickedUpEntity" - }, - { - "from": "_0xBB2333BB87DDD87F", - "to": "setVehicleUsesMpPlayerDamageMultiplier" - }, - { - "from": "_0x73561D4425A021A2", - "to": "setBikeEasyToLand" - }, - { - "from": "setVehicleControlsInverted", - "to": "setInvertVehicleControls" - }, - { - "from": "_0x7BBE7FF626A591FE", - "to": "setSpeedBoostEffectDisabled" - }, - { - "from": "_0x65B080555EA48149", - "to": "setSlowDownEffectDisabled" - }, - { - "from": "_0x428AD3E26C8D9EB0", - "to": "setFormationLeader" - }, - { - "from": "_0xE2F53F172B45EDE1", - "to": "resetFormationLeader" - }, - { - "from": "_0xBA91D045575699AD", - "to": "getIsBoatCapsized" - }, - { - "from": "_0x80E3357FDEF45C21", - "to": "setAllowRammingSoopOrRamp" - }, - { - "from": "setVehicleRampLaunchModifier", - "to": "setScriptRampImpulseScale" - }, - { - "from": "setVehicleRocketBoostRefillTime", - "to": "setScriptRocketBoostRechargeTime" - }, - { - "from": "isVehicleRocketBoostActive", - "to": "isRocketBoostActive" - }, - { - "from": "setVehicleRocketBoostActive", - "to": "setRocketBoostActive" - }, - { - "from": "getIsWheelsLoweredStateActive", - "to": "getIsWheelsRetracted" - }, - { - "from": "raiseRetractableWheels", - "to": "setWheelsExtendedInstantly" - }, - { - "from": "lowerRetractableWheels", - "to": "setWheelsRetractedInstantly" - }, - { - "from": "getCanVehicleJump", - "to": "getCarHasJump" - }, - { - "from": "setUseHigherVehicleJumpForce", - "to": "setUseHigherCarJump" - }, - { - "from": "_0xB2E0C0D6922D31F2", - "to": "setClearFreezeWaitingOnCollisionOncePlayerEnters" - }, - { - "from": "setVehicleWeaponCapacity", - "to": "setVehicleWeaponRestrictedAmmo" - }, - { - "from": "getVehicleWeaponCapacity", - "to": "getVehicleWeaponRestrictedAmmo" - }, - { - "from": "getVehicleCanActivateParachute", - "to": "getVehicleCanDeployParachute" - }, - { - "from": "setVehicleParachuteActive", - "to": "vehicleStartParachuting" - }, - { - "from": "_0x3DE51E9C80B116CF", - "to": "isVehicleParachuteDeployed" - }, - { - "from": "setVehicleReceivesRampDamage", - "to": "vehicleSetRampAndRammingCarsTakeDamage" - }, - { - "from": "setVehicleRampSidewaysLaunchMotion", - "to": "vehicleSetEnableRampCarSideImpulse" - }, - { - "from": "setVehicleRampUpwardsLaunchMotion", - "to": "vehicleSetEnableNormaliseRampCarVerticalVeloctiy" - }, - { - "from": "_0x9D30687C57BAA0BB", - "to": "vehicleSetJetWashForceEnabled" - }, - { - "from": "setVehicleWeaponsDisabled", - "to": "setVehicleWeaponCanTargetObjects" - }, - { - "from": "_0x41290B40FA63E6DA", - "to": "setVehicleUseBoostButtonForWheelRetract" - }, - { - "from": "setVehicleParachuteModel", - "to": "vehicleSetParachuteModelOverride" - }, - { - "from": "setVehicleParachuteTextureVariation", - "to": "vehicleSetParachuteModelTintIndex" - }, - { - "from": "_0x0419B167EE128F33", - "to": "vehicleSetOverrideExtenableSideRatio" - }, - { - "from": "_0xF3B0E0AED097A3F5", - "to": "vehicleSetExtenableSideTargetRatio" - }, - { - "from": "_0xD3E51C0AB8C26EEE", - "to": "vehicleSetOverrideSideRatio" - }, - { - "from": "_0x72BECCF4B829522E", - "to": "setCargobobExtaPickupRange" - }, - { - "from": "_0x66E3AAFACE2D1EB8", - "to": "setOverrideVehicleDoorTorque" - }, - { - "from": "_0x1312DDD8385AEE4E", - "to": "setWheelieEnabled" - }, - { - "from": "_0xEDBC8405B3895CC9", - "to": "setDisableHeliExplodeFromBodyDamage" - }, - { - "from": "_0x26E13D440E7F6064", - "to": "setDisableExplodeFromBodyDamageOnCollision" - }, - { - "from": "_0x2FA2494B47FDD009", - "to": "setTrailerAttachmentEnabled" - }, - { - "from": "setVehicleRocketBoostPercentage", - "to": "setRocketBoostFill" - }, - { - "from": "setOppressorTransformState", - "to": "setGliderActive" - }, - { - "from": "_0x78CEEE41F49F421F", - "to": "setShouldResetTurretInScriptedCameras" - }, - { - "from": "_0xAF60E6A2936F982A", - "to": "setVehicleDisableCollisionUponCreation" - }, - { - "from": "_0x430A7631A84C9BE7", - "to": "setGroundEffectReducesDrag" - }, - { - "from": "disableVehicleWorldCollision", - "to": "setDisableMapCollision" - }, - { - "from": "_0x8235F1BEAD557629", - "to": "setDisablePedStandOnTop" - }, - { - "from": "_0x9640E30A7F395E4B", - "to": "setVehicleDamageScales" - }, - { - "from": "_0x0BBB9A7A8FFE931B", - "to": "setPlaneSectionDamageScale" - }, - { - "from": "setCargobobHookCanAttach", - "to": "setHeliCanPickupEntityThatHasPickUpDisabled" - }, - { - "from": "setVehicleBombCount", - "to": "setVehicleBombAmmo" - }, - { - "from": "getVehicleBombCount", - "to": "getVehicleBombAmmo" - }, - { - "from": "setVehicleCountermeasureCount", - "to": "setVehicleCountermeasureAmmo" - }, - { - "from": "getVehicleCountermeasureCount", - "to": "getVehicleCountermeasureAmmo" - }, - { - "from": "_0x0A3F820A9A9A9AC5", - "to": "setHeliCombatOffset" - }, - { - "from": "_0x51F30DB60626A20E", - "to": "getCanVehicleBePlacedHere" - }, - { - "from": "_0x97841634EF7DF1D6", - "to": "setDisableAutomaticCrashTask" - }, - { - "from": "setVehicleHoverTransformRatio", - "to": "setSpecialFlightModeRatio" - }, - { - "from": "setVehicleHoverTransformPercentage", - "to": "setSpecialFlightModeTargetRatio" - }, - { - "from": "setVehicleHoverTransformEnabled", - "to": "setSpecialFlightModeAllowed" - }, - { - "from": "setVehicleHoverTransformActive", - "to": "setDisableHoverModeFlight" - }, - { - "from": "_0x3A9128352EAC9E85", - "to": "getOutriggersDeployed" - }, - { - "from": "findRandomPointInSpace", - "to": "findSpawnCoordinatesForHeli" - }, - { - "from": "setDeployHeliStubWings", - "to": "setDeployFoldingWings" - }, - { - "from": "areHeliStubWingsDeployed", - "to": "areFoldingWingsDeployed" - }, - { - "from": "_0xAA653AE61924B0A0", - "to": "setDipStraightDownWhenCrashingPlane" - }, - { - "from": "setVehicleTurretUnk", - "to": "setTurretHidden" - }, - { - "from": "setSpecialflightWingRatio", - "to": "setHoverModeWingRatio" - }, - { - "from": "setDisableTurretMovementThisFrame", - "to": "setDisableTurretMovement" - }, - { - "from": "_0x887FA38787DE8C72", - "to": "setForceFixLinkMatrices" - }, - { - "from": "setUnkFloat0x104ForSubmarineVehicleTask", - "to": "setTransformRateForAnimation" - }, - { - "from": "setUnkBool0x102ForSubmarineVehicleTask", - "to": "setTransformToSubmarineUsesAlternateInput" - }, - { - "from": "_0x36DE109527A2C0C4", - "to": "setVehicleCombatMode" - }, - { - "from": "_0x82E0AC411E41A5B4", - "to": "setVehicleDetonationMode" - }, - { - "from": "_0x99A05839C46CE316", - "to": "setVehicleShuntOnStick" - }, - { - "from": "getIsVehicleShuntBoostActive", - "to": "getIsVehicleShunting" - }, - { - "from": "_0xE8718FAF591FD224", - "to": "getHasVehicleBeenHitByShunt" - }, - { - "from": "getLastRammedVehicle", - "to": "getLastShuntVehicle" - }, - { - "from": "setDisableVehicleUnk", - "to": "setDisableVehicleExplosionsDamage" - }, - { - "from": "setVehicleNitroEnabled", - "to": "setOverrideNitrousLevel" - }, - { - "from": "setVehicleWheelsDealDamage", - "to": "setIncreaseWheelCrushDamage" - }, - { - "from": "setDisableVehicleUnk2", - "to": "setDisableWeaponBladeForces" - }, - { - "from": "_0x5BBCF35BF6E456F7", - "to": "setUseDoubleClickForCarJump" - }, - { - "from": "hideVehicleTombstone", - "to": "hideTombstone" - }, - { - "from": "getIsVehicleEmpDisabled", - "to": "getIsVehicleDisabledByEmp" - }, - { - "from": "_0x8F0D5BA1C2CC91D7", - "to": "setDisableRetractingWeaponBlades" - }, - { - "from": "getTyreWearMultiplier", - "to": "getTyreWearRate" - }, - { - "from": "setTyreWearMultiplier", - "to": "setTyreWearRate" - }, - { - "from": "setTyreSoftnessMultiplier", - "to": "setTyreWearRateScale" - }, - { - "from": "setTyreTractionLossMultiplier", - "to": "setTyreMaximumGripDifferenceDueToWearRate" - }, - { - "from": "_0xF8B49F5BA7F850E7", - "to": "setAircraftIgnoreHightmapOptimisation" - }, - { - "from": "setReduceDriftVehicleSuspension", - "to": "setReducedSuspensionForce" - }, - { - "from": "setDriftTyresEnabled", - "to": "setDriftTyres" - }, - { - "from": "getDriftTyresEnabled", - "to": "getDriftTyresSet" - }, - { - "from": "networkUseHighPrecisionVehicleBlending", - "to": "networkUseHighPrecisionTrainBlending" - }, - { - "from": "addCurrentRise", - "to": "addExtraCalmingQuad" - }, - { - "from": "removeCurrentRise", - "to": "removeExtraCalmingQuad" - }, - { - "from": "_0x547237AA71AB44DE", - "to": "setCalmedWaveHeightScaler" - }, - { - "from": "getWeaponComponentVariantExtraComponentCount", - "to": "getWeaponComponentVariantExtraCount" - }, - { - "from": "getWeaponComponentVariantExtraComponentModel", - "to": "getWeaponComponentVariantExtraModel" - }, - { - "from": "_0x50276EF8172F5F12", - "to": "setPedCycleVehicleWeaponsOnly" - }, - { - "from": "_0x24C024BA8379A70A", - "to": "setPedStunGunFiniteAmmo" - }, - { - "from": "addAmmoToPedByType", - "to": "addPedAmmoByType" - }, - { - "from": "getPedAmmoTypeFromWeapon2", - "to": "getPedOriginalAmmoTypeFromWeapon" - }, - { - "from": "setPedWeaponLiveryColor", - "to": "setPedWeaponComponentTintIndex" - }, - { - "from": "getPedWeaponLiveryColor", - "to": "getPedWeaponComponentTintIndex" - }, - { - "from": "setWeaponObjectLiveryColor", - "to": "setWeaponObjectComponentTintIndex" - }, - { - "from": "getWeaponObjectLiveryColor", - "to": "getWeaponObjectComponentTintIndex" - }, - { - "from": "_0xA2C9AC24B4061285", - "to": "getPedWeaponCamoIndex" - }, - { - "from": "_0x977CA98939E82E4B", - "to": "setWeaponObjectCamoIndex" - }, - { - "from": "setWeaponDamageModifierThisFrame", - "to": "setWeaponDamageModifier" - }, - { - "from": "setWeaponExplosionRadiusMultiplier", - "to": "setWeaponAoeModifier" - }, - { - "from": "_0xE6D2CEDD370FF98E", - "to": "setWeaponEffectDurationModifier" - }, - { - "from": "setFlashLightEnabled", - "to": "setFlashLightActiveHistory" - }, - { - "from": "_0xE4DCEC7FD5B739A5", - "to": "setEqippedWeaponStartSpinningAtFullSpeed" - }, - { - "from": "createAirDefenseSphere", - "to": "createAirDefenceSphere" - }, - { - "from": "createAirDefenseArea", - "to": "createAirDefenceAngledArea" - }, - { - "from": "removeAirDefenseZone", - "to": "removeAirDefenceSphere" - }, - { - "from": "removeAllAirDefenseZones", - "to": "removeAllAirDefenceSpheres" - }, - { - "from": "setPlayerAirDefenseZoneFlag", - "to": "setPlayerTargettableForAirDefenceSphere" - }, - { - "from": "isAnyAirDefenseZoneInsideSphere", - "to": "isAirDefenceSphereInArea" - }, - { - "from": "fireAirDefenseWeapon", - "to": "fireAirDefenceSphereWeaponAtPosition" - }, - { - "from": "doesAirDefenseZoneExist", - "to": "doesAirDefenceSphereExist" - }, - { - "from": "setCanPedEquipWeapon", - "to": "setCanPedSelectInventoryWeapon" - }, - { - "from": "setCanPedEquipAllWeapons", - "to": "setCanPedSelectAllWeapons" - } -] \ No newline at end of file diff --git a/scripts/plugins/core.js b/scripts/plugins/core.js index c9ff6b3b28..408a38d06b 100644 --- a/scripts/plugins/core.js +++ b/scripts/plugins/core.js @@ -1,8 +1,8 @@ -import fs from 'fs-extra'; -import glob from 'glob'; +import fs from 'node:fs'; import path from 'path'; -import { getEnabledPlugins, sanitizePath } from './shared.js'; - +import { getEnabledPlugins } from './shared.js'; +import { globSync, writeFile } from '../shared/fileHelpers.js'; +import { sanitizePath } from '../shared/path.js'; /** * * @param {*} pluginName @@ -10,8 +10,7 @@ import { getEnabledPlugins, sanitizePath } from './shared.js'; */ function copyPluginFiles(pluginName) { const pluginFolder = sanitizePath(path.join(process.cwd(), 'src/core/plugins', pluginName)); - - const files = glob.sync(sanitizePath(path.join(pluginFolder, '@(client|server)/index.ts'))); + const files = globSync(path.join(pluginFolder, '@(client|server)/index.ts')); const hasClientFiles = !!files.find((file) => file.includes('client/index.ts')); const hasServerFiles = !!files.find((file) => file.includes('server/index.ts')); @@ -42,7 +41,7 @@ function writeServerImports(plugins) { content = content + `\n\nplugins.init();\n`; const importPath = sanitizePath(path.join(process.cwd(), 'resources/core/plugins/athena/server/imports.js')); - fs.outputFileSync(importPath, content); + writeFile(importPath, content); } function writeClientImports(plugins) { @@ -59,7 +58,7 @@ function writeClientImports(plugins) { .join('\n'); const importPath = sanitizePath(path.join(process.cwd(), 'resources/core/plugins/athena/client/imports.js')); - fs.outputFileSync(importPath, content + '\n'); + writeFile(importPath, content + '\n'); } function run() { @@ -82,7 +81,6 @@ function run() { writeServerImports(serverImports); writeClientImports(clientImports); - console.log(`Plugin(s): ${enabledPlugins.length}`); } run(); diff --git a/scripts/plugins/shared.js b/scripts/plugins/shared.js index 67ea5f6b58..c7730327f4 100644 --- a/scripts/plugins/shared.js +++ b/scripts/plugins/shared.js @@ -1,13 +1,10 @@ import path from 'path'; -import fs from 'fs-extra'; -import glob from 'glob'; +import fs from 'node:fs'; +import { sanitizePath } from '../shared/path.js'; +import { copySync, globSync } from '../shared/fileHelpers.js'; const viablePluginDisablers = ['disable.plugin', 'disabled.plugin', 'disable', 'disabled']; -export function sanitizePath(p) { - return p.replace(/\\/g, '/'); -} - export function clearPluginsWebViewFolder() { const pluginsFolder = sanitizePath(path.join(process.cwd(), `src-webviews/public/plugins`)); if (fs.existsSync(pluginsFolder)) { @@ -42,19 +39,18 @@ export function moveAssetsToWebview(folderName, extensions) { } const fullPath = sanitizePath(path.join(pluginFolder, `${folderName}/**/*.+(${extensions.join('|')})`)); - const allFiles = glob.sync(fullPath); + const allFiles = globSync(fullPath); for (let i = 0; i < allFiles.length; i++) { const filePath = allFiles[i]; const regExp = new RegExp(`.*\/${folderName}\/`); const finalPath = sanitizePath(filePath.replace(regExp, `src-webviews/public/plugins/`)); - console.log(finalPath); const folderPath = sanitizePath(path.dirname(finalPath)); if (!fs.existsSync(folderPath)) { fs.mkdirSync(folderPath, { recursive: true }); } - fs.copyFileSync(filePath, finalPath); + copySync(filePath, finalPath); amountCopied += 1; } } @@ -67,11 +63,11 @@ export function movePluginFilesToWebview(folderName, extensions, isSrc = false) let oldFiles; if (!isSrc) { - oldFiles = glob.sync( + oldFiles = globSync( sanitizePath(path.join(`src-webviews/public/plugins/${normalizedName}/**/*.+(${extensions.join('|')})`)), ); } else { - oldFiles = glob.sync( + oldFiles = globSync( sanitizePath(path.join(`src-webviews/src/plugins/${normalizedName}/**/*.+(${extensions.join('|')})`)), ); } @@ -100,7 +96,7 @@ export function movePluginFilesToWebview(folderName, extensions, isSrc = false) continue; } - const allFiles = glob.sync( + const allFiles = globSync( sanitizePath(path.join(pluginFolder, `${folderName}/**/*.+(${extensions.join('|')})`)), ); for (let i = 0; i < allFiles.length; i++) { @@ -124,7 +120,7 @@ export function movePluginFilesToWebview(folderName, extensions, isSrc = false) fs.mkdirSync(folderPath, { recursive: true }); } - fs.copyFileSync(filePath, finalPath); + copySync(filePath, finalPath); amountCopied += 1; } } diff --git a/scripts/plugins/update-dependencies.js b/scripts/plugins/update-dependencies.js index 32a1a5020f..0564547f78 100644 --- a/scripts/plugins/update-dependencies.js +++ b/scripts/plugins/update-dependencies.js @@ -1,17 +1,13 @@ import { exec } from 'child_process'; -import fs from "fs"; -import glob from 'glob'; +import fs from 'fs'; import * as path from 'path'; +import { sanitizePath } from '../shared/path.js'; +import { globSync } from '../shared/fileHelpers.js'; -const viablePluginDisablers = [ - 'disable.plugin', - 'disabled.plugin', - 'disable', -] +const viablePluginDisablers = ['disable.plugin', 'disabled.plugin', 'disable']; -function sanitizePath(p) { - return p.replace(/\\/g, '/'); -} +let dependencies = []; +let devDependencies = []; function getInstalledDependencies() { const packageJsonPath = sanitizePath(path.join(process.cwd(), 'package.json')); @@ -24,41 +20,38 @@ function getInstalledDependencies() { process.exit(1); } - const dependencies = []; for (const dependency in contents.dependencies) { dependencies.push(dependency); } - const devDependencies = []; for (const dependency in contents.devDependencies) { devDependencies.push(dependency); } - - return { dependencies, devDependencies }; } function getPluginDependencies(pluginName) { const pluginPath = sanitizePath(path.join(process.cwd(), 'src/core/plugins', pluginName)); - const dependencies = { + const pluginDependencies = { dependencies: [], - devDependencies: [] - } + devDependencies: [], + }; for (const disabler of viablePluginDisablers) { const disabledPath = sanitizePath(path.join(pluginPath, disabler)); if (fs.existsSync(disabledPath)) { - return dependencies; + return pluginDependencies; } } const dependencyPath = sanitizePath(path.join(pluginPath, 'dependencies.json')); if (!fs.existsSync(dependencyPath)) { - return dependencies; + return pluginDependencies; } - let contents = null; + let contents; + try { contents = JSON.parse(fs.readFileSync(dependencyPath, 'utf8')); } catch (error) { @@ -66,23 +59,22 @@ function getPluginDependencies(pluginName) { } if (!contents) { - return dependencies; + return pluginDependencies; } - for (const name of (contents.dependencies ?? [])) { - dependencies.dependencies.push(name); + for (const name of contents.dependencies ?? []) { + pluginDependencies.dependencies.push(name); } - for (const name of (contents.devDependencies ?? [])) { - dependencies.devDependencies.push(name); + for (const name of contents.devDependencies ?? []) { + pluginDependencies.devDependencies.push(name); } - return dependencies; + return pluginDependencies; } function checkPluginDependencies() { - const installedDependencies = getInstalledDependencies(); - const plugins = glob.sync(sanitizePath(path.join(process.cwd(), 'src/core/plugins/*'))); + const plugins = globSync(sanitizePath(path.join(process.cwd(), 'src/core/plugins/*'))); const missingDepdendencies = []; @@ -91,14 +83,15 @@ function checkPluginDependencies() { const pluginDependencies = getPluginDependencies(pluginName); - if (pluginDependencies.dependencies.length === 0) - continue; + if (pluginDependencies.dependencies.length === 0) continue; - console.log(`Checking dependencies for plugin '${pluginName}': ${pluginDependencies.dependencies.length} dependencies`); + console.log( + `Checking dependencies for plugin '${pluginName}': ${pluginDependencies.dependencies.length} dependencies`, + ); if (pluginDependencies.dependencies.length > 0) { for (const dependency of pluginDependencies.dependencies) { - if (!installedDependencies.dependencies.includes(dependency)) { + if (!dependencies.includes(dependency)) { missingDepdendencies.push(dependency); } } @@ -109,8 +102,7 @@ function checkPluginDependencies() { } function checkPluginDevDependencies() { - const installedDependencies = getInstalledDependencies(); - const plugins = glob.sync(sanitizePath(path.join(process.cwd(), 'src/core/plugins/*'))); + const plugins = globSync(sanitizePath(path.join(process.cwd(), 'src/core/plugins/*'))); const missingDevDepdendencies = []; @@ -119,14 +111,15 @@ function checkPluginDevDependencies() { const pluginDependencies = getPluginDependencies(pluginName); - if (pluginDependencies.devDependencies.length === 0) - continue; + if (pluginDependencies.devDependencies.length === 0) continue; - console.log(`Checking development dependencies for plugin '${pluginName}': ${pluginDependencies.devDependencies.length} dependencies`); + console.log( + `Checking development dependencies for plugin '${pluginName}': ${pluginDependencies.devDependencies.length} dependencies`, + ); if (pluginDependencies.devDependencies.length > 0) { for (const dependency of pluginDependencies.devDependencies) { - if (!installedDependencies.devDependencies.includes(dependency)) { + if (!devDependencies.includes(dependency)) { missingDevDepdendencies.push(dependency); } } @@ -137,6 +130,8 @@ function checkPluginDevDependencies() { } function updatePluginDependencies() { + getInstalledDependencies(); + const missingDepdendencies = checkPluginDependencies(); const missingDevDependencies = checkPluginDevDependencies(); diff --git a/scripts/plugins/webview.js b/scripts/plugins/webview.js index 14ccd5fd13..ab818fefaa 100644 --- a/scripts/plugins/webview.js +++ b/scripts/plugins/webview.js @@ -1,7 +1,8 @@ -import fs from 'fs-extra'; -import glob from 'glob'; +import fs from 'node:fs'; import path from 'path'; -import { getEnabledPlugins, sanitizePath } from './shared.js'; +import { getEnabledPlugins } from './shared.js'; +import { globSync, writeFile } from '../shared/fileHelpers.js'; +import { sanitizePath } from '../shared/path.js'; function getWebviewFiles(pluginName) { const pluginFolder = sanitizePath(path.join(process.cwd(), 'src/core/plugins', pluginName)); @@ -15,7 +16,7 @@ function writeWebViewPlugins(plugins) { for (const pluginName of plugins) { const pluginPath = sanitizePath(path.join(process.cwd(), 'src/core/plugins', pluginName)); - const files = glob.sync(sanitizePath(path.join(pluginPath, 'webview/*.vue'))); + const files = globSync(sanitizePath(path.join(pluginPath, 'webview/*.vue'))); for (const file of files) { const componentName = path.basename(file, '.vue'); @@ -47,7 +48,7 @@ function writeWebViewPlugins(plugins) { '\n};\n'; const importPath = sanitizePath(path.join(process.cwd(), 'src-webviews/src/plugins/imports.ts')); - fs.outputFileSync(importPath, content); + writeFile(importPath, content); return Object.keys(vueFiles).length; } @@ -58,7 +59,7 @@ function writeVuePlugins(plugins) { for (const pluginName of plugins) { const pluginPath = sanitizePath(path.join(process.cwd(), 'src/core/plugins', pluginName)); - const files = glob.sync(sanitizePath(path.join(pluginPath, 'webview/plugins/*.ts'))); + const files = globSync(sanitizePath(path.join(pluginPath, 'webview/plugins/*.ts'))); for (const file of files) { const componentName = path.basename(file, '.ts'); @@ -90,14 +91,13 @@ function writeVuePlugins(plugins) { '\n];\n'; const importPath = sanitizePath(path.join(process.cwd(), 'src-webviews/src/plugins/vue-plugin-imports.ts')); - fs.outputFileSync(importPath, content); + writeFile(importPath, content); return Object.keys(vueFiles).length; } function run() { const enabledPlugins = getEnabledPlugins(); - const webviewImports = []; for (const pluginName of enabledPlugins) { diff --git a/scripts/runtime/index.js b/scripts/runtime/index.js index 4e48e889b2..81c2401196 100644 --- a/scripts/runtime/index.js +++ b/scripts/runtime/index.js @@ -1,8 +1,10 @@ import { ChildProcess, spawn } from 'child_process'; import fkill from 'fkill'; -import glob from 'glob'; import fs from 'fs'; import crypto from 'crypto'; +import { globSync } from '../shared/fileHelpers.js'; + +const DEBUG = true; const NO_SPECIAL_CHARACTERS = new RegExp(/^[ A-Za-z0-9_-]*$/gm); @@ -46,6 +48,15 @@ let previousGlobFiles = []; let fileWatchTimeout = Date.now() + 1000; +function createExecTime(name) { + const startTime = Date.now(); + return { + stop: () => { + console.log(`${name} - ${Date.now() - startTime}ms`); + }, + }; +} + async function sleep(ms) { return new Promise((resolve) => { setTimeout(resolve, ms); @@ -89,7 +100,6 @@ async function handleConfiguration() { configName = 'devtest'; } - const start = Date.now(); let promises = []; if (!passedArguments.includes('dev')) { @@ -112,7 +122,15 @@ async function handleViteDevServer() { await runFile(node, './scripts/plugins/webview.js'); lastViteServer = spawn( npx, - ['vite', './src-webviews', '--clearScreen=false', '--debug=true', '--host=localhost', '--port=3000'], + [ + 'vite', + './src-webviews', + '--clearScreen=false', + '--debug=true', + '--host=localhost', + '--port=3000', + '--logLevel=silent', + ], { stdio: 'inherit', }, @@ -122,6 +140,10 @@ async function handleViteDevServer() { console.log(`Vite process exited with code ${code}`); }); + lastViteServer.on('spawn', () => { + console.log(`>>> Vue Pages Server: https://localhost:3000`); + }); + return await new Promise((resolve) => { setTimeout(resolve, 2000); }); @@ -176,7 +198,7 @@ async function refreshFileWatching() { } // grab all new files - const files = glob.sync('./src/**/*.ts'); + const files = globSync('./src/**/*.ts'); // ignore `/athena/server` && `/athena/client` directories previousGlobFiles = files.filter((fileName) => { @@ -215,12 +237,28 @@ async function refreshFileWatching() { async function coreBuildProcess() { const start = Date.now(); + + const coreCompilerTime = createExecTime('>>> core-compiler'); await runFile(node, './scripts/compiler/core'); + coreCompilerTime.stop(); + + const pluginBuildTime = createExecTime('>>> core-plugins'); await runFile(node, './scripts/plugins/core'); - await runFile(node, './scripts/plugins/webview'); - await runFile(node, './scripts/plugins/files'); + pluginBuildTime.stop(); + + const mixedTime = createExecTime('>>> plugin webview, tranform, files'); + const promises = [ + runFile(node, './scripts/plugins/webview'), + runFile(node, './scripts/transform/index'), + runFile(node, './scripts/plugins/files'), + ]; + + await Promise.all(promises); + mixedTime.stop(); + + const transformTime = createExecTime('>>> transform-time'); await runFile(node, './scripts/transform/index'); - console.log(`Build Time - ${Date.now() - start}ms`); + transformTime.stop(); } async function devMode(firstRun = false) { @@ -249,15 +287,22 @@ async function runServer() { const isDev = passedArguments.includes('dev'); //Update dependencies for all the things + const updateTime = createExecTime('>>> update-dependencies'); await runFile(node, './scripts/plugins/update-dependencies'); + updateTime.stop(); if (isDev) { - await handleViteDevServer(); + handleViteDevServer(); } // Has to build first before building the rest. + const coreBuildTime = createExecTime('>>> core-build-time'); await coreBuildProcess(); + coreBuildTime.stop(); + + const configurationTime = createExecTime('>>> handle-configuration-time'); await handleConfiguration(); + configurationTime.stop(); if (passedArguments.includes('dev')) { await sleep(50); @@ -282,22 +327,4 @@ if (passedArguments.includes('start')) { } runServer(); - - // process.stdin.on('data', (data) => { - // const result = data.toString().trim(); - // if (result.charAt(0) !== '+' && result.charAt(0) !== '/') { - // console.log(`Use +help to see server maintenance commands. (This Console)`); - // console.log(`Use /commands to see server magagement commands. (The Game Console)`); - // if (!lastServerProcess.killed) { - // return; - // } - - // lastServerProcess.send(data); - // return; - // } - - // const inputs = result.split(' '); - // const cmdName = inputs.shift(); - // console.log(cmdName, ...inputs); - // }); } diff --git a/scripts/shared/fileHelpers.js b/scripts/shared/fileHelpers.js new file mode 100644 index 0000000000..0bbabe07d9 --- /dev/null +++ b/scripts/shared/fileHelpers.js @@ -0,0 +1,101 @@ +import fs from 'node:fs'; +import { glob } from 'glob'; +import { sanitizePath } from './path.js'; + +const PLUGIN_FOLDER = 'src/core/plugins'; + +/** + * Read all files in a given directory + * + * @export + * @param {string} filePath + * @return {string[]} + */ +export function getFiles(filePath) { + if (!filePath) { + throw new Error(`File path does not exist: ${filePath}`); + } + + filePath = sanitizePath(filePath); + return fs.readdirSync(filePath); +} + +/** + * Read all files / folders based on a path and return paths. + * + * @export + * @param {string} path + * @param {GlobOptionsWithFileTypesFalse} options + * @return {string[]} + */ +export function globSync(path, options = {}) { + path = sanitizePath(path); + + return glob.sync(path, { ...options }).map((filePath) => { + return sanitizePath(filePath); + }); +} + +/** + * Returns all plugin folders + * + * @export + * @return {string[]} + */ +export function getAllPluginFolders() { + return fs.readdirSync(PLUGIN_FOLDER); +} + +/** + * Return the plugin folder + * + * @export + * @return {string} + */ +export function getPluginFolder() { + return PLUGIN_FOLDER; +} + +/** + * Safely write a file even if the directory does not exist + * + * @export + * @param {string} filePath + * @param {string} data + */ +export function writeFile(filePath, data) { + filePath = sanitizePath(filePath); + const splitPath = filePath.split('/'); + splitPath.pop(); + + const directory = splitPath.join('/'); + if (!fs.existsSync(directory)) { + fs.mkdirSync(directory, { recursive: true }); + } + + fs.writeFileSync(filePath, data); +} + +/** + * Copy a file or directory recursively + * + * @export + * @param {string} path + * @param {string} destination + */ +export function copySync(path, destination) { + path = sanitizePath(path); + destination = sanitizePath(destination); + + if (path.includes('.')) { + const splitPath = path.split('/'); + splitPath.pop(); + + const directory = splitPath.join('/'); + if (!fs.existsSync(directory)) { + fs.mkdirSync(directory, { recursive: true }); + } + } + + fs.cpSync(path, destination, { force: true, recursive: true }); +} diff --git a/scripts/shared/path.js b/scripts/shared/path.js new file mode 100644 index 0000000000..73ee43fbb7 --- /dev/null +++ b/scripts/shared/path.js @@ -0,0 +1,10 @@ +/** + * Replace windows based pathing with linux based pathing + * + * @export + * @param {string} path + * @return {string} + */ +export function sanitizePath(path) { + return path.replace(/\\/g, '/'); +} diff --git a/scripts/transform/index.js b/scripts/transform/index.js index a12455e5d4..5e10904135 100644 --- a/scripts/transform/index.js +++ b/scripts/transform/index.js @@ -1,10 +1,11 @@ import path from 'path'; -import glob from 'glob'; import fs from 'fs'; +import { globSync, writeFile } from '../shared/fileHelpers.js'; +import { sanitizePath } from '../shared/path.js'; const startTime = Date.now(); -const resourcePath = path.join(process.cwd(), 'resources/core/**/*.js').replace(/\\/gm, '/'); -const filePaths = glob.sync(resourcePath); +const resourcePath = sanitizePath(path.join(process.cwd(), 'resources/core/**/*.js')); +const filePaths = globSync(resourcePath); const funcsToIgnore = [ // @@ -74,6 +75,6 @@ for (let filePath of filePaths) { } const finalFile = splitContents.join('\r\n'); - fs.writeFileSync(filePath, finalFile, { encoding: 'utf-8' }); + writeFile(filePath, finalFile); count += 1; } diff --git a/src-webviews/vite.config.ts b/src-webviews/vite.config.ts index 66d394d359..60cfa6d0b4 100644 --- a/src-webviews/vite.config.ts +++ b/src-webviews/vite.config.ts @@ -1,11 +1,10 @@ import { defineConfig } from 'vite'; import * as path from 'path'; import vue from '@vitejs/plugin-vue'; -import monacoEditorPlugin from 'vite-plugin-monaco-editor'; // https://vitejs.dev/config/ export default defineConfig({ - plugins: [vue(), monacoEditorPlugin['default']({ languageWorkers: ['typescript'] })], + plugins: [vue()], base: './', build: { outDir: '../resources/webviews', diff --git a/src/core/plugins/athena-debug/client/index.ts b/src/core/plugins/athena-debug/client/index.ts index 2cb8985102..1b156f8cc4 100644 --- a/src/core/plugins/athena-debug/client/index.ts +++ b/src/core/plugins/athena-debug/client/index.ts @@ -1,46 +1,15 @@ import * as alt from 'alt-client'; -import * as native from 'natives'; -import * as AthenaClient from '@AthenaClient/api'; import { ATHENA_DEBUG_EVENTS } from '../shared/events'; import { onTicksStart } from '@AthenaClient/events/onTicksStart'; const F1_KEY = 112; -let page: AthenaClient.webview.Page; function init() { if (!alt.debug) { return; } - page = new AthenaClient.webview.Page({ - name: 'Editor', - callbacks: { onReady() {}, onClose() {} }, - options: { - disableEscapeKey: true, - onOpen: { - blurBackground: true, - disableControls: 'all', - disablePauseMenu: true, - focus: true, - hideHud: true, - hideOverlays: true, - setIsMenuOpenToTrue: true, - showCursor: true, - }, - onClose: { - enableControls: true, - enablePauseMenu: true, - hideCursor: true, - setIsMenuOpenToFalse: true, - showHud: true, - showOverlays: true, - unblurBackground: true, - unfocus: true, - }, - }, - }); - alt.on('keyup', (key: number) => { if (key !== F1_KEY) { return; @@ -48,18 +17,6 @@ function init() { alt.emitServer(ATHENA_DEBUG_EVENTS.ClientToServer.FORWARD); }); - - alt.onServer(ATHENA_DEBUG_EVENTS.toClient.exec, (code: string) => { - eval(code); - }); - - AthenaClient.webview.on(ATHENA_DEBUG_EVENTS.toClient.closePage, () => { - page.close(true); - }); - - alt.onServer(ATHENA_DEBUG_EVENTS.toClient.openExec, () => { - page.open(); - }); } onTicksStart.add(init); diff --git a/src/core/plugins/athena-debug/server/index.ts b/src/core/plugins/athena-debug/server/index.ts index 6f5a6c79b0..6afed00091 100644 --- a/src/core/plugins/athena-debug/server/index.ts +++ b/src/core/plugins/athena-debug/server/index.ts @@ -6,15 +6,6 @@ import { ATHENA_DEBUG_EVENTS } from '../shared/events'; const PLUGIN_NAME = 'athena-debug'; -function handleExec(player: alt.Player, type: string, code: string) { - if (type === 'server') { - eval(code); - return; - } - - player.emit(ATHENA_DEBUG_EVENTS.toClient.exec, code); -} - Athena.systems.plugins.registerPlugin(PLUGIN_NAME, () => { if (!alt.debug) { return; @@ -22,16 +13,4 @@ Athena.systems.plugins.registerPlugin(PLUGIN_NAME, () => { RestService.init(); DebugKeys.init(); - - const restrictedFunction = Athena.utility.restrict.create(handleExec, { - permissions: { account: ['admin'], character: [] }, - strategy: 'hasOne', - notify: 'No permission to perform code execution.', - }); - - alt.onClient(ATHENA_DEBUG_EVENTS.toServer.exec, restrictedFunction); - - Athena.commands.register('editor', '/editor', ['admin'], (player: alt.Player) => { - player.emit(ATHENA_DEBUG_EVENTS.toClient.openExec); - }); }); diff --git a/src/core/plugins/athena-debug/shared/events.ts b/src/core/plugins/athena-debug/shared/events.ts index 3075546860..47acbae7fb 100644 --- a/src/core/plugins/athena-debug/shared/events.ts +++ b/src/core/plugins/athena-debug/shared/events.ts @@ -2,12 +2,4 @@ export const ATHENA_DEBUG_EVENTS = { ClientToServer: { FORWARD: 'athena-debug-event-send-data', }, - toClient: { - closePage: 'athena-debug-close-page', - exec: 'athena-debug-exec-code', - openExec: 'athena-debug-exec-page', - }, - toServer: { - exec: 'athena-debug-exec-code-server', - }, }; diff --git a/src/core/plugins/athena-debug/webview/Editor.vue b/src/core/plugins/athena-debug/webview/Editor.vue deleted file mode 100644 index 7f58bc47ce..0000000000 --- a/src/core/plugins/athena-debug/webview/Editor.vue +++ /dev/null @@ -1,233 +0,0 @@ - - - - - diff --git a/src/core/plugins/athena-debug/webview/typedefs.ts b/src/core/plugins/athena-debug/webview/typedefs.ts deleted file mode 100644 index 2bad562e69..0000000000 --- a/src/core/plugins/athena-debug/webview/typedefs.ts +++ /dev/null @@ -1,7882 +0,0 @@ -export const AthenaTypeDef = ` -/// -/// -/// -declare module "src/core/client/camera/gameplay" { - export function disable(): void; - export function enable(): void; -} -declare module "src/core/client/camera/pedEdit" { - import * as alt from 'alt-client'; - export function create(_scriptID: number, offset?: alt.IVector3, _isLocalPlayer?: boolean): Promise; - export function calculateCamOffset(offset: alt.IVector3): alt.IVector3; - export function setCameraOffset(offset: alt.IVector3): void; - export function exists(): boolean; - export function destroy(): Promise; - export function disableControls(status: boolean): void; - export function setCamParams(_zpos?: number, _fov?: number, _easeTime?: number): void; - export function runQueue(): Promise; - export function update(id: number): void; - export function handleControls(): void; -} -declare module "src/core/shared/enums/switchOutTypes" { - export enum SWITCHOUT_TYPES { - THREE_STEPS = 1, - ONE_STEP = 2 - } -} -declare module "src/core/client/camera/switch" { - import { SWITCHOUT_TYPES } from "src/core/shared/enums/switchOutTypes"; - export function switchToMultiSecondpart(timeInMs: number, switchType?: SWITCHOUT_TYPES): Promise; -} -declare module "src/core/client/camera/index" { - export * as cinematic from "src/core/client/camera/cinematic"; - export * as gameplay from "src/core/client/camera/gameplay"; - export * as pedEdit from "src/core/client/camera/pedEdit"; - export * as switch from "src/core/client/camera/switch"; -} -declare module "src/core/shared/interfaces/wheelMenu" { - export interface IWheelOption { - name: string; - uid?: string; - color?: string; - icon?: string; - doNotClose?: boolean; - emitServer?: string; - emitClient?: string; - data?: Array; - image?: string; - bgImage?: string; - } - export interface IWheelOptionExt extends IWheelOption { - callback?: (...args: any[]) => void; - } -} -declare module "src/core/shared/flags/animationFlags" { - export enum ANIMATION_FLAGS { - NORMAL = 0, - REPEAT = 1, - STOP_LAST_FRAME = 2, - UPPERBODY_ONLY = 16, - ENABLE_PLAYER_CONTROL = 32, - CANCELABLE = 120 - } -} -declare module "src/core/shared/interfaces/animation" { - import * as alt from 'alt-shared'; - import { ANIMATION_FLAGS } from "src/core/shared/flags/animationFlags"; - export interface Animation { - dict: string; - name: string; - flags: ANIMATION_FLAGS; - duration: number; - } - export interface JobAnimation extends Animation { - delay?: number; - atObjectiveStart?: boolean; - rotation?: alt.IVector3; - } -} -declare module "src/core/shared/interfaces/iPed" { - import * as alt from 'alt-shared'; - import { Animation } from "src/core/shared/interfaces/animation"; - export interface IPed { - pos: alt.IVector3; - model: string; - heading?: number; - maxDistance?: number; - uid?: string; - animations?: Animation[]; - randomizeAppearance?: boolean; - local?: number; - isBeingCreated?: boolean; - dimension?: number; - } -} -declare module "src/core/client/menus/npc" { - import { IWheelOptionExt } from "src/core/shared/interfaces/wheelMenu"; - import { IPed } from "src/core/shared/interfaces/iPed"; - export type NpcMenuInjection = (scriptID: number, ped: IPed, options: Array) => Array; - export function addInjection(callback: NpcMenuInjection): void; - export function open(scriptID: number): void; -} -declare module "src/core/shared/enums/system" { - export enum SYSTEM_EVENTS { - APPEND_BLIP = "append:Blip", - APPEND_MARKER = "append:Marker", - APPEND_TEXTLABELS = "append:TextLabel", - APPEND_OBJECT = "append:Object", - APPEND_PED = "append:Ped", - APPEND_WORLD_NOTIFICATION = "append:WorldNotification", - APPEND_POLYGON = "append:Polygon", - ACCEPT_DECLINE_EVENT_SET = "accept:Decline:Event:Set", - BOOTUP_ENABLE_ENTRY = "enable:Entry", - BEGIN_CONNECTION = "connection:Begin", - COMMANDS_LOADED = "commands:Loaded", - DEBUG_COLSHAPE_VERTICES = "debug:Colshape:Vertices", - DISCORD_OPEN = "discord:Open", - DISCORD_CLOSE = "discord:Close", - DISCORD_FAIL = "discord:Fail", - DISCORD_LOGIN = "discord:Login", - DISCORD_FINISH_AUTH = "discord:FinishAuth", - ENTITYSET_ACTIVATE = "entityset:Activate", - ENTITYSET_DEACTIVATE = "entityset:Deactivate", - ENTITYSET_IS_ACTIVE = "entityset:IsActive", - SET_GAME_TIME = "player:freeze:time", - HOLOGRAM_APPEND = "hologram:Append", - INTERACTION = "player:Interact", - INTERACTION_FUEL = "fuel:Action", - INTERACTION_JOB_ACTION = "job:Action", - INTERACTION_TEXT_CREATE = "interaction:Text:Create", - INTERACTION_TEXT_REMOVE = "interaction:Text:Remove", - INTERACTION_TEMPORARY = "interaction:Temporary", - INTERACTION_PICKUP_ITEM = "interaction:Pickup:Item", - ITEM_CONSUME = "item:Consume", - IPL_LOAD = "ipl:Load", - IPL_UNLOAD = "ipl:Unload", - MOVE_OBJECT = "object:move:around", - NOCLIP_UPDATE = "noclip:Update", - NOCLIP_RESET = "noclip:Reset", - PLAYER_CUFF = "player:Cuff", - PLAYER_UNCUFF = "player:Uncuff", - PLAYER_EMIT_ALARM_START = "alarm:Start", - PLAYER_EMIT_ALARM_STOP = "alarm:Stop", - PLAYER_EMIT_ALARM_STOP_ALL = "alarm:StopAll", - PLAYER_EMIT_ANIMATION = "animation:Play", - PLAYER_EMIT_AMMUNITION_UPDATE = "player:emit:ammunition:update", - PLAYER_EMIT_SCENARIO = "scenario:Play", - PLAYER_EMIT_AUDIO_STREAM = "audio:Stream", - PLAYER_EMIT_CREDITS = "credits:Create", - PLAYER_EMIT_CREDITS_CLEAR = "credits:Clear", - PLAYER_EMIT_ERROR_SCREEN = "errorScreen:Create", - PLAYER_EMIT_ERROR_SCREEN_CLEAR = "errorScreen:Clear", - PLAYER_EMIT_SOUND_2D = "sound:2D", - PLAYER_EMIT_SOUND_3D = "sound:3D", - PLAYER_EMIT_SOUND_STOP = "sound:Stop", - PLAYER_EMIT_SOUND_3D_POSITIONAL = "sound:3D:positional", - PLAYER_EMIT_FRONTEND_SOUND = "sound:Frontend", - PLAYER_EMIT_NOTIFICATION = "notification:Show", - PLAYER_EMIT_SPINNER = "spinner:Show", - PLAYER_EMIT_SPINNER_CLEAR = "spinner:Clear", - PLAYER_EMIT_SHARD = "shard:Create", - PLAYER_EMIT_SHARD_CLEAR = "shard:Clear", - PLAYER_EMIT_TASK_MOVE = "task:Move", - PLAYER_EMIT_TASK_TIMELINE = "task:Timeline", - PLAYER_EMIT_INVENTORY_NOTIFICATION = "inventory:Notification", - PLAYER_EMIT_INVENTORY_SYNC = "inventory:Sync", - PLAYER_EMIT_TEMP_OBJECT_LERP = "temp:Object:Lerp", - PLAYER_EMIT_WHEEL_MENU = "wheelMenu:Dynamic", - PLAYER_EMIT_MISSION_TEXT = "missionText:Create", - PLAYER_SET_FREEZE = "freeze:Set", - PLAYER_SET_DEATH = "death:Toggle", - PLAYER_SET_INTERACTION = "interaction:Set", - PLAYER_TICK = "player:Tick", - PLAYER_TOOLBAR_INVOKE = "player:Toolbar:Invoke", - PLAYER_TOOLBAR_ENABLE = "player:Toolbar:Enable", - PLAYER_TOOLBAR_SET = "player:Toolbar", - PLAYER_ITEM_CHANGE = "player:ItemChange", - PLAY_PARTICLE_EFFECT = "ptfx:Play", - PLAY_ANIMATION_FOR_PED = "animation:PlayForPed", - PROGRESSBAR_CREATE = "progressbar:Create", - PROGRESSBAR_REMOVE = "progressbar:Remove", - POLYGON_ENTER = "polygon:Enter", - POLYGON_LEAVE = "polygon:Leave", - POPULATE_BLIPS = "blips:Populate", - POPULATE_DOORS = "doors:Populate", - POPULATE_MARKERS = "markers:Populate", - POPULATE_COMMANDS = "commands:Populate", - POPULATE_ITEMS = "items:Populate", - POPULATE_INTERACTIONS = "interactions:Populate", - POPULATE_TEXTLABELS = "labels:Populate", - POPULATE_OBJECTS = "objects:Populate", - POPULATE_PEDS = "peds:Populate", - POPULATE_WORLD_NOTIFICATIONS = "worldNotifications:Populate", - POPULATE_ITEM_DROPS = "item:drops:Populate", - POPULATE_POLYGONS = "polygons:Populate", - QUICK_TOKEN_UPDATE = "quicktoken:update", - QUICK_TOKEN_FETCH = "quicktoken:fetch", - REMOVE_GLOBAL_OBJECT = "remove:Global:Object", - REMOVE_OBJECT = "remove:Object", - REMOVE_GLOBAL_PED = "remove:Global:Object", - REMOVE_PED = "remove:Object", - REMOVE_MARKER = "remove:Marker", - REMOVE_BLIP = "remove:Blip", - REMOVE_TEXTLABEL = "remove:Textlabel", - REMOVE_WORLD_NOTIFICATION = "remove:WorldNotification", - REMOVE_POLYGON = "remove:Polygon", - SET_ACTION_MENU = "actions:Set", - SET_VIEW_URL = "actions:SetViewURL", - SCREEN_TIMECYCLE_EFFECT_CLEAR = "screen:timecycle:effect:clear", - SCREEN_TIMECYCLE_EFFECT = "screen:timecycle:effect", - SCREEN_FADE_TO_BLACK = "screen:fade:to:black", - SCREEN_FADE_FROM_BLACK = "screen:fade:from:black", - SHOW_SCREEN_PLAYER_ID = "screen:player:id", - SCREENSHOT_POPULATE_DATA = "screenshot:Populate:Data", - SCREENSHOT_CREATE = "screenshot:Create", - SET_PLAYER_DECORATIONS = "character:Ped:Decoration", - SYNC_APPEARANCE = "character:Appearance", - SYNC_EQUIPMENT = "character:Equipment", - TICKS_START = "ticks:Start", - UPDATE_DOORS = "update:Doors", - UPDATE_TEXT_LABEL = "update:TextLabel", - UPDATE_OBJECT = "update:Object", - UPDATE_OBJECT_MODEL = "update:Object:Model", - VEHICLE_ENGINE = "vehicle:Engine", - VEHICLES_VIEW_SPAWN = "vehicles:Spawn", - VEHICLES_VIEW_DESPAWN = "vehicles:Despawn", - WORLD_UPDATE_TIME = "time:Update", - WORLD_UPDATE_WEATHER = "weather:Update", - VOICE_ADD = "voice:Add", - VOICE_JOINED = "voice:Joined", - WEBVIEW_INFO = "webview:Info", - WEATHER_CHANGE_TO = "weather:change:to" - } -} -declare module "src/core/shared/interfaces/iObject" { - import * as alt from 'alt-shared'; - export interface IObject { - uid?: string; - subType?: string; - pos: alt.IVector3; - model: string; - rot?: alt.IVector3; - maxDistance?: number; - dimension?: number; - noCollision?: boolean; - } -} -declare module "src/core/client/streamers/object" { - import * as alt from 'alt-client'; - import { IObject } from "src/core/shared/interfaces/iObject"; - export type CreatedObject = IObject & { - createdObject?: alt.Object; - }; - export function addObject(newObject: IObject): void; - export function removeObject(uid: string): void; - export function getFromScriptId(scriptId: number): CreatedObject | undefined; -} -declare module "src/core/client/menus/object" { - import { IWheelOptionExt } from "src/core/shared/interfaces/wheelMenu"; - import { CreatedObject } from "src/core/client/streamers/object"; - export type ObjectMenuInjection = (existingObject: CreatedObject, options: Array) => Array; - export function addInjection(callback: ObjectMenuInjection): void; - export function open(object: CreatedObject): void; -} -declare module "src/core/client/menus/player" { - import * as alt from 'alt-client'; - import { IWheelOptionExt } from "src/core/shared/interfaces/wheelMenu"; - export type PlayerMenuInjection = (target: alt.Player, options: Array) => Array; - export function addInjection(callback: PlayerMenuInjection): void; - export function open(target: alt.Player): void; -} -declare module "src/core/shared/enums/vehicle" { - export const VEHICLE_LOCK_STATE: { - NO_LOCK: number; - UNLOCKED: number; - LOCKED: number; - LOCKOUT_PLAYER: number; - KIDNAP_MODE: number; - }; - export const VEHICLE_EVENTS: { - ACTION: string; - INVOKE: string; - SET_INTO: string; - SET_LOCK: string; - SET_DOOR: string; - SET_ENGINE: string; - SET_SEATBELT: string; - PUSH: string; - STOP_PUSH: string; - }; -} -declare module "src/core/client/menus/vehicle" { - import * as alt from 'alt-client'; - import { IWheelOptionExt } from "src/core/shared/interfaces/wheelMenu"; - export type VehicleMenuInjection = (target: alt.Vehicle, options: Array) => Array; - export function addInjection(callback: VehicleMenuInjection): void; - export function openInVehicleMenu(vehicle: alt.Vehicle): void; - export function open(vehicle: alt.Vehicle): void; -} -declare module "src/core/client/menus/index" { - export * as npc from "src/core/client/menus/npc"; - export * as object from "src/core/client/menus/object"; - export * as player from "src/core/client/menus/player"; - export * as vehicle from "src/core/client/menus/vehicle"; -} -declare module "src/core/shared/interfaces/messageCommand" { - export type CommandCallback = (player: T, ...args: any[]) => void; - export interface MessageCommand { - name: string; - description: string; - permissions: Array; - isCharacterPermission?: boolean; - callback: CommandCallback; - } - export interface DetailedCommand extends Omit, 'callback'> { - params: Array; - } -} -declare module "src/core/client/rmlui/commands/index" { - import { MessageCommand } from "src/core/shared/interfaces/messageCommand"; - interface CommandInput { - placeholder: string; - commands: Array, 'callback'>>; - } - export function create(inputInfo: CommandInput, skipMenuCheck?: boolean): Promise; - export function cancel(): Promise; - export function isOpen(): boolean; -} -declare module "src/core/client/rmlui/input/index" { - export interface InputBoxInfo { - placeholder: string; - blur?: boolean; - darken?: boolean; - hideHud?: boolean; - } - export function create(inputInfo: InputBoxInfo, skipMenuCheck?: boolean): Promise; - export function cancel(): Promise; -} -declare module "src/core/shared/utility/color" { - import * as alt from 'alt-shared'; - export function rgbaToHexAlpha(color: alt.RGBA): string; -} -declare module "src/core/client/rmlui/menu/menuInterfaces" { - import * as alt from 'alt-client'; - interface MenuOptionBase { - title: string; - description: string; - callback: T | Function; - onlyUpdateOnEnter?: boolean; - } - export interface Selection extends MenuOptionBase<(value: string) => void> { - type: 'Selection'; - options: Array; - value: number; - onlyUpdateOnEnter?: boolean; - } - export interface Toggle extends MenuOptionBase<(value: boolean) => void> { - type: 'Toggle'; - value: boolean; - } - export interface Range extends MenuOptionBase<(value: number) => void> { - type: 'Range'; - value: number; - min: number; - max: number; - increment: number; - onlyUpdateOnEnter?: boolean; - } - export interface Invoke extends MenuOptionBase<() => void> { - type: 'Invoke'; - } - export interface MenuInfo { - header: { - title: string; - color: alt.RGBA | string; - }; - options: Array; - } -} -declare module "src/core/client/rmlui/menu/index" { - import { Invoke, Toggle, Selection, Range, MenuInfo } from "src/core/client/rmlui/menu/menuInterfaces"; - export function create(info: MenuInfo): void; - export function close(): Promise; - export function createOption(menuTemplate: T): T; -} -declare module "src/core/client/rmlui/menu3d/menu3DInterfaces" { - export interface OptionFor3DMenu { - name: string; - callback: () => void; - } -} -declare module "src/core/client/rmlui/menu3d/index" { - import * as alt from 'alt-client'; - import { OptionFor3DMenu } from "src/core/client/rmlui/menu3d/menu3DInterfaces"; - export function create(pos: alt.IVector3, options: Array, maxDistance?: number): void; - export function close(): Promise; -} -declare module "src/core/shared/interfaces/progressBar" { - import * as alt from 'alt-shared'; - export interface ProgressBar { - uid?: string; - position: { - x: number; - y: number; - z: number; - }; - color: alt.RGBA; - milliseconds: number; - distance: number; - text?: string; - percentageEnabled?: boolean; - startTime?: number; - finalTime?: number; - } -} -declare module "src/core/client/rmlui/progressbar/index" { } -declare module "src/core/client/rmlui/question/index" { - export interface QuestionInfo { - buttons?: { - accept: string; - decline: string; - }; - placeholder: string; - blur?: boolean; - darken?: boolean; - hideHud?: boolean; - } - export function create(info: QuestionInfo): Promise; - export function cancel(): Promise; -} -declare module "src/core/client/rmlui/sprites/index" { - import * as alt from 'alt-client'; - export interface SpriteInfo { - uid: string; - path: string; - width: number; - height: number; - position: alt.IVector3; - callOnceOnTouch?: (uid: string) => void; - } - export function create(sprite: SpriteInfo): void; - export function remove(uid: string): void; - export function update(uid: string, sprite: Partial): void; -} -declare module "src/core/client/rmlui/staticText/staticTextInterfaces" { - import * as alt from 'alt-client'; - export interface StaticTextInfo { - uid: string; - text: string; - position: alt.IVector3; - distance: number; - } -} -declare module "src/core/client/rmlui/staticText/index" { - import { StaticTextInfo } from "src/core/client/rmlui/staticText/staticTextInterfaces"; - export function upsert(drawable: StaticTextInfo): void; - export function remove(uid: string): void; -} -declare module "src/core/client/rmlui/index" { - export * as commands from "src/core/client/rmlui/commands/index"; - export * as input from "src/core/client/rmlui/input/index"; - export * as menu from "src/core/client/rmlui/menu/index"; - export * as menu3d from "src/core/client/rmlui/menu3d/index"; - export * as progressbar from "src/core/client/rmlui/progressbar/index"; - export * as question from "src/core/client/rmlui/question/index"; - export * as sprites from "src/core/client/rmlui/sprites/index"; - export * as staticText from "src/core/client/rmlui/staticText/index"; -} -declare module "src/core/shared/enums/creditAlign" { - export enum CREDIT_ALIGN { - LEFT = "left", - RIGHT = "right", - CENTER = "center" - } -} -declare module "src/core/shared/interfaces/iCredit" { - import { CREDIT_ALIGN } from "src/core/shared/enums/creditAlign"; - export default interface ICredit { - role: string; - name: string; - duration: number; - align?: string | CREDIT_ALIGN; - } -} -declare module "src/core/client/screen/scaleform" { - export class Scaleform { - private id; - constructor(hash: number); - hasLoaded(): boolean; - passFunction(functionName: string, ...args: Array): number; - destroy(): void; - render(x: number, y: number, width: number, height: number): void; - } - export function requestScaleForm(scaleformName: string): Promise; -} -declare module "src/core/client/screen/credits" { - import ICredit from "src/core/shared/interfaces/iCredit"; - export function clear(): void; - export function create(credit: ICredit): Promise; -} -declare module "src/core/shared/interfaces/iErrorScreen" { - export default interface IErrorScreen { - title: string; - text: string; - text2?: string; - duration: number; - } -} -declare module "src/core/client/screen/errorScreen" { - import IErrorScreen from "src/core/shared/interfaces/iErrorScreen"; - export function clear(): void; - export function create(screen: IErrorScreen): void; -} -declare module "src/core/client/screen/marker" { - import * as alt from 'alt-client'; - export function draw(type: number, pos: alt.IVector3, scale: alt.IVector3, color: alt.RGBA, bobUpAndDown?: boolean, faceCamera?: boolean, rotate?: boolean): void; - export function drawSimple(type: number, pos: alt.IVector3, rot: alt.IVector3, scale: alt.IVector3, color: alt.RGBA, faceCam: boolean): void; -} -declare module "src/core/client/screen/minimap" { - import * as alt from 'alt-client'; - export function getWidth(asPercent?: boolean): number; - export function getHeight(asPercent?: boolean): number; - export function getTopLeft(asPercent?: boolean): alt.IVector2; - export function getTopRight(asPercent?: boolean): alt.IVector2; - export function getBottomLeft(asPercent?: boolean): alt.IVector2; - export function getBottomRight(asPercent?: boolean): alt.IVector2; - export function getSafeZoneSize(): number; - export function getScreenAspectRatio(): number; - export function getScreenResolution(): alt.IVector2; - export function convertToPercentage(value: number, isXAxis?: boolean): number; -} -declare module "src/core/client/screen/missionText" { - export function drawMissionText(text: string, duration?: number | undefined): void; -} -declare module "src/core/client/screen/notification" { - export function create(text: string): void; -} -declare module "src/core/shared/interfaces/particle" { - import * as alt from 'alt-shared'; - export interface Particle { - pos: alt.IVector3; - dict: string; - name: string; - duration: number; - scale: number; - delay?: number; - } -} -declare module "src/core/client/screen/particle" { - import { Particle } from "src/core/shared/interfaces/particle"; - export function handlePlayParticle(data: Particle): Promise; -} -declare module "src/core/client/screen/progressBar" { - import { ProgressBar } from "src/core/shared/interfaces/progressBar"; - export function create(progressBar: ProgressBar): void; - export function remove(uid: string): void; - export function clear(): void; -} -declare module "src/core/shared/enums/screenEffects" { - export enum SCREEN_EFFECTS { - SWITCH_HUD_IN = "SwitchHudIn", - SWITCH_HUD_OUT = "SwitchHudOut", - FOCUS_IN = "FocusIn", - FOCUS_OUT = "FocusOut", - MINIGAME_END_NEUTRAL = "MinigameEndNeutral", - MINIGAME_END_TREVOR = "MinigameEndTrevor", - MINIGAME_END_FRANKLIN = "MinigameEndFranklin", - MINIGAME_END_MICHAEL = "MinigameEndMichael", - MINIGAME_TRANSITION_OUT = "MinigameTransitionOut", - MINIGAME_TRANSITION_IN = "MinigameTransitionIn", - SWITCH_SHORT_NEUTRAL_IN = "SwitchShortNeutralIn", - SWITCH_SHORT_FRANKLIN_IN = "SwitchShortFranklinIn", - SWITCH_SHORT_TREVOR_IN = "SwitchShortTrevorIn", - SWITCH_SHORT_MICHAEL_IN = "SwitchShortMichaelIn", - SWITCH_OPEN_MICHAEL_IN = "SwitchOpenMichaelIn", - SWITCH_OPEN_FRANKLIN_IN = "SwitchOpenFranklinIn", - SWITCH_OPEN_TREVOR_IN = "SwitchOpenTrevorIn", - SWITCH_HUD_MICHAEL_OUT = "SwitchHudMichaelOut", - SWITCH_HUD_FRANKLIN_OUT = "SwitchHudFranklinOut", - SWITCH_HUD_TREVOR_OUT = "SwitchHudTrevorOut", - SWITCH_SHORT_FRANKLIN_MID = "SwitchShortFranklinMid", - SWITCH_SHORT_MICHAEL_MID = "SwitchShortMichaelMid", - SWITCH_SHORT_TREVOR_MID = "SwitchShortTrevorMid", - CAM_PUSH_IN_NEUTRAL = "CamPushInNeutral", - CAM_PUSH_IN_FRANKLIN = "CamPushInFranklin", - CAM_PUSH_IN_MICHAEL = "CamPushInMichael", - CAM_PUSH_IN_TREVOR = "CamPushInTrevor", - SWITCH_SCENE_FRANKLIN = "SwitchSceneFranklin", - SWITCH_SCENE_TREVOR = "SwitchSceneTrevor", - SWITCH_SCENE_MICHAEL = "SwitchSceneMichael", - SWITCH_SCENE_NEUTRAL = "SwitchSceneNeutral", - MP_CELEB_WIN = "MpCelebWin", - MP_CELEB_WIN_OUT = "MpCelebWinOut", - MP_CELEB_LOSE = "MpCelebLose", - MP_CELEB_LOSE_OUT = "MpCelebLoseOut", - DEATH_FAIL_NEUTRAL_IN = "DeathFailNeutralIn", - DEATH_FAIL_MP_DARK = "DeathFailMpDark", - DEATH_FAIL_MP_IN = "DeathFailMpIn", - DEATH_FAIL_OUT = "DeathFailOut", - MP_CELEB_PRELOAD_FADE = "MpCelebPreloadFade", - PEYOTE_END_OUT = "PeyoteEndOut", - PEYOTE_END_IN = "PeyoteEndIn", - PEYOTE_IN = "PeyoteIn", - PEYOTE_OUT = "PeyoteOut", - MP_RACE_CRASH = "MpRaceCrash", - SUCCESS_FRANKLIN = "SuccessFranklin", - SUCCESS_TREVOR = "SuccessTrevor", - SUCCESS_MICHAEL = "SuccessMichael", - DRUGS_MICHAEL_ALIENS_FIGHT_IN = "DrugsMichaelAliensFightIn", - DRUGS_MICHAEL_ALIENS_FIGHT = "DrugsMichaelAliensFight", - DRUGS_MICHAEL_ALIENS_FIGHT_OUT = "DrugsMichaelAliensFightOut", - DRUGS_TREVOR_CLOWNS_FIGHT_IN = "DrugsTrevorClownsFightIn", - DRUGS_TREVOR_CLOWNS_FIGHT = "DrugsTrevorClownsFight", - DRUGS_TREVOR_CLOWNS_FIGHT_OUT = "DrugsTrevorClownsFightOut", - HEIST_CELEB_PASS = "HeistCelebPass", - HEIST_CELEB_PASS_BW = "HeistCelebPassBw", - HEIST_CELEB_END = "HeistCelebEnd", - HEIST_CELEBTOAST = "HeistCelebToast", - MENU_MG_HEIST_IN = "MenuMgHeistIn", - MENU_MG_TOURNAMENT_IN = "MenuMgTournamentIn", - MENU_MG_SELECTION_IN = "MenuMgSelectionIn", - CHOP_VISION = "ChopVision", - DMT_FLIGHT_INTRO = "DmtFlightIntro", - DMT_FLIGHT = "DmtFlight", - DRUGS_DRIVING_IN = "DrugsDrivingIn", - DRUGS_DRIVING_OUT = "DrugsDrivingOut", - SWITCH_OPEN_NEUTRAL_FIB5 = "SwitchOpenNeutralFib5", - HEIST_LOCATE = "HeistLocate", - MP_JOB_LOAD = "MpJobLoad", - RACE_TURBO = "RaceTurbo", - MP_INTRO_LOGO = "MpIntroLogo", - HEIST_TRIP_SKIP_FADE = "HeistTripSkipFade", - MENU_MG_HEIST_OUT = "MenuMgHeistOut", - MP_CORONA_SWITCH = "MpCoronaSwitch", - MENU_MG_SELECTION_TINT = "MenuMgSelectionTint", - SUCCESS_NEUTRAL = "SuccessNeutral", - EXPLOSION_JOSH3 = "ExplosionJosh3", - SNIPER_OVERLAY = "SniperOverlay", - RAMPAGE_OUT = "RampageOut", - RAMPAGE = "Rampage", - DONT_TAZE_ME_BRO = "DontTazemeBro" - } -} -declare module "src/core/client/screen/screenEffect" { - import { SCREEN_EFFECTS } from "src/core/shared/enums/screenEffects"; - export function isEffectActive(screenEffect: SCREEN_EFFECTS): boolean; - export function startEffect(screenEffect: SCREEN_EFFECTS, duration?: number, looped?: boolean): void; - export function stopEffect(screenEffect: SCREEN_EFFECTS): void; - export function stopAllEffects(): void; -} -declare module "src/core/client/screen/screenFade" { - export function fromBlack(timeInMs: number): Promise; - export function toBlack(timeInMs: number): Promise; -} -declare module "src/core/client/screen/text" { - import * as alt from 'alt-client'; - export function drawText2D(text: string, pos: alt.IVector2, scale: number, color: alt.RGBA, alignment?: number, padding?: number): void; - export function drawRectangle(pos: alt.IVector3, size: alt.IVector2, color: alt.RGBA): void; - export function drawRectangle2D(pos: alt.IVector2, size: alt.IVector2, color: alt.RGBA): void; - export function drawText3D(text: string, pos: alt.IVector3, scale: number, color: alt.RGBA): void; - export function addTemporaryText(identifier: any, msg: any, x: any, y: any, scale: any, r: any, g: any, b: any, a: any, ms: any): void; -} -declare module "src/core/client/screen/screenText" { - import * as alt from 'alt-client'; - export interface TextProperties { - paddingLeft?: number; - paddingRight?: number; - paddingTop?: number; - paddingBottom?: number; - offsetX?: number; - offsetY?: number; - } - export function addLongString(text: string): void; - export function getWidth(text: string, font: number, scale: number): number; - export function getHeight(scale: number, font: number): number; - export function drawTextWithBackground(text: string, x: number, y: number, scale: number, font: number, background: alt.RGBA, foreground: alt.RGBA, props: TextProperties): void; -} -declare module "src/core/shared/interfaces/iShard" { - export default interface IShard { - duration: number; - title: string; - text?: string; - } -} -declare module "src/core/client/screen/shard" { - import IShard from "src/core/shared/interfaces/iShard"; - export function clear(): void; - export function create(shard: IShard): Promise; -} -declare module "src/core/shared/enums/spinnerType" { - export enum SPINNER_TYPE { - CLOCKWISE_WHITE_0 = 0, - CLOCKWISE_WHITE_1 = 1, - CLOCKWISE_WHITE_2 = 2, - CLOCKWISE_WHITE_3 = 3, - CLOCKWISE_YELLOW = 4, - COUNTER_CLOCKWISE_WHITE = 5 - } -} -declare module "src/core/shared/interfaces/iSpinner" { - import { SPINNER_TYPE } from "src/core/shared/enums/spinnerType"; - export default interface ISpinner { - duration: number; - text: string; - type?: number | SPINNER_TYPE; - } -} -declare module "src/core/client/screen/spinner" { - import ISpinner from "src/core/shared/interfaces/iSpinner"; - export function clear(): void; - export function create(data: ISpinner): void; -} -declare module "src/core/client/screen/texture" { - import * as alt from 'alt-client'; - export function drawTexture2D(dictionary: string, name: string, position: alt.IVector2, scale?: number, opacity?: number): void; - export function drawTexture(dictionary: string, name: string, position: alt.Vector3, scale?: number): void; -} -declare module "src/core/shared/enums/timecycleTypes" { - export type RecommendedTimecycleTypes = 'spectator1' | 'spectator2' | 'spectator3' | 'spectator4' | 'spectator5' | 'spectator6' | 'spectator7' | 'spectator8' | 'spectator9' | 'spectator10' | 'drug_flying_base' | 'drug_flying_01' | 'drug_flying_02' | 'drug_flying_03' | 'DRUG_gas_huffin' | 'Drug_deadman' | 'Drug_deadman_blend' | 'Drug_2_drive' | 'drug_drive_blend01' | 'drug_drive_blend02' | 'drug_wobbly' | 'dont_tazeme_bro' | 'dont_tazeme_bro_b' | 'introblue' | 'trevorspliff' | 'trevorspliff_blend' | 'trevorspliff_blend02' | 'michealspliff' | 'michealspliff_blend' | 'michealspliff_blend02' | 'stoned' | 'stoned_monkeys' | 'stoned_aliens' | 'Drunk' | 'glasses_black' | 'glasses_brown' | 'glasses_red' | 'glasses_blue' | 'glasses_green' | 'glasses_yellow' | 'glasses_purple' | 'glasses_orange' | 'glasses_Darkblue' | 'glasses_VISOR' | 'nightvision' | 'CAMERA_secuirity' | 'scanline_cam' | 'scanline_cam_cheap' | 'nervousRON_fog' | 'jewel_gas' | 'underwater_deep_clear' | 'cinema' | 'superDARK' | 'phone_cam1' | 'phone_cam2' | 'phone_cam3' | 'phone_cam4' | 'phone_cam5' | 'phone_cam6' | 'phone_cam7' | 'phone_cam8' | 'phone_cam9' | 'phone_cam10' | 'phone_cam11' | 'phone_cam12' | 'phone_cam13' | 'NG_filmic01' | 'NG_filmic02' | 'NG_filmic03' | 'NG_filmic04' | 'NG_filmic05' | 'NG_filmic06' | 'NG_filmic07' | 'NG_filmic08' | 'NG_filmic09' | 'NG_filmic10' | 'NG_filmic11' | 'NG_filmic12' | 'NG_filmic13' | 'NG_filmic14' | 'NG_filmic15' | 'NG_filmic16' | 'NG_filmic17' | 'NG_filmic18' | 'NG_filmic19' | 'NG_filmic20' | 'damage' | 'dying' | 'Barry1_Stoned' | 'REDMIST'; -} -declare module "src/core/client/screen/timecycle" { - import { RecommendedTimecycleTypes } from "src/core/shared/enums/timecycleTypes"; - export function setTimeCycleEffect(timeCycleName: RecommendedTimecycleTypes | string, timeInMs: number): void; - export function clearTimeCycleEffect(): void; -} -declare module "src/core/client/screen/index" { - export * as credits from "src/core/client/screen/credits"; - export * as errorScreen from "src/core/client/screen/errorScreen"; - export * as marker from "src/core/client/screen/marker"; - export * as minimap from "src/core/client/screen/minimap"; - export * as missionText from "src/core/client/screen/missionText"; - export * as notification from "src/core/client/screen/notification"; - export * as particle from "src/core/client/screen/particle"; - export * as progressBar from "src/core/client/screen/progressBar"; - export * as scaleform from "src/core/client/screen/scaleform"; - export * as screenEffect from "src/core/client/screen/screenEffect"; - export * as screenFade from "src/core/client/screen/screenFade"; - export * as screenText from "src/core/client/screen/screenText"; - export * as shard from "src/core/client/screen/shard"; - export * as spinner from "src/core/client/screen/spinner"; - export * as text from "src/core/client/screen/text"; - export * as texture from "src/core/client/screen/texture"; - export * as timecycle from "src/core/client/screen/timecycle"; -} -declare module "src/core/shared/enums/blipColor" { - export enum BLIP_COLOR { - WHITE_1 = 0, - RED = 1, - GREEN = 2, - BLUE = 3, - WHITE_2 = 4, - YELLOW = 5, - LIGHT_RED = 6, - VIOLET = 7, - PINK = 8, - LIGHT_ORANGE = 9, - LIGHT_BROWN = 10, - LIGHT_GREEN = 11, - LIGHT_BLUE = 12, - LIGHT_PURPLE = 13, - DARK_PURPLE = 14, - CYAN = 15, - LIGHT_YELLOW = 16, - ORANGE = 17, - LIGHT_BLUE_2 = 18, - DARK_PINK = 19, - DARK_YELLOW = 20, - DARK_ORANGE = 21, - LIGHT_GRAY = 22, - LIGHT_PINK = 23, - LEMON_GREEN = 24, - FOREST_GREEN = 25, - ELECTRIC_BLUE = 26, - BRIGHT_PURPLE = 27, - DARK_YELLOW_2 = 28, - DARK_BLUE = 29, - DARK_CYAN = 30, - LIGHT_BROWN_2 = 31, - LIGHT_BLUE_3 = 32, - LIGHT_YELLOW_2 = 33, - LIGHT_PINK_2 = 34, - LIGHT_RED_2 = 35, - BEIGE = 36, - WHITE_3 = 37, - BLUE_2 = 38, - LIGHT_GRAY_2 = 39, - DARK_GRAY = 40, - PINK_RED = 41, - BLUE_3 = 42, - LIGHT_GREEN_2 = 43, - LIGHT_ORANGE_2 = 44, - WHITE_4 = 45, - GOLD = 46, - ORANGE_2 = 47, - BRILLIANT_ROSE = 48, - RED_2 = 49, - MEDIUM_PURPLE = 50, - SALMON = 51, - DARK_GREEN = 52, - BLIZZARD_BLUE = 53, - ORACLE_BLUE = 54, - SILVER = 55, - BROWN = 56, - BLUE_4 = 57, - EAST_BAY = 58, - RED_3 = 59, - YELLOW_ORANGE = 60, - MULBERRY_PINK = 61, - ALTO_GRAY = 62, - JELLY_BEAN_BLUE = 63, - DARK_ORANGE_2 = 64, - MAMBA = 65, - YELLOW_ORANGE_2 = 66, - BLUE_5 = 67, - BLUE_6 = 68, - GREEN_2 = 69, - YELLOW_ORANGE_3 = 70, - YELLOW_ORANGE_4 = 71, - TRANSPARENT_BLACK = 72, - YELLOW_ORANGE_5 = 73, - BLUE_7 = 74, - RED_4 = 75, - DEEP_RED = 76, - BLUE_8 = 77, - ORACLE_BLUE_2 = 78, - TRANSPARENT_RED = 79, - TRANSPARENT_BLUE = 80, - ORANGE_3 = 81, - LIGHT_GREEN_3 = 82, - PURPLE = 83, - BLUE_9 = 84, - TRANSPARENT_BLACK_2 = 85 - } -} -declare module "src/core/shared/interfaces/blip" { - import * as alt from 'alt-shared'; - import { BLIP_COLOR } from "src/core/shared/enums/blipColor"; - export interface Blip { - pos: alt.IVector3; - shortRange: boolean; - sprite: number; - color: BLIP_COLOR | number; - text: string; - scale: number; - category?: number; - identifier?: string; - uid?: string; - } -} -declare module "src/core/client/streamers/blip" { - import * as alt from 'alt-client'; - import { Blip } from "src/core/shared/interfaces/blip"; - export function append(blipData: Blip): alt.PointBlip; - export function remove(uid: string): void; -} -declare module "src/core/shared/interfaces/door" { - import * as alt from 'alt-shared'; - export interface Door { - uid: string; - description?: string; - pos: alt.IVector3; - model: number; - isUnlocked: boolean; - } -} -declare module "src/core/client/streamers/doors" { } -declare module "src/core/shared/interfaces/item" { - import * as alt from 'alt-shared'; - export type WeaponInfo = { - hash: number; - ammo: number; - components?: Array; - }; - export type ItemDrop = { - _id: unknown; - pos: alt.IVector3; - expiration: number; - model?: string; - name: string; - } & StoredItem; - export type ClothingInfo = { - sex: number; - components: Array; - }; - export interface ClothingComponent { - id: number; - drawable: number; - texture: number; - palette?: number; - dlc: number; - isProp?: boolean; - } - export interface DefaultItemBehavior { - canDrop?: boolean; - canStack?: boolean; - canTrade?: boolean; - isClothing?: boolean; - isToolbar?: boolean; - isWeapon?: boolean; - isEquippable?: boolean; - destroyOnDrop?: boolean; - isCustomIcon?: boolean; - } - export interface CustomContextAction { - name: string; - eventToCall: string | Array; - } - export interface SharedItem { - dbName: string; - data: CustomData; - version?: number; - } - export type StoredItemEx = StoredItem; - export interface StoredItem extends SharedItem { - quantity: number; - slot: number; - isEquipped?: boolean; - totalWeight?: number; - icon?: string; - disableCrafting?: boolean; - } - export type BaseItemEx = BaseItem; - export interface BaseItem extends SharedItem { - _id?: unknown; - name: string; - icon: string; - maxStack?: number; - weight?: number; - behavior?: Behavior; - consumableEventToCall?: string | Array; - customEventsToCall?: Array; - model?: string; - msTimeout?: number; - } - export type Item = BaseItem & StoredItem; - export type ItemEx = BaseItem & StoredItem; -} -declare module "src/core/client/streamers/item" { - import * as alt from 'alt-client'; - import { ItemDrop } from "src/core/shared/interfaces/item"; - export type CreatedDrop = ItemDrop & { - createdObject?: alt.Object; - }; - export function getClosest(): Array; - export function setDefaultDropModel(model: string): void; - export function setDefaultMaxDistance(distance?: number): void; - export function getDropped(id: number): CreatedDrop | undefined; -} -declare module "src/core/shared/enums/markerTypes" { - export enum MARKER_TYPE { - UPSIDE_DOWN_CONE = 0, - CYLINDER = 1, - CHEVRON_UP = 2, - THIN_CHEVRON_UP = 3, - CHECKERED_FLAG = 4, - CHECKERED_FLAG_CIRCLE = 5, - VERTICLE_CIRCLE = 6, - PLANE_MODEL = 7, - LOST_MC = 8, - LOST_MC_SOLID = 9, - NUMBER_0 = 10, - NUMBER_1 = 11, - NUMBER_2 = 12, - NUMBER_3 = 13, - NUMBER_4 = 14, - NUMBER_5 = 15, - NUMBER_6 = 16, - NUMBER_7 = 17, - NUMBER_8 = 18, - NUMBER_9 = 19, - CHEVRON_UP_SINGLE = 20, - CHEVRON_UP_DOUBLE = 21, - CHEVRON_UP_TRIPLE = 22, - FLAT_CIRCLE = 23, - REPLAY = 24, - FLAT_CIRCLE_SKINNY = 25, - FLAT_CIRCLE_SKINNY_DIRECTIONAL = 26, - FLAT_CIRCLE_SKINNY_SPLIT = 27, - SPHERE = 28, - DOLLAR_SIGN = 29, - HORIZONTAL_BARS = 30, - WOLF_HEAD = 31, - QUESTION = 32, - PLANE = 33, - HELICOPTER = 34, - BOAT = 35, - CAR = 36, - MOTORCYCLE = 37, - BIKE = 38, - TRUCK = 39, - PARACHUTE = 40, - JETPACK = 41, - SAW_BLADE = 42, - FLAT_VERTICAL_GRADIENT = 43 - } -} -declare module "src/core/shared/interfaces/marker" { - import * as alt from 'alt-shared'; - import { MARKER_TYPE } from "src/core/shared/enums/markerTypes"; - export interface Marker { - pos: alt.IVector3; - type: MARKER_TYPE | number; - color: alt.RGBA; - scale?: alt.IVector3; - maxDistance?: number; - uid?: string; - dimension?: number; - bobUpAndDown?: boolean; - faceCamera?: boolean; - rotate?: boolean; - } -} -declare module "src/core/client/streamers/marker" { } -declare module "src/core/client/systems/animations" { - import { ANIMATION_FLAGS } from "src/core/shared/flags/animationFlags"; - export function loadAnimation(dict: string, count?: number): Promise; - export function playAnimation(dict: string, name: string, flags?: ANIMATION_FLAGS, duration?: number): Promise; - export function playPedAnimation(scriptID: number, dict: string, name: string, flags?: ANIMATION_FLAGS, duration?: number): Promise; -} -declare module "src/core/client/streamers/ped" { - import { IPed } from "src/core/shared/interfaces/iPed"; - export function get(scriptId: number): IPed | undefined; - export function append(pedData: IPed): void; - export function remove(uid: string): void; -} -declare module "src/core/shared/interfaces/textLabel" { - import * as alt from 'alt-shared'; - export interface TextLabel { - pos: alt.IVector3; - text: string; - maxDistance?: number; - uid?: string; - dimension?: number; - isServerWide?: boolean; - } -} -declare module "src/core/client/streamers/textlabel" { } -declare module "src/core/shared/enums/worldNotificationTypes" { - export enum WORLD_NOTIFICATION_TYPE { - ARROW_TOP = 1, - ARROW_LEFT = 2, - ARROW_BOTTOM = 3, - ARROW_RIGHT = 4 - } -} -declare module "src/core/shared/interfaces/iWorldNotification" { - import { WORLD_NOTIFICATION_TYPE } from "src/core/shared/enums/worldNotificationTypes"; - import * as alt from 'alt-shared'; - export interface IWorldNotification { - pos: alt.IVector3; - text: string; - type: WORLD_NOTIFICATION_TYPE | number; - background?: number; - maxDistance?: number; - uid?: string; - dimension?: number; - } -} -declare module "src/core/client/streamers/worldNotifications" { } -declare module "src/core/client/streamers/index" { - export * as blip from "src/core/client/streamers/blip"; - export * as doors from "src/core/client/streamers/doors"; - export * as item from "src/core/client/streamers/item"; - export * as marker from "src/core/client/streamers/marker"; - export * as object from "src/core/client/streamers/object"; - export * as ped from "src/core/client/streamers/ped"; - export * as textLabel from "src/core/client/streamers/textlabel"; - export * as worldNotifications from "src/core/client/streamers/worldNotifications"; -} -declare module "src/core/shared/interfaces/adminControl" { - export const AdminControlEvents: { - toServer: { - invoke: string; - }; - toClient: { - controls: string; - }; - }; - export interface AdminControl { - name: string; - component: string; - uid: string; - keywords: Array; - permissions: Array; - } -} -declare module "src/core/client/systems/adminControl" { - import { AdminControl } from "src/core/shared/interfaces/adminControl"; - let AdminControls: Array; - export function invoke(uid: string, ...args: any[]): void; - export function getControls(): typeof AdminControls; - export function onControlUpdate(callback: (controls: typeof AdminControls) => void): void; -} -declare module "src/core/shared/interfaces/interaction" { - import * as alt from 'alt-server'; - export interface Interaction { - uid?: string; - description?: string; - position: alt.IVector3; - range?: number; - dimension?: number; - callback?: (player: alt.Player, ...args: any[]) => void; - triggerCallbackOnEnter?: boolean; - onLeaveCallback?: (player: alt.Player, ...args: any[]) => void; - data?: Array; - isVehicleOnly?: boolean; - isPlayerOnly?: boolean; - height?: number; - debug?: boolean; - } -} -declare module "src/core/shared/enums/keyBinds" { - export const KEY_BINDS: { - INTERACT: number; - INTERACT_ALT: number; - INTERACT_CYCLE: number; - VEHICLE_FUNCS: number; - VEHICLE_OPTIONS: number; - PLAYER_INTERACT: number; - INVENTORY: number; - ANIMATION: number; - CHAT: number; - VEHICLE_LOCK: number; - VEHICLE_ENGINE: number; - DEBUG_KEY: number; - }; -} -declare module "src/core/client/systems/entitySelector" { - import * as alt from 'alt-client'; - import { Interaction } from "src/core/shared/interfaces/interaction"; - export type ValidEntityTypes = 'object' | 'pos' | 'npc' | 'player' | 'vehicle' | 'interaction'; - export type TargetInfo = { - id: number; - pos: alt.IVector3; - type: ValidEntityTypes; - dist: number; - height: number; - }; - export function getSelection(): TargetInfo | undefined; - export function getSelectables(): Array; - export function setInteraction(interaction: Interaction | undefined): void; - export function setMarkerOff(): void; - export function setMarkerColor(customColor: alt.RGBA): void; - export function setMarkerSize(markerSize: alt.Vector3): void; -} -declare module "src/core/client/events/onTicksStart" { - export const onTicksStart: { - add(callback: Function): void; - }; -} -declare module "src/core/client/interface/hotkeys" { - export interface KeyBindRestrictions { - isOnFoot?: boolean; - isVehicle?: boolean; - isVehiclePassenger?: boolean; - isVehicleDriver?: boolean; - isAiming?: boolean; - isSwimming?: boolean; - vehicleModels?: Array; - weaponModels?: Array; - } - export interface KeyInfo extends BaseKeyInfo { - keyDown?: Function; - delayedKeyDown?: { - callback: Function; - msToTrigger?: number; - }; - keyUp?: Function; - whilePressed?: Function; - disabled?: boolean; - } - export interface BaseKeyInfo { - key: number; - description: string; - identifier: string; - delayedKeyDown?: { - msToTrigger?: number; - }; - keyUp?: Function; - whilePressed?: Function; - modifier?: 'shift' | 'ctrl' | 'alt'; - allowInAnyMenu?: true; - allowIfDead?: true; - allowInSpecificPage?: string; - spamPreventionInMs?: number; - restrictions?: KeyBindRestrictions; - doNotAllowRebind?: boolean; - } -} -declare module "src/core/client/systems/hotkeyRegistry" { - import { KeyInfo } from "src/core/client/interface/hotkeys"; - export type KeyInfoDefault = KeyInfo & { - default: number; - }; - export function add(keyBind: KeyInfo): void; - export function checkValidation(keyOrIdentifier: string | number): boolean; - export function disable(keyOrIdentifier: string | number): void; - export function enable(keyOrIdentifier: string | number): void; - export function rebind(keyOrIdentifier: string | number, keyCode: number): void; - export function hotkeys(): Array; - export function hotkey(keyOrIdentifier: string | number): KeyInfo | undefined; -} -declare module "src/core/client/systems/interaction" { - export function invoke(): void; - export function isInteractionAvailable(): boolean; -} -declare module "src/core/shared/enums/messenger" { - export const MESSENGER_EVENTS: { - TO_CLIENT: { - MESSAGE: string; - COMMANDS: string; - }; - TO_SERVER: { - MESSAGE: string; - }; - }; -} -declare module "src/core/client/systems/messenger" { - import * as alt from 'alt-client'; - import { MessageCommand } from "src/core/shared/interfaces/messageCommand"; - export type MessageInfo = { - timestamp: number; - msg: string; - }; - export type MessageCallback = (msg: string) => void; - export type HistoryCallback = (msgs: Array) => void; - export function registerMessageCallback(callback: MessageCallback): void; - export function registerHistoryCallback(callback: HistoryCallback): void; - export function emit(msg: string): void; - export function getHistory(): Array<{ - timestamp: number; - msg: string; - }>; - export function send(msg: string): void; - export function setCommands(_commands: Array, 'callback'>>): void; - export function getCommands(): Array, 'callback'>>; -} -declare module "src/core/shared/enums/playerConfigKeys" { - export type PlayerConfigKeys = 'inventory-size' | 'inventory-weight-enabled' | 'inventory-max-weight'; -} -declare module "src/core/client/systems/playerConfig" { - import { PlayerConfigKeys } from "src/core/shared/enums/playerConfigKeys"; - export type ConfigCallback = (value: any) => void; - export function get(key: PlayerConfigKeys | CustomKeys): ReturnType | undefined; - export function addCallback(key: PlayerConfigKeys | CustomKeys, callback: ConfigCallback): void; -} -declare module "src/core/shared/utility/vector" { - import * as alt from 'alt-shared'; - export function distance(vector1: alt.IVector3, vector2: alt.IVector3): number; - export function distance2d(vector1: alt.IVector2, vector2: alt.IVector2): number; - export function getClosestVector(pos: alt.IVector3, arrayOfPositions: alt.IVector3[]): alt.IVector3; - export function getClosestVectorByPos(pos: alt.IVector3, arrayOfPositions: T[], posVariable?: string): T; - export function getClosestTypes(pos: alt.IVector3, elements: Array, maxDistance: number, mustHaveProperties?: Array, positionName?: string): Array; - export function lerp(a: number, b: number, t: number): number; - export function vectorLerp(start: alt.IVector3, end: alt.IVector3, l: number, clamp: boolean): alt.IVector3; - export function getForwardVector(rot: alt.IVector3): alt.IVector3; - export function getVectorInFrontOfPlayer(entity: { - rot: alt.IVector3; - pos: alt.IVector3; - }, distance: number): alt.Vector3; - export function isBetweenVectors(pos: alt.IVector3, vector1: alt.IVector3, vector2: alt.IVector3): boolean; - export function getClosestEntity(playerPosition: alt.IVector3, rot: alt.IVector3, entities: Array<{ - pos: alt.IVector3; - valid?: boolean; - }>, dist: number, checkBackwards?: boolean): T | null; - function fwdX(x: number, z: number): number; - function fwdY(x: number, z: number): number; - function fwdZ(x: number): number; - export function getClosestOfType(pos: alt.IVector3, elements: readonly (T & { - pos: alt.IVector3; - })[], lastDistance?: number): T | undefined; - const _default: { - distance: typeof distance; - distance2d: typeof distance2d; - fwdX: typeof fwdX; - fwdY: typeof fwdY; - fwdZ: typeof fwdZ; - getClosestEntity: typeof getClosestEntity; - getClosestOfType: typeof getClosestOfType; - getClosestTypes: typeof getClosestTypes; - getClosestVector: typeof getClosestVector; - getClosestVectorByPos: typeof getClosestVectorByPos; - getForwardVector: typeof getForwardVector; - getVectorInFrontOfPlayer: typeof getVectorInFrontOfPlayer; - isBetweenVectors: typeof isBetweenVectors; - lerp: typeof lerp; - vectorLerp: typeof vectorLerp; - }; - export default _default; -} -declare module "src/core/client/models/viewModel" { - export default class ViewModel { - static open: Function; - static close: Function; - static ready: Function; - } -} -declare module "src/core/shared/enums/webViewEvents" { - export const WebViewEventNames: { - ON_SERVER: string; - ON_EMIT: string; - EMIT_SERVER: string; - EMIT_CLIENT: string; - EMIT_READY: string; - SET_PAGES: string; - CLOSE_PAGE: string; - CLOSE_PAGES: string; - PLAY_SOUND: string; - PLAY_SOUND_FRONTEND: string; - }; -} -declare module "src/core/client/views/audio" { - export class AudioView { - static init(): void; - static play3DAudio(soundName: string, pan: number, volume: number, soundInstantID?: string): void; - static stop3DAudio(soundInstantID?: string): void; - } -} -declare module "src/core/client/systems/sound" { - import * as alt from 'alt-client'; - export function frontend(audioName: string, ref: string): void; - export function handlePlayAudioPositional(pos: alt.Vector3, soundName: string, soundInstantID?: string): void; - export function play3d(entity: alt.Entity, soundName: string, soundInstantID?: string): void; - export function play2d(soundName: string, volume?: number, soundInstantID?: string): void; - export function stopAudio(soundInstantID?: string): void; -} -declare module "src/core/shared/enums/views" { - export enum View_Events_Inventory { - Process = "inventory:Process", - Use = "inventory:Use", - Split = "inventory:Split", - Pickup = "inventory:Pickup" - } - export enum View_Events_Input_Menu { - SetMenu = "inputmenu:Set" - } - export enum VIEW_EVENTS_JOB_TRIGGER { - OPEN = "jobTrigger:Open", - CANCEL = "jobTrigger:Cancel", - ACCEPT = "jobTrigger:Accept" - } - export enum VIEW_EVENTS_WHEEL_MENU { - ADD_OPTIONS = "wheelMenu:AddOptions", - READY = "wheelMenu:Ready", - CLOSE = "wheelMenu:Close", - EXECUTE = "wheelMenu:Execute" - } -} -declare module "src/core/client/views/wheelMenu" { - import { IWheelOptionExt } from "src/core/shared/interfaces/wheelMenu"; - export function open(label: string, options: Array, setMouseToCenter?: boolean): Promise; - export function update(label: string, options: Array, setMouseToCenter?: boolean): void; -} -declare module "src/core/client/systems/index" { - export * as adminControl from "src/core/client/systems/adminControl"; - export * as animations from "src/core/client/systems/animations"; - export * as entitySelector from "src/core/client/systems/entitySelector"; - export * as hotkeys from "src/core/client/systems/hotkeyRegistry"; - export * as interaction from "src/core/client/systems/interaction"; - export * as messenger from "src/core/client/systems/messenger"; - export * as playerConfig from "src/core/client/systems/playerConfig"; - export * as sound from "src/core/client/systems/sound"; - export * as wheelMenu from "src/core/client/views/wheelMenu"; -} -declare module "src/core/client/utility/directionToVector" { - import * as alt from 'alt-client'; - export class DirectionVector { - private position; - private rotation; - constructor(position: any, rotation: any); - eulerToQuaternion(rotation: alt.IVector3): { - x: number; - y: number; - z: number; - w: number; - }; - forwardVector(): alt.IVector3; - forward(distance: number): alt.IVector3; - rightVector(): { - x: number; - y: number; - z: number; - }; - right(distance: number): { - x: number; - y: number; - z: number; - }; - upVector(): { - x: number; - y: number; - z: number; - }; - up(distance: any): { - x: number; - y: number; - z: number; - }; - } -} -declare module "src/core/client/utility/math" { - import * as alt from 'alt-client'; - export function getCrossProduct(v1: alt.Vector3, v2: alt.Vector3): alt.Vector3; - export function getNormalizedVector(vector: alt.Vector3): alt.Vector3; - export function degToRad(degrees: number): number; - export function rotationToDirection(rotation: alt.IVector3): alt.Vector3; - export function getDirectionFromRotation(rotation: alt.IVector3): alt.IVector3; - export function getPointsInCircle(points: number, radius: number, center: alt.IVector2): Array; - export function getAverage(data: Array): number; -} -declare module "src/core/client/utility/model" { - export function load(model: number | string): Promise; -} -declare module "src/core/client/utility/pauseMenu" { - export function disable(): void; - export function enable(): void; -} -declare module "src/core/shared/utility/random" { - import * as alt from 'alt-shared'; - export function randomNumberBetween(min: number, max: number): number; - export function randomNumberBetweenInclusive(min: number, max: number): number; - export function getRandomRGB(alpha?: number): alt.RGBA; - export function getRandomRGBA(): alt.RGBA; - export function shuffle(array: Array): Array; - export function getRandomElement(elements: Array): T; -} -declare module "src/core/client/utility/scene" { - import * as alt from 'alt-client'; - export function load(pos: alt.IVector3): Promise; -} -declare module "src/core/client/utility/scenarios" { - export function playScenario(name: string, duration: number): Promise; -} -declare module "src/core/shared/enums/vehicleTypeFlags" { - export const enum VEHICLE_CLASS { - BOAT = "boat", - COMMERCIAL = "commercial", - COMPACT = "compact", - COUPE = "coupe", - CYCLE = "cycle", - EMERGENCY = "emergency", - HELICOPTER = "helicopter", - INDUSTRIAL = "industrial", - MILITARY = "military", - MOTORCYCLE = "motorcycle", - MUSCLE = "muscle", - OFF_ROAD = "off_road", - OPEN_WHEEL = "open_wheel", - PLANE = "plane", - RAIL = "rail", - SEDAN = "sedan", - SERVICE = "service", - SPORT = "sport", - SPORT_CLASSIC = "sport_classic", - SUPER = "super", - SUV = "suv", - UTILITY = "utility", - VAN = "van" - } - export const enum VEHICLE_TYPE { - AMPHIBIOUS_AUTOMOBILE = "amphibious_automobile", - AMPHIBIOUS_QUADBIKE = "amphibious_quadbike", - BICYCLE = "bicycle", - BIKE = "bike", - BLIMP = "blimp", - BOAT = "boat", - CAR = "car", - HELI = "heli", - PLANE = "plane", - QUADBIKE = "quadbike", - SUBMARINE = "submarine", - SUBMARINECAR = "submarinecar", - TRAILER = "trailer", - TRAIN = "train" - } - export function isVehicleType(type: string, vehicleType: VEHICLE_TYPE): boolean; - export enum FUEL_TYPE { - NONE = "none", - GAS = "gas", - DIESEL = "diesel", - ELECTRIC = "electric", - JET_FUEL = "jetfuel" - } -} -declare module "src/core/shared/interfaces/vehicleInfo" { - import { FUEL_TYPE, VEHICLE_CLASS, VEHICLE_TYPE } from "src/core/shared/enums/vehicleTypeFlags"; - export interface VehicleInfo { - displayName: string; - name: string; - manufacturerDisplayName: string; - manufacturer: string; - type: VEHICLE_TYPE; - class: VEHICLE_CLASS; - sell: boolean; - price: number; - storage: number | null; - fuelType: FUEL_TYPE; - hash: number; - signedHash?: number; - hexHash?: string; - fuelTankSize?: number; - seats?: number; - } -} -declare module "src/core/shared/information/vehicles" { - import { VehicleInfo } from "src/core/shared/interfaces/vehicleInfo"; - export const VehicleData: Array; -} -declare module "src/core/shared/utility/hashLookup/vehicle" { - import { VehicleInfo } from "src/core/shared/interfaces/vehicleInfo"; - export function hash(hash: number): VehicleInfo; - export function signedHash(hash: number): VehicleInfo; - export function hexHash(hash: string): VehicleInfo; - const _default_1: { - hash: typeof hash; - signedHash: typeof signedHash; - hexHash: typeof hexHash; - }; - export default _default_1; -} -declare module "src/core/shared/enums/pedInformationFlags" { - export enum PED_TYPE { - ANIMAL = "animal", - ARMY = "army", - CIVFEMALE = "civfemale", - CIVMALE = "civmale", - COP = "cop", - FIREMAN = "fireman", - MEDIC = "medic", - PLAYER_0 = "player_0", - PLAYER_1 = "player_1", - PLAYER_2 = "player_2", - SWAT = "swat" - } -} -declare module "src/core/shared/interfaces/iPedInfo" { - import { PED_TYPE } from "src/core/shared/enums/pedInformationFlags"; - export interface PedInfo { - name: string; - hash: number; - signedHash: number; - hexHash: string; - pedType: PED_TYPE; - } -} -declare module "src/core/shared/information/peds" { - import { PedInfo } from "src/core/shared/interfaces/iPedInfo"; - export const pedData: Array; -} -declare module "src/core/shared/utility/hashLookup/ped" { - import { PedInfo } from "src/core/shared/interfaces/iPedInfo"; - function hash(hash: number): PedInfo; - export function signedHash(hash: number): PedInfo; - export function hexHash(hash: string): PedInfo; - const _default_2: { - hash: typeof hash; - signedHash: typeof signedHash; - hexHash: typeof hexHash; - }; - export default _default_2; -} -declare module "src/core/shared/interfaces/ipropInfo" { - export interface PropInfo { - name: string; - hash: number; - signedHash: number; - hexHash: string; - } -} -declare module "src/core/shared/information/props" { - import { PropInfo } from "src/core/shared/interfaces/ipropInfo"; - export const propData: Array; -} -declare module "src/core/shared/utility/hashLookup/prop" { - import { PropInfo } from "src/core/shared/interfaces/ipropInfo"; - function hash(hash: number): PropInfo; - export function signedHash(hash: number): PropInfo; - export function hexHash(hash: string): PropInfo; - const _default_3: { - hash: typeof hash; - signedHash: typeof signedHash; - hexHash: typeof hexHash; - }; - export default _default_3; -} -declare module "src/core/shared/utility/hashLookup/index" { - export { default as vehicle } from "src/core/shared/utility/hashLookup/vehicle"; - export { default as ped } from "src/core/shared/utility/hashLookup/ped"; - export { default as prop } from "src/core/shared/utility/hashLookup/prop"; -} -declare module "src/core/client/utility/index" { - export { DirectionVector } from "src/core/client/utility/directionToVector"; - export * as math from "src/core/client/utility/math"; - export * as model from "src/core/client/utility/model"; - export * as pauseMenu from "src/core/client/utility/pauseMenu"; - export * as random from "src/core/shared/utility/random"; - export * as scene from "src/core/client/utility/scene"; - export * as scenarios from "src/core/client/utility/scenarios"; - export * as vector from "src/core/shared/utility/vector"; - export * as hashLookup from "src/core/shared/utility/hashLookup/index"; -} -declare module "src/core/client/webview/page" { - import { BaseKeyInfo } from "src/core/client/interface/hotkeys"; - type AnyCallback = ((...args: any[]) => void) | ((...args: any[]) => Promise) | Function; - export interface IPage { - name: string; - callbacks: { - onReady: AnyCallback; - onClose: AnyCallback; - }; - options?: { - disableEscapeKey?: boolean; - onOpen?: { - focus?: boolean; - showCursor?: boolean; - hideHud?: boolean; - hideOverlays?: boolean; - disableControls?: 'all' | 'camera' | 'none'; - disablePauseMenu?: boolean; - blurBackground?: boolean; - setIsMenuOpenToTrue?: boolean; - }; - onClose?: { - unfocus?: boolean; - hideCursor?: boolean; - showHud?: boolean; - showOverlays?: boolean; - enableControls?: boolean; - enablePauseMenu?: boolean; - unblurBackground?: boolean; - setIsMenuOpenToFalse?: boolean; - }; - }; - keybind?: BaseKeyInfo & { - useSameKeyToClose?: boolean; - }; - } - export class Page { - private info; - constructor(page: IPage); - open(): Promise; - close(isManuallyTriggered?: boolean): void; - } -} -declare module "src/core/shared/interfaces/webview" { - export interface OverlayPageType { - name: string; - isHidden?: boolean; - callback: (isVisible: boolean) => void; - } -} -declare module "src/core/client/webview/index" { - export { Page } from "src/core/client/webview/page"; - import * as alt from 'alt-client'; - export type AnyCallback = ((...args: any[]) => void) | ((...args: any[]) => Promise) | Function; - export function create(url: string): void; - export function setOverlaysVisible(value: boolean, doNotUpdate?: boolean): Promise; - export function registerPersistentPage(pageName: string): void; - export function registerOverlay(pageName: string, callback?: (isVisible: boolean) => void): void; - export function setOverlayVisible(pageName: string, state: boolean): void; - export function get(): Promise; - export function dispose(): void; - export function openPages(pageOrPages: Array | string, hideOverlays?: boolean, closeOnEscapeCallback?: () => void): Promise; - export function focus(): Promise; - export function unfocus(): Promise; - export function showCursor(state: boolean): Promise; - export function closeOverlays(pageNames: Array): Promise; - export function closePages(pageNames: Array, showOverlays?: boolean): Promise; - export function ready(pageName: string, callback: AnyCallback): void; - export function on(eventName: EventNames, callback: AnyCallback): void; - export function emit(eventName: EventNames, ...args: any[]): Promise; - export function isPageOpen(pageName: string): boolean; - export function isDoneUpdating(): boolean; - export function disableEscapeKeyForPage(pageName: string): void; - export function isAnyMenuOpen(excludeDead?: boolean): boolean; -} -declare module "src/core/client/world/position" { - import * as alt from 'alt-client'; - const DefaultData: { - minStart: number; - iterations: number; - increment: number; - }; - export function getGroundZ(pos: alt.IVector3, options?: typeof DefaultData): alt.IVector3; - export function isEntityBlockingPosition(pos: alt.IVector3, range?: number, maxDistance?: number): boolean; -} -declare module "src/core/client/world/weather" { - export function isChanging(): boolean; - export function freeze(): void; - export function unfreeze(): void; - export function changeTo(nextWeather: string, timeInSeconds: number): Promise; -} -declare module "src/core/client/world/index" { - export * as position from "src/core/client/world/position"; - export * as weather from "src/core/client/world/weather"; -} -declare module "src/core/client/api/index" { - export * as camera from "src/core/client/camera/index"; - export * as menu from "src/core/client/menus/index"; - export * as rmlui from "src/core/client/rmlui/index"; - export * as screen from "src/core/client/screen/index"; - export * as streamers from "src/core/client/streamers/index"; - export * as systems from "src/core/client/systems/index"; - export * as utility from "src/core/client/utility/index"; - export * as webview from "src/core/client/webview/index"; - export * as world from "src/core/client/world/index"; -} -declare module "src/core/client/camera/cinematic" { - import * as alt from 'alt-client'; - export interface iCameraNode { - pos: alt.IVector3; - rot?: alt.IVector3; - offset?: alt.IVector3; - fov: number; - easeTime?: number; - entityToTrack?: number; - positionToTrack?: alt.IVector3; - entityToAttachTo?: number; - vehicleBone?: number; - pedBone?: number; - isLastNode?: boolean; - } - export function destroy(): Promise; - export function overrideNodes(_nodes: Array): Promise; - export function addNode(node: iCameraNode): Promise; - export function next(removeFromArray?: boolean): Promise; - export function play(): Promise; -} -declare module "src/core/client/commands/rmlui" { } -declare module "src/core/shared/configurations/shared" { - export const SHARED_CONFIG: { - FOOD_FATIGUE: number; - WATER_FATIGUE: number; - MAX_PICKUP_RANGE: number; - MAX_INTERACTION_RANGE: number; - MAX_VEHICLE_INTERACTION_RANGE: number; - VOICE_ON: boolean; - USE_24H_TIME_FORMAT: boolean; - DISABLE_IDLE_CAM: boolean; - ENABLE_KNOTS_FOR_BOATS_AND_AIRCRAFT: boolean; - }; -} -declare module "src/core/client/events/connectionComplete" { } -declare module "src/core/client/events/disconnect" { } -declare module "src/core/client/events/meta" { } -declare module "src/core/client/events/onInventoryUpdate" { - import { Item } from "src/core/shared/interfaces/item"; - type InventoryUpdateCallback = (inventory: Array, toolbar: Array, totalWeight: number) => void; - export const onInventoryUpdate: { - add(callback: InventoryUpdateCallback): void; - }; -} -declare module "src/core/shared/interfaces/appearance" { - export interface Appearance { - sex: number; - faceFather: number; - faceMother: number; - skinFather: number; - skinMother: number; - faceMix: number; - skinMix: number; - structure: number[]; - hair: number; - hairDlc: number; - hairColor1: number; - hairColor2: number; - hairOverlay: { - overlay: string; - collection: string; - }; - facialHair: number; - facialHairColor1: number; - facialHairOpacity: number; - eyebrows: number; - eyebrowsOpacity: number; - eyebrowsColor1: number; - chestHair: number; - chestHairOpacity: number; - chestHairColor1: number; - eyes: number; - opacityOverlays: AppearanceInfo[]; - colorOverlays: ColorInfo[]; - } - export interface ColorInfo { - id: number; - value: number; - color1: number; - color2: number; - opacity: number; - } - export interface AppearanceInfo { - value: number; - opacity: number; - id: number; - collection: string; - overlay: string; - } -} -declare module "src/core/client/extensions/meta" { - import { Appearance } from "src/core/shared/interfaces/appearance"; - export interface Meta { - permissionLevel: number; - isDead: boolean; - gridSpace: number; - voice: boolean; - bank: number; - cash: number; - bankNumber: number; - food: number; - water: number; - appearance: Appearance; - } -} -declare module "src/core/client/extensions/player" { - import { Meta } from "src/core/client/extensions/meta"; - module 'alt-client' { - interface Player { - meta: Partial; - isMenuOpen: boolean; - isWheelMenuOpen: boolean; - isActionMenuOpen: boolean; - isLeaderboardOpen: boolean; - isNoClipOn: boolean; - } - } -} -declare module "src/core/client/menus/animationMenus/commonAnims" { - const _default_4: (callback: (...args: any[]) => void) => { - name: string; - callback: (...args: any[]) => void; - data: (string | number)[]; - }[]; - export default _default_4; -} -declare module "src/core/client/menus/animationMenus/danceAnims" { - import { ANIMATION_FLAGS } from "src/core/shared/flags/animationFlags"; - const _default_5: (callback: (...args: any[]) => void) => { - name: string; - callback: (...args: any[]) => void; - data: (string | ANIMATION_FLAGS)[]; - }[]; - export default _default_5; -} -declare module "src/core/client/menus/animationMenus/emoteAnims" { - import { ANIMATION_FLAGS } from "src/core/shared/flags/animationFlags"; - const _default_6: (callback: (...args: any[]) => void) => { - name: string; - callback: (...args: any[]) => void; - data: (string | ANIMATION_FLAGS)[]; - }[]; - export default _default_6; -} -declare module "src/core/client/menus/animationMenus/funAnims" { - import { ANIMATION_FLAGS } from "src/core/shared/flags/animationFlags"; - const _default_7: (callback: (...args: any[]) => void) => { - name: string; - callback: (...args: any[]) => void; - data: (string | ANIMATION_FLAGS)[]; - }[]; - export default _default_7; -} -declare module "src/core/client/menus/animationMenus/idleAnims" { - import { ANIMATION_FLAGS } from "src/core/shared/flags/animationFlags"; - const _default_8: (callback: (...args: any[]) => void) => { - name: string; - callback: (...args: any[]) => void; - data: (string | ANIMATION_FLAGS)[]; - }[]; - export default _default_8; -} -declare module "src/core/client/menus/animationMenus/leanAnims" { - import { ANIMATION_FLAGS } from "src/core/shared/flags/animationFlags"; - const _default_9: (callback: (...args: any[]) => void) => ({ - name: string; - callback: (...args: any[]) => void; - data: (string | ANIMATION_FLAGS)[]; - } | { - name: string; - callback: () => void; - data?: undefined; - })[]; - export default _default_9; -} -declare module "src/core/client/menus/animationMenus/waitAnims" { - import { ANIMATION_FLAGS } from "src/core/shared/flags/animationFlags"; - const _default_10: (callback: (...args: any[]) => void) => { - name: string; - callback: (...args: any[]) => void; - data: (string | ANIMATION_FLAGS)[]; - }[]; - export default _default_10; -} -declare module "src/core/client/menus/animation" { } -declare module "src/core/client/rmlui/fonts/index" { } -declare module "src/core/client/screen/mouse" { - import * as alt from 'alt-client'; - export function getScaledCursorPosition(): alt.IVector2; -} -declare module "src/core/shared/enums/playerSynced" { - export enum PLAYER_SYNCED_META { - POSITION = "player-position", - PING = "player-ping", - NAME = "player-name", - DIMENSION = "player-dimension", - WAYPOINT = "player-waypoint", - DATABASE_ID = "player-character-id", - ATTACHABLES = "player-attachable-list", - ACCOUNT_ID = "player-account-id", - IDENTIFICATION_ID = "player-identification-id" - } - export enum PLAYER_LOCAL_META { - INVENTORY = "player-inventory", - TOOLBAR = "player-toolbar", - TOTAL_WEIGHT = "player-total-weight", - INVENTORY_SIZE = "player-inventory-size" - } -} -declare module "src/core/shared/enums/boneIds" { - export enum PedBone { - FACIAL_facialRoot = 102, - FB_Brow_Centre_000 = 113, - FB_Jaw_000 = 118, - FB_L_Brow_Out_000 = 103, - FB_L_CheekBone_000 = 106, - FB_L_Eye_000 = 105, - FB_L_Lid_Upper_000 = 104, - FB_L_Lip_Bot_000 = 121, - FB_L_Lip_Corner_000 = 107, - FB_L_Lip_Top_000 = 116, - FB_LowerLip_000 = 120, - FB_LowerLipRoot_000 = 119, - FB_R_Brow_Out_000 = 111, - FB_R_CheekBone_000 = 110, - FB_R_Eye_000 = 109, - FB_R_Lid_Upper_000 = 108, - FB_R_Lip_Bot_000 = 122, - FB_R_Lip_Corner_000 = 112, - FB_R_Lip_Top_000 = 117, - FB_Tongue_000 = 123, - FB_UpperLipRoot_000 = 114, - IK_Head = 99, - IK_L_Foot = 6, - IK_L_Hand = 62, - IK_R_Foot = 18, - IK_R_Hand = 91, - IK_Root = 127, - MH_L_Elbow = 67, - MH_L_Knee = 11, - MH_R_Elbow = 96, - MH_R_Knee = 23, - PH_L_Foot = 7, - PH_L_Hand = 61, - PH_R_Foot = 19, - PH_R_Hand = 90, - RB_L_ArmRoll = 66, - RB_L_ForeArmRoll = 65, - RB_L_ThighRoll = 26, - RB_Neck_1 = 124, - RB_R_ArmRoll = 95, - RB_R_ForeArmRoll = 94, - RB_R_ThighRoll = 27, - SKEL_Head = 98, - SKEL_L_Calf = 3, - SKEL_L_Clavicle = 39, - SKEL_L_Finger00 = 43, - SKEL_L_Finger01 = 44, - SKEL_L_Finger02 = 45, - SKEL_L_Finger10 = 48, - SKEL_L_Finger11 = 49, - SKEL_L_Finger12 = 50, - SKEL_L_Finger20 = 52, - SKEL_L_Finger21 = 53, - SKEL_L_Finger22 = 54, - SKEL_L_Finger30 = 55, - SKEL_L_Finger31 = 56, - SKEL_L_Finger32 = 57, - SKEL_L_Finger40 = 58, - SKEL_L_Finger41 = 59, - SKEL_L_Finger42 = 60, - SKEL_L_Foot = 4, - SKEL_L_Forearm = 41, - SKEL_L_Hand = 42, - SKEL_L_Thigh = 2, - SKEL_L_Toe0 = 5, - SKEL_L_UpperArm = 40, - SKEL_Neck_1 = 97, - SKEL_Pelvis = 1, - SKEL_R_Calf = 15, - SKEL_R_Clavicle = 68, - SKEL_R_Finger00 = 72, - SKEL_R_Finger01 = 73, - SKEL_R_Finger02 = 74, - SKEL_R_Finger11 = 78, - SKEL_R_Finger12 = 79, - SKEL_R_Finger20 = 81, - SKEL_R_Finger21 = 82, - SKEL_R_Finger22 = 83, - SKEL_R_Finger30 = 84, - SKEL_R_Finger31 = 85, - SKEL_R_Finger32 = 86, - SKEL_R_Finger40 = 87, - SKEL_R_Finger41 = 88, - SKEL_R_Finger42 = 89, - SKEL_R_Foot = 16, - SKEL_R_Forearm = 70, - SKEL_R_Hand = 71, - SKEL_R_Thigh = 14, - SKEL_R_Toe0 = 17, - SKEL_R_UpperArm = 69, - SKEL_ROOT = 0, - SKEL_Spine_Root = 34, - SKEL_Spine0 = 35, - SKEL_Spine1 = 36, - SKEL_Spine2 = 37, - SKEL_Spine3 = 38 - } -} -declare module "src/core/shared/interfaces/iAttachable" { - import { PedBone } from "src/core/shared/enums/boneIds"; - import * as alt from 'alt-shared'; - export default interface IAttachable { - uid?: string; - model: string; - pos: alt.IVector3; - rot: alt.IVector3; - bone: PedBone; - entityID?: number; - } - export interface JobAttachable extends IAttachable { - duration?: number; - atObjectiveStart?: boolean; - } -} -declare module "src/core/client/streamers/attachable" { } -declare module "src/core/client/systems/defaults/ammo" { } -declare module "src/core/client/systems/defaults/displayId" { } -declare module "src/core/client/systems/defaults/time" { } -declare module "src/core/client/systems/defaults/toolbar" { - export const ToolbarSystem: { - disable(): void; - }; -} -declare module "src/core/shared/interfaces/acceptDeclineEvent" { - export interface AcceptDeclineEvent { - question: string; - onClientEvents: { - accept: string; - decline: string; - }; - data?: T; - } -} -declare module "src/core/client/systems/acceptDeclineEvent" { } -declare module "src/core/client/systems/arrest" { } -declare module "src/core/shared/enums/athenaEvents" { - export enum ATHENA_EVENTS_PLAYER_CLIENT { - WAYPOINT = "athena:PlayerWaypoint" - } -} -declare module "src/core/client/systems/athenaEvents" { - export function updateWaypoint(): Promise; -} -declare module "src/core/client/systems/character" { - import { Appearance } from "src/core/shared/interfaces/appearance"; - import { Item } from "src/core/shared/interfaces/item"; - export const CharacterSystem: { - applyAppearance(ped: number, appearance: Appearance): void; - applyEquipment(ped: number, components: Array, isMale?: boolean): void; - applyHairOverlay(decorations: Array<{ - collection: string; - overlay: string; - }>): void; - }; -} -declare module "src/core/client/systems/debug" { - export const DebugController: { - registerKeybinds(): void; - handleDebugMessages(): void; - }; -} -declare module "src/core/shared/flags/pedflags" { - export const enum PED_CONFIG_FLAG { - CAN_PUNCH = 18, - CAN_FLY_THROUGH_WINDSHIELD = 32, - DIES_BY_RAGDOLL = 33, - PUT_ON_MOTORCYCLE_HELMET = 35, - NO_COLLISION = 52, - IS_SHOOTING = 58, - IS_ON_GROUND = 60, - NO_COLLIDE = 62, - IS_DEAD = 71, - IS_SNIPER_SCOPE_ACTIVE = 72, - IS_SUPER_DEAD = 73, - IS_IN_AIR = 76, - IS_AIMING = 78, - IS_DRUNK = 100, - IS_NOT_RAGDOLL_AND_IS_NOT_ANIMATED = 104, - NO_PLAYER_MELEE = 122, - NO_MESSAGE_466 = 125, - PLAY_INJURED_LIMP = 166, - PLAY_INJURED_LIMP_2 = 170, - DISABLE_SEAT_SHUFFLE = 184, - INJURED_DOWN = 187, - SHRINK = 223, - MELEE_COMBAT = 224, - DISABLE_STOPPING_VEHICLE_ENGINE = 241, - IS_ON_STAIRS = 253, - HAS_ONE_LEG_ON_GROUND = 276, - NO_WRITHE = 281, - FREEZE = 292, - IS_STILL = 301, - NO_PED_MELEE = 314, - IS_SWITCHING_WEAPON = 331, - ALPHA = 410, - DISABLE_PROP_KNOCKOFF = 423, - DISABLE_STARTING_VEHICLE_ENGINE = 429, - FLAMING_FOOTPRINTS = 421 - } -} -declare module "src/core/client/systems/vehicle" { - import * as alt from 'alt-client'; - export const VehicleController: { - registerKeybinds(): void; - emitEngine(): void; - emitLock(): void; - enterVehicle(): void; - setIntoVehicle(vehicle: alt.Vehicle, seat: number): Promise; - enableSeatBelt(value: boolean): void; - removeSeatBelt(vehicle: alt.Vehicle): void; - handleVehicleDisables(): void; - toggleEngine(status: boolean): void; - }; -} -declare module "src/core/client/systems/disable" { } -declare module "src/core/client/systems/interiors" { } -declare module "src/core/shared/interfaces/eventCall" { - export interface EventCall { - eventName: string; - isServer: boolean; - callAtStart?: boolean; - } -} -declare module "src/core/shared/interfaces/job" { - import * as alt from 'alt-shared'; - import { Blip } from "src/core/shared/interfaces/blip"; - import { EventCall } from "src/core/shared/interfaces/eventCall"; - import { Marker } from "src/core/shared/interfaces/marker"; - import { TextLabel } from "src/core/shared/interfaces/textLabel"; - import { JobAnimation } from "src/core/shared/interfaces/animation"; - import { Particle } from "src/core/shared/interfaces/particle"; - import { JobAttachable } from "src/core/shared/interfaces/iAttachable"; - export enum ObjectiveCriteria { - NO_VEHICLE = 1, - NO_WEAPON = 2, - NO_DYING = 4, - IN_VEHICLE = 8, - IN_JOB_VEHICLE = 16, - FAIL_ON_JOB_VEHICLE_DESTROY = 32, - JOB_VEHICLE_NEARBY = 64, - VEHICLE_ENGINE_OFF = 128 - } - export enum ObjectiveType { - WAYPOINT = 1, - CAPTURE_POINT = 2, - PRESS_INTERACT_TO_COMPLETE = 4 - } - export enum ObjectiveEvents { - JOB_SYNC = "job:Sync", - JOB_VERIFY = "job:Verify", - JOB_UPDATE = "job:Update" - } - export interface Objective { - uid?: string; - criteria: ObjectiveCriteria; - type: ObjectiveType; - pos: alt.IVector3; - range: number; - description: string; - captureProgress?: number; - captureMaximum?: number; - nextCaptureTime?: number; - marker?: Marker; - textLabel?: TextLabel; - blip?: Blip; - animation?: JobAnimation; - attachable?: JobAttachable; - eventCall?: EventCall; - particle?: Particle; - onlyCallbackCheck?: boolean; - data?: { - [key: string]: any; - }; - callbackOnStart?: (player: any) => void; - callbackOnCheck?: (player: any) => Promise; - callbackOnFinish?: (player: any) => void; - } - const _default_11: { - ObjectiveCriteria: typeof ObjectiveCriteria; - ObjectiveType: typeof ObjectiveType; - ObjectiveEvents: typeof ObjectiveEvents; - }; - export default _default_11; -} -declare module "src/core/shared/utility/flags" { - type Flags = Permissions; - export function isFlagEnabled(flags: Flags | number, flagToCheck: Flags | number): boolean; -} -declare module "src/core/client/systems/job" { } -declare module "src/core/client/systems/jwt" { } -declare module "src/core/shared/locale/languages/keys" { - export const LOCALE_KEYS: { - COMMAND_ADMIN_CHAT: string; - COMMAND_ACCEPT_DEATH: string; - COMMAND_ACTION_MENU: string; - COMMAND_ADD_VEHICLE: string; - COMMAND_ADD_WHITELIST: string; - COMMAND_OOC: string; - COMMAND_BROADCAST: string; - COMMAND_COORDS: string; - COMMAND_DO: string; - COMMAND_DUMMY_ITEM: string; - COMMAND_GET_ITEM: string; - COMMAND_LOW: string; - COMMAND_MOD_CHAT: string; - COMMAND_ME: string; - COMMAND_NO_CLIP: string; - COMMAND_QUIT_JOB: string; - COMMAND_REMOVE_ALL_WEAPONS: string; - COMMAND_REMOVE_WHITELIST: string; - COMMAND_REVIVE: string; - COMMAND_SEATBELT: string; - COMMAND_SET_ARMOUR: string; - COMMAND_SET_CASH: string; - COMMAND_SET_FOOD: string; - COMMAND_SET_HEALTH: string; - COMMAND_SET_WATER: string; - COMMAND_SPAWN_VEHICLE: string; - COMMAND_TELEPORTER: string; - COMMAND_TELEPORT_WAYPOINT: string; - COMMAND_TOGGLE_ENGINE: string; - COMMAND_TOGGLE_VEH_LOCK: string; - COMMAND_TOGGLE_VEH_DOOR: string; - COMMAND_GIVE_VEH_KEY: string; - COMMAND_UPDATE_WEATHER: string; - COMMAND_VEHICLE: string; - COMMAND_WHISPER: string; - COMMAND_WANTED: string; - COMMAND_WEAPON: string; - COMMAND_CLEAR_INVENTORY: string; - COMMAND_CLEAR_TOOLBAR: string; - COMMAND_CLEAR_EQUIPMENT: string; - COMMAND_NOT_PERMITTED_CHARACTER: string; - COMMAND_NOT_PERMITTED_ADMIN: string; - COMMAND_NOT_VALID: string; - COMMAND_SET_WEATHER: string; - COMMAND_CLEAR_WEATHER: string; - COMMAND_SET_TIME: string; - COMMAND_CLEAR_TIME: string; - COMMAND_REFILL_VEHICLE: string; - COMMAND_REPAIR_VEHICLE: string; - COMMAND_TEMP_VEHICLE: string; - COMMAND_SET_VEHICLE_HANDLING: string; - COMMAND_SET_VEHICLE_LIVERY: string; - COMMAND_SESSION_VEHICLE: string; - COMMAND_TOGGLE_VEH_NEON_LIGHTS: string; - COMMAND_SET_VEH_NEON_LIGHTS: string; - COMMAND_FULL_TUNE_VEHICLE: string; - COMMAND_ADD_VEHICLE_KEY: string; - COMMAND_SET_VEH_DIRT_LEVEL: string; - CANNOT_CHAT_WHILE_DEAD: string; - CANNOT_FIND_PLAYER: string; - CANNOT_PERFORM_WHILE_DEAD: string; - CANNOT_FIND_PERSONAL_VEHICLES: string; - CANNOT_FIND_THAT_PERSONAL_VEHICLE: string; - CLOTHING_ITEM_IN_INVENTORY: string; - DISCORD_ID_NOT_LONG_ENOUGH: string; - DISCORD_ALREADY_WHITELISTED: string; - DISCORD_NOT_WHITELISTED: string; - DISCORD_ADDED_WHITELIST: string; - DISCORD_REMOVED_WHITELIST: string; - DISCORD_ID_ALREADY_LOGGED_IN: string; - DISCORD_COULD_NOT_COMMUNICATE_WITH_AUTH_SERVICE: string; - DISCORD_COULD_NOT_DECRYPT_DATA_FROM_AUTH_SERVICE: string; - FUEL_EXIT_VEHICLE_FIRST: string; - FUEL_UPDATE_VEHICLE_FIRST: string; - FUEL_VEHICLE_NOT_CLOSE: string; - FUEL_ALREADY_FULL: string; - FUEL_TOO_FAR_FROM_PUMP: string; - FUEL_HAS_UNLIMITED: string; - FUEL_CANNOT_AFFORD: string; - FUEL_PAYMENT: string; - FUEL_PAID: string; - INTERIOR_INTERACT: string; - INTERIOR_TOO_FAR_FROM_ENTRANCE: string; - INTERIOR_TOO_FAR_FROM_EXIT: string; - INTERIOR_NOT_ENOUGH_CURRENCY: string; - INTERIOR_DOOR_LOCKED: string; - INTERIOR_PURCHASED: string; - INTERIOR_SOLD: string; - INTERIOR_NO_STORAGE: string; - INVALID_VEHICLE_MODEL: string; - INTERACTION_TOO_FAR_AWAY: string; - INTERACTION_INVALID_OBJECT: string; - INTERACTION_INTERACT_WITH_OBJECT: string; - INTERACTION_INTERACT_VEHICLE: string; - INTERACTION_VIEW_OPTIONS: string; - ITEM_ARGUMENTS_MISSING: string; - ITEM_DOES_NOT_EXIST: string; - ITEM_NOT_EQUIPPED: string; - ITEM_WAS_ADDED_INVENTORY: string; - ITEM_WAS_ADDED_EQUIPMENT: string; - ITEM_WAS_ADDED_TOOLBAR: string; - ITEM_WAS_DESTROYED_ON_DROP: string; - LABEL_ON: string; - LABEL_OFF: string; - LABEL_BROADCAST: string; - LABEL_ENGINE: string; - LABEL_HOSPITAL: string; - LABEL_BANNED: string; - PLAYER_ARMOUR_SET_TO: string; - PLAYER_HEALTH_SET_TO: string; - PLAYER_IS_TOO_FAR: string; - PLAYER_IS_TOO_CLOSE: string; - PLAYER_IS_NOT_DEAD: string; - PLAYER_SEATBELT_ON: string; - PLAYER_SEATBELT_OFF: string; - PLAYER_RECEIVED_BLANK: string; - JOB_ALREADY_WORKING: string; - JOB_NOT_WORKING: string; - JOB_QUIT: string; - USE_FUEL_PUMP: string; - USE_ATM: string; - USE_VENDING_MACHINE: string; - USE_CLOTHING_STORE: string; - WEAPON_NO_HASH: string; - VEHICLE_NO_FUEL: string; - VEHICLE_LOCK_SET_TO: string; - VEHICLE_TOGGLE_LOCK: string; - VEHICLE_IS_LOCKED: string; - VEHICLE_ENTER_VEHICLE: string; - VEHICLE_TOGGLE_ENGINE: string; - VEHICLE_TOO_FAR: string; - VEHICLE_NO_VEHICLES_IN_GARAGE: string; - VEHICLE_NO_PARKING_SPOTS: string; - VEHICLE_ALREADY_SPAWNED: string; - VEHICLE_COUNT_EXCEEDED: string; - VEHICLE_LOCKED: string; - VEHICLE_UNLOCKED: string; - VEHICLE_FUEL: string; - VEHICLE_NO_KEYS: string; - VEHICLE_NO_STORAGE: string; - VEHICLE_NO_TRUNK_ACCESS: string; - VEHICLE_NOT_UNLOCKED: string; - VEHICLE_NO_OPEN_SEAT: string; - VEHICLE_REFUEL_INCOMPLETE: string; - VEHICLE_NO_LONGER_NEAR_VEHICLE: string; - VEHICLE_NOT_RIGHT_SIDE_UP: string; - VEHICLE_IS_ALREADY_BEING_PUSHED: string; - VEHICLE_STORAGE_VIEW_NAME: string; - VEHICLE_KEY_NAME: string; - VEHICLE_KEY_DESCRIPTION: string; - VEHICLE_MODEL_INVALID: string; - VEHICLE_CREATED: string; - VEHICLE_REFILLED: string; - VEHICLE_REPAIRED: string; - VEHICLE_HAS_NO_MOD_KIT: string; - VEHICLE_NOT_OWN_BY_YOU: string; - VEHICLE_KEY_GIVEN_TO: string; - FACTION_PLAYER_IS_ALREADY_IN_FACTION: string; - FACTION_CANNOT_CHANGE_OWNERSHIP: string; - FACTION_STORAGE_NOT_ACCESSIBLE: string; - FACTION_STORAGE_NO_ACCESS: string; - FACTION_ONLY_OWNER_IS_ALLOWED: string; - FACTION_UNABLE_TO_DISBAND: string; - FACTION_NAME_DOESNT_MATCH: string; - FACTION_NOT_THE_OWNER: string; - FACTION_COULD_NOT_FIND: string; - FACTION_DISABNDED: string; - FACTION_BANK_COULD_NOT_WITHDRAW: string; - FACTION_BANK_COULD_NOT_DEPOSIT: string; - FACTION_BANK_WITHDREW: string; - FACTION_PLAYER_QUITTED: string; - FACTION_COULDNT_QUIT: string; - WORLD_TIME_IS: string; - STORAGE_NOT_AVAILABLE: string; - STORAGE_IN_USE: string; - INVENTORY_IS_FULL: string; - NOCLIP_SPEED_INFO: string; - NOCLIP_SPEED: string; - WEBVIEW_CHARACTERS: string; - WEBVIEW_CREATOR: string; - WEBVIEW_JOB: string; - WEBVIEW_INVENTORY: string; - WEBVIEW_LOGIN: string; - WEBVIEW_FACTION: string; - WEBVIEW_STORAGE: string; - }; -} -declare module "src/core/shared/interfaces/localeFormat" { - export interface LocaleFormat { - [key: string]: { - [key: string]: any; - }; - } -} -declare module "src/core/shared/locale/languages/en" { - const _default_12: { - [x: string]: string | { - LABEL_DECLINE: string; - LABEL_ACCEPT: string; - LABEL_SPLIT_TEXT?: undefined; - ITEM_SLOTS?: undefined; - LABEL_SPLIT?: undefined; - LABEL_CANCEL?: undefined; - LABEL_DROP_ITEM?: undefined; - LABEL_WEIGHT?: undefined; - } | { - LABEL_SPLIT_TEXT: string; - LABEL_DECLINE?: undefined; - LABEL_ACCEPT?: undefined; - ITEM_SLOTS?: undefined; - LABEL_SPLIT?: undefined; - LABEL_CANCEL?: undefined; - LABEL_DROP_ITEM?: undefined; - LABEL_WEIGHT?: undefined; - } | { - ITEM_SLOTS: string[]; - LABEL_SPLIT: string; - LABEL_CANCEL: string; - LABEL_DROP_ITEM: string; - LABEL_WEIGHT: string; - LABEL_SPLIT_TEXT: string; - LABEL_DECLINE?: undefined; - LABEL_ACCEPT?: undefined; - }; - }; - export default _default_12; -} -declare module "src/core/shared/locale/languages/de" { - const _default_13: { - [x: string]: string | { - LABEL_DECLINE: string; - LABEL_ACCEPT: string; - LABEL_SPLIT_TEXT?: undefined; - ITEM_SLOTS?: undefined; - LABEL_SPLIT?: undefined; - LABEL_CANCEL?: undefined; - LABEL_DROP_ITEM?: undefined; - LABEL_WEIGHT?: undefined; - } | { - LABEL_SPLIT_TEXT: string; - LABEL_DECLINE?: undefined; - LABEL_ACCEPT?: undefined; - ITEM_SLOTS?: undefined; - LABEL_SPLIT?: undefined; - LABEL_CANCEL?: undefined; - LABEL_DROP_ITEM?: undefined; - LABEL_WEIGHT?: undefined; - } | { - ITEM_SLOTS: string[]; - LABEL_SPLIT: string; - LABEL_CANCEL: string; - LABEL_DROP_ITEM: string; - LABEL_WEIGHT: string; - LABEL_SPLIT_TEXT: string; - LABEL_DECLINE?: undefined; - LABEL_ACCEPT?: undefined; - }; - }; - export default _default_13; -} -declare module "src/core/shared/locale/locale" { - export const placeholder = "_%_"; - export class LocaleController { - static setLanguage(iso639?: string): void; - static get(key: string, ...args: any[]): string; - static getWebviewLocale(key: string): Object; - } -} -declare module "src/core/client/systems/noclip" { } -declare module "src/core/client/systems/notification" { - export type NotificationCallback = ((message: string, ...args: any[]) => void) | Function; - export function disableDefault(): void; - export function addCallback(callback: NotificationCallback): void; -} -declare module "src/core/shared/interfaces/taskTimeline" { - export interface Task { - nativeName: string; - params: any[]; - timeToWaitInMs: number; - } - export interface TaskCallback { - callbackName: string; - } -} -declare module "src/core/client/systems/tasks" { } -declare module "src/core/client/systems/tick" { } -declare module "src/core/client/utility/entitySets" { } -declare module "src/core/client/utility/ipl" { } -declare module "src/core/client/utility/lerp" { } -declare module "src/core/client/utility/polygonShape" { } -declare module "src/core/shared/utility/buffer" { - export class AthenaBuffer { - static toBuffer(data: string, size?: number): Array; - static fromBuffer(data: Array): string; - } -} -declare module "src/core/client/utility/screenshot" { } -declare module "src/core/shared/interfaces/actions" { - export interface Action { - eventName: string; - isServer?: boolean; - data?: any; - } - export interface ActionMenu { - [key: string]: Action | ActionMenu; - } -} -declare module "src/core/client/views/actions" { } -declare module "src/core/shared/interfaces/jobTrigger" { - export interface JobTrigger { - image: string; - header: string; - summary: string; - maxAmount?: number; - event?: string; - cancelEvent?: string; - acceptCallback?: (player: T, amount?: number) => void; - cancelCallback?: (player: T) => void; - } -} -declare module "src/core/client/views/job" { } -declare module "src/core/client/startup" { - import '../plugins/athena/client/imports'; - import "src/core/client/camera/cinematic"; - import "src/core/client/camera/gameplay"; - import "src/core/client/camera/pedEdit"; - import "src/core/client/camera/switch"; - import "src/core/client/commands/rmlui"; - import "src/core/client/events/connectionComplete"; - import "src/core/client/events/disconnect"; - import "src/core/client/events/meta"; - import "src/core/client/events/onInventoryUpdate"; - import "src/core/client/events/onTicksStart"; - import "src/core/client/extensions/meta"; - import "src/core/client/extensions/player"; - import "src/core/client/menus/animation"; - import "src/core/client/menus/player"; - import "src/core/client/menus/object"; - import "src/core/client/menus/vehicle"; - import "src/core/client/rmlui/fonts/index"; - import "src/core/client/rmlui/input/index"; - import "src/core/client/rmlui/menu/index"; - import "src/core/client/rmlui/menu3d/index"; - import "src/core/client/rmlui/progressbar/index"; - import "src/core/client/rmlui/question/index"; - import "src/core/client/rmlui/sprites/index"; - import "src/core/client/rmlui/staticText/index"; - import "src/core/client/screen/credits"; - import "src/core/client/screen/errorScreen"; - import "src/core/client/screen/missionText"; - import "src/core/client/screen/marker"; - import "src/core/client/screen/minimap"; - import "src/core/client/screen/missionText"; - import "src/core/client/screen/mouse"; - import "src/core/client/screen/notification"; - import "src/core/client/screen/particle"; - import "src/core/client/screen/progressBar"; - import "src/core/client/screen/scaleform"; - import "src/core/client/screen/screenEffect"; - import "src/core/client/screen/screenFade"; - import "src/core/client/screen/shard"; - import "src/core/client/screen/spinner"; - import "src/core/client/screen/text"; - import "src/core/client/screen/texture"; - import "src/core/client/screen/timecycle"; - import "src/core/client/streamers/attachable"; - import "src/core/client/streamers/blip"; - import "src/core/client/streamers/doors"; - import "src/core/client/streamers/item"; - import "src/core/client/streamers/marker"; - import "src/core/client/streamers/object"; - import "src/core/client/streamers/ped"; - import "src/core/client/streamers/textlabel"; - import "src/core/client/streamers/worldNotifications"; - import "src/core/client/systems/defaults/ammo"; - import "src/core/client/systems/defaults/displayId"; - import "src/core/client/systems/defaults/time"; - import "src/core/client/systems/defaults/toolbar"; - import "src/core/client/systems/acceptDeclineEvent"; - import "src/core/client/systems/adminControl"; - import "src/core/client/systems/animations"; - import "src/core/client/systems/arrest"; - import "src/core/client/systems/athenaEvents"; - import "src/core/client/systems/character"; - import "src/core/client/systems/debug"; - import "src/core/client/systems/disable"; - import "src/core/client/systems/entitySelector"; - import "src/core/client/systems/hotkeyRegistry"; - import "src/core/client/systems/interaction"; - import "src/core/client/systems/interiors"; - import "src/core/client/systems/job"; - import "src/core/client/systems/jwt"; - import "src/core/client/systems/messenger"; - import "src/core/client/systems/noclip"; - import "src/core/client/systems/notification"; - import "src/core/client/systems/playerConfig"; - import "src/core/client/systems/sound"; - import "src/core/client/systems/tasks"; - import "src/core/client/systems/tick"; - import "src/core/client/systems/vehicle"; - import "src/core/client/utility/entitySets"; - import "src/core/client/utility/ipl"; - import "src/core/client/utility/lerp"; - import "src/core/client/utility/polygonShape"; - import "src/core/client/utility/screenshot"; - import "src/core/client/utility/scenarios"; - import "src/core/client/webview/index"; - import "src/core/client/webview/page"; - import "src/core/client/views/actions"; - import "src/core/client/views/audio"; - import "src/core/client/views/job"; - import "src/core/client/views/wheelMenu"; - import "src/core/client/world/weather"; -} -declare module "src/core/client/systems/alarm" { - export function loadAlarm(name: string, count?: number): Promise; - export function startAlarm(name: string): Promise; - export function stopAlarm(name: string): Promise; - export function stopAllAlarms(): Promise; -} -declare module "src/core/client/utility/characterPed" { - import * as alt from 'alt-client'; - import { Appearance } from "src/core/shared/interfaces/appearance"; - export const PedCharacter: { - create(isMale: boolean, _pos: alt.IVector3, _rot?: alt.IVector3 | number): Promise; - apply(_appearance: Appearance, forceSameShoes?: boolean): Promise; - getApperance(): Appearance | null; - get(): number; - setHidden(value: boolean): void; - destroy(): Promise; - }; -} -declare module "src/core/client/utility/disableControls" { - export function disableAllControls(value: boolean): void; - export function disableAllAttacks(value: boolean): void; - export function handleDisablingAttacks(): void; -} -declare module "src/core/client/utility/raycast" { - import * as alt from 'alt-client'; - const Raycast: { - performRaycast(start: alt.IVector3, end: alt.IVector3, flags: number, radius: number, useShapeTest?: boolean): [number, boolean, alt.IVector3, alt.IVector3, number]; - positionFromCamera(flags?: number, useShapeTest?: boolean, radius?: number): alt.IVector3 | null; - simpleRaycast(flags?: number, maxDistance?: number, useShapeTest?: boolean, radius?: number): { - didComplete: boolean; - didHit?: boolean; - position?: alt.IVector3; - entityHit?: number; - }; - simpleRaycastPlayersView(flags?: number, maxDistance?: number, useShapeTest?: boolean, radius?: number): { - didComplete: boolean; - didHit?: boolean; - position?: alt.IVector3; - entityHit?: number; - }; - positionFromPlayer(flags?: number, useShapeTest?: boolean, radius?: number): alt.IVector3 | null; - isFacingWater(): null | alt.IVector3; - }; - export default Raycast; -} -declare module "src/core/client/views/input" { } -declare module "src/core/plugins/athena-debug/shared/events" { - export const ATHENA_DEBUG_EVENTS: { - ClientToServer: { - FORWARD: string; - }; - toClient: { - exec: string; - }; - }; -} -declare module "src/core/plugins/athena-debug/client/index" { } -declare module "src/core/server/config/playerConfig" { - import * as alt from 'alt-server'; - import { PlayerConfigKeys } from "src/core/shared/enums/playerConfigKeys"; - export function set(player: alt.Player, key: PlayerConfigKeys | CustomKeys, value: any): void; - const _default_14: { - set: typeof set; - }; - export default _default_14; -} -declare module "src/core/server/config/index" { - export { default as player } from "src/core/server/config/playerConfig"; -} -declare module "src/core/shared/interfaces/iStream" { - import * as alt from 'alt-shared'; - export interface IStreamConfig { - TimeBetweenUpdates: number; - } - export interface IStream { - id?: number; - } - export interface IStreamMessage { - id: number; - route: string; - data: any; - } - export interface IStreamPopulate { - key: string; - array: Array; - } - export interface IStreamUpdate { - pos: alt.IVector3; - dimension?: number; - } -} -declare module "src/core/server/athena/stream/config" { - import { IStreamConfig } from "src/core/shared/interfaces/iStream"; - const StreamConfiguration: IStreamConfig; - export default StreamConfiguration; -} -declare module "src/core/server/athena/main" { - export const DEFAULT_CONFIG: { - CHARACTER_SELECT_POS: { - x: number; - y: number; - z: number; - }; - CHARACTER_SELECT_ROT: number; - CHARACTER_CREATOR_POS: { - x: number; - y: number; - z: number; - }; - CHARACTER_CREATOR_ROT: number; - PLAYER_NEW_SPAWN_POS: { - x: number; - y: number; - z: number; - }; - PLAYER_CASH: number; - PLAYER_BANK: number; - MAX_INTERACTION_DISTANCE: number; - TIME_BETWEEN_VEHICLE_SAVES: number; - DESPAWN_VEHICLES_ON_LOGOUT: boolean; - VEHICLE_SPAWN_TIMEOUT: number; - VEHICLE_MAX_DISTANCE_TO_ENTER: number; - VEHICLE_DISPLAY_LOCK_STATUS: boolean; - VEHICLE_DISPLAY_LOCK_INTERACTION_INFO: boolean; - VEHICLE_DESPAWN_TIMEOUT: number; - STREAM_CONFIG: import("src/core/shared/interfaces/iStream").IStreamConfig; - LOGIN_REDIRECT_URL: any; - }; -} -declare module "src/core/server/systems/streamer" { - import * as alt from 'alt-server'; - export function registerCallback(key: string, callback: (player: alt.Player, streamedData: Array) => void, range?: number): Promise; - export function updateData(key: string, array: Array): Promise; -} -declare module "src/core/shared/information/doors" { - import { Door } from "src/core/shared/interfaces/door"; - export const Doors: Array; -} -declare module "src/core/server/database/collections" { - export enum Collections { - Accounts = "accounts", - Characters = "characters", - Interiors = "interiors", - Options = "options", - Vehicles = "vehicles", - Storage = "storage", - Factions = "factions", - Items = "items", - Doors = "doorstates", - Drops = "itemdrops" - } -} -declare module "src/core/server/controllers/doors" { - import "src/core/server/systems/streamer"; - import { Door } from "src/core/shared/interfaces/door"; - export function append(door: Door): string; - export function remove(uid: string): boolean; - export function update(uid: string, isUnlocked: boolean): Promise; - export function override(functionName: 'append', callback: typeof append): any; - export function override(functionName: 'remove', callback: typeof remove): any; - export function override(functionName: 'update', callback: typeof update): any; -} -declare module "src/core/server/controllers/itemDrops" { - import { ItemDrop } from "src/core/shared/interfaces/item"; - import "src/core/server/systems/streamer"; - export function append(itemDrop: ItemDrop): string; - export function remove(id: string): boolean; - export function override(functionName: 'append', callback: typeof append): any; - export function override(functionName: 'remove', callback: typeof remove): any; -} -declare module "src/core/server/utility/hash" { - export function hashPassword(plainTextPassword: string): string; - export function testPassword(plainTextPassword: string, pbkdf2Hash: string): boolean; - export function sha256(data: string): string; - export function sha256Random(data: string): string; - const _default_15: { - sha256: typeof sha256; - sha256Random: typeof sha256Random; - testPassword: typeof testPassword; - hashPassword: typeof hashPassword; - }; - export default _default_15; -} -declare module "src/core/server/controllers/marker" { - import * as alt from 'alt-server'; - import "src/core/server/systems/streamer"; - import { Marker } from "src/core/shared/interfaces/marker"; - export function append(marker: Marker): string; - export function remove(uid: string): boolean; - export function removeFromPlayer(player: alt.Player, uid: string): any; - export function addToPlayer(player: alt.Player, marker: Marker): string; - export function override(functionName: 'append', callback: typeof append): any; - export function override(functionName: 'remove', callback: typeof remove): any; - export function override(functionName: 'addToPlayer', callback: typeof addToPlayer): any; - export function override(functionName: 'removeFromPlayer', callback: typeof removeFromPlayer): any; -} -declare module "src/core/server/controllers/object" { - import * as alt from 'alt-server'; - import "src/core/server/systems/streamer"; - import { IObject } from "src/core/shared/interfaces/iObject"; - export function append(objectData: IObject): string; - export function remove(uid: string): boolean; - export function removeFromPlayer(player: alt.Player, uid: string): any; - export function addToPlayer(player: alt.Player, objectData: IObject): string; - export function updatePosition(uid: string, pos: alt.IVector3, player?: alt.Player): boolean; - export function updateModel(uid: string, model: string, player?: alt.Player): boolean; - export function override(functionName: 'append', callback: typeof append): any; - export function override(functionName: 'remove', callback: typeof remove): any; - export function override(functionName: 'addToPlayer', callback: typeof addToPlayer): any; - export function override(functionName: 'removeFromPlayer', callback: typeof removeFromPlayer): any; - export function override(functionName: 'updatePosition', callback: typeof updatePosition): any; - export function override(functionName: 'updateModel', callback: typeof updateModel): any; -} -declare module "src/core/server/controllers/staticPed" { - import * as alt from 'alt-server'; - import "src/core/server/systems/streamer"; - import { IPed } from "src/core/shared/interfaces/iPed"; - import { Animation } from "src/core/shared/interfaces/animation"; - export function append(pedData: IPed): string; - export function remove(uid: string): boolean; - export function removeFromPlayer(player: alt.Player, uid: string): any; - export function addToPlayer(player: alt.Player, pedData: IPed): string; - export function playAnimation(uid: string, animation: Animation[]): void; - export function override(functionName: 'append', callback: typeof append): any; - export function override(functionName: 'remove', callback: typeof remove): any; - export function override(functionName: 'addToPlayer', callback: typeof addToPlayer): any; - export function override(functionName: 'removeFromPlayer', callback: typeof removeFromPlayer): any; -} -declare module "src/core/server/controllers/textlabel" { - import * as alt from 'alt-server'; - import "src/core/server/systems/streamer"; - import { TextLabel } from "src/core/shared/interfaces/textLabel"; - export function append(label: TextLabel): string; - export function update(uid: string, label: Partial, player?: alt.Player): boolean; - export function remove(uid: string): boolean; - export function removeFromPlayer(player: alt.Player, uid: string): any; - export function addToPlayer(player: alt.Player, textLabel: TextLabel): string; - export function override(functionName: 'append', callback: typeof append): any; - export function override(functionName: 'remove', callback: typeof remove): any; - export function override(functionName: 'addToPlayer', callback: typeof addToPlayer): any; - export function override(functionName: 'removeFromPlayer', callback: typeof removeFromPlayer): any; - export function override(functionName: 'update', callback: typeof update): any; -} -declare module "src/core/server/controllers/worldNotifications" { - import * as alt from 'alt-server'; - import "src/core/server/systems/streamer"; - import { IWorldNotification } from "src/core/shared/interfaces/iWorldNotification"; - export function append(notification: IWorldNotification): string; - export function remove(uid: string): boolean; - export function removeFromPlayer(player: alt.Player, uid: string): any; - export function addToPlayer(player: alt.Player, notification: IWorldNotification): string; - export function update(player: alt.Player, notifications: Array): any; - export function override(functionName: 'append', callback: typeof append): any; - export function override(functionName: 'remove', callback: typeof remove): any; - export function override(functionName: 'addToPlayer', callback: typeof addToPlayer): any; - export function override(functionName: 'removeFromPlayer', callback: typeof removeFromPlayer): any; - export function override(functionName: 'update', callback: typeof update): any; -} -declare module "src/core/server/interface/iAccount" { - import { PERMISSIONS } from '../../shared/flags/permissionFlags'; - export interface Account { - _id: any; - id?: number; - discord?: string; - email?: string; - ips: Array; - hardware: Array; - lastLogin: number; - permissionLevel: PERMISSIONS; - permissions: Array; - banned: boolean; - reason: string; - } -} -declare module "src/core/server/controllers/admin" { - import * as alt from 'alt-server'; - export function banPlayer(player: alt.Player, reason: string): Promise; - export function unbanPlayerByDiscord(discord: string): Promise; - export function override(functionName: 'banPlayer', callback: typeof banPlayer): any; - export function override(functionName: 'unbanPlayerByDiscord', callback: typeof unbanPlayerByDiscord): any; -} -declare module "src/core/server/controllers/blip" { - import * as alt from 'alt-server'; - import "src/core/server/systems/streamer"; - import { Blip } from "src/core/shared/interfaces/blip"; - export function append(blip: Blip): string; - export function remove(uid: string): boolean; - export function removeFromPlayer(player: alt.Player, uid: string): any; - export function addToPlayer(player: alt.Player, blipData: Blip): any; - export function populateGlobalBlips(player: alt.Player): any; - export function override(functionName: 'append', callback: typeof append): any; - export function override(functionName: 'remove', callback: typeof remove): any; - export function override(functionName: 'addToPlayer', callback: typeof addToPlayer): any; - export function override(functionName: 'removeFromPlayer', callback: typeof removeFromPlayer): any; - export function override(functionName: 'populateGlobalBlips', callback: typeof populateGlobalBlips): any; -} -declare module "src/core/server/extensions/extColshape" { - import * as alt from 'alt-server'; - import { Interaction } from "src/core/shared/interfaces/interaction"; - export class InteractionShape extends alt.ColshapeCylinder { - interaction: Interaction; - constructor(interaction: Required); - } - export class GarageSpaceShape extends alt.ColshapeSphere { - private rotation; - private isOpen; - isGarage: boolean; - constructor(position: alt.IVector3, rotation: alt.IVector3, radius: number); - setSpaceStatus(value: boolean): void; - getPositionAndRotation(): { - position: alt.Vector3; - rotation: alt.IVector3; - }; - getSpaceStatus(): boolean; - } - export class PolygonShape extends alt.ColshapePolygon { - uid: string; - vertices: Array; - isPlayerOnly: boolean; - isVehicleOnly: boolean; - isPolygonShape: boolean; - isDebug: boolean; - private enterCallbacks; - private leaveCallbacks; - constructor(minZ: number, maxZ: number, vertices: alt.IVector2[] | alt.IVector3[], isPlayerOnly: boolean, isVehicleOnly: boolean, debug?: boolean); - addEnterCallback(callback: (shape: PolygonShape, entity: alt.Vehicle | alt.Player | alt.Entity) => void): void; - addLeaveCallback(callback: (shape: PolygonShape, entity: alt.Vehicle | alt.Player | alt.Entity) => void): void; - invokeEnterCallbacks(entity: alt.Entity): void; - invokeLeaveCallbacks(entity: alt.Entity): void; - } -} -declare module "src/core/shared/utility/deepCopy" { - export function deepCloneObject(data: object): T; - export function deepCloneArray(data: Array): Array; -} -declare module "src/core/server/controllers/interaction" { - import * as alt from 'alt-server'; - import { InteractionShape } from "src/core/server/extensions/extColshape"; - import { Interaction } from "src/core/shared/interfaces/interaction"; - const InternalFunctions: { - add(shape: InteractionShape): void; - remove(uid: string): void; - enter(colshape: InteractionShape, entity: alt.Entity): any; - leave(colshape: InteractionShape, entity: alt.Entity): any; - trigger(player: alt.Player): void; - }; - export function append(interaction: Interaction): string; - export function remove(uid: string): void; - export function get(uid: string): InteractionShape | undefined; - export function getBindings(): { - [player_id: string]: InteractionShape; - }; - export function override(functionName: 'append', callback: typeof append): any; - export function override(functionName: 'remove', callback: typeof remove): any; - export function override(functionName: 'get', callback: typeof get): any; - export function override(functionName: 'getBindings', callback: typeof getBindings): any; - export function overrideInternal(functionName: 'trigger', callback: typeof InternalFunctions.trigger): any; - export function overrideInternal(functionName: 'leave', callback: typeof InternalFunctions.leave): any; - export function overrideInternal(functionName: 'enter', callback: typeof InternalFunctions.enter): any; -} -declare module "src/core/server/controllers/index" { - export * as doors from "src/core/server/controllers/doors"; - export * as itemDrops from "src/core/server/controllers/itemDrops"; - export * as marker from "src/core/server/controllers/marker"; - export * as object from "src/core/server/controllers/object"; - export * as staticPed from "src/core/server/controllers/staticPed"; - export * as textLabel from "src/core/server/controllers/textlabel"; - export * as worldNotification from "src/core/server/controllers/worldNotifications"; - export * as admin from "src/core/server/controllers/admin"; - export * as blip from "src/core/server/controllers/blip"; - export * as interaction from "src/core/server/controllers/interaction"; -} -declare module "src/core/shared/information/atms" { - const _default_16: { - x: number; - y: number; - z: number; - }[]; - export default _default_16; -} -declare module "src/core/shared/information/vendingMachines" { - const _default_17: { - x: number; - y: number; - z: number; - isBlip: boolean; - }[]; - export default _default_17; -} -declare module "src/core/server/api/consts/constData" { - export { default as atms } from "src/core/shared/information/atms"; - export { VehicleData as vehicles } from "src/core/shared/information/vehicles"; - export { default as vendingMachines } from "src/core/shared/information/vendingMachines"; -} -declare module "src/core/server/interface/iConfig" { - export interface IConfig { - DISCORD_BOT?: string; - DISCORD_SERVER_ID?: string; - WHITELIST_ROLE?: string; - ARES_ENDPOINT?: string; - MONGO_URL?: string; - MONGO_USERNAME?: string; - MONGO_PASSWORD?: string; - MONGO_COLLECTIONS?: string; - MONGO_DATABASE_NAME?: string; - WEBSERVER_IP?: string; - VUE_DEBUG?: string | boolean; - USE_ALTV_RECONNECT?: boolean; - USE_DEV_MODE?: boolean; - } -} -declare module "src/core/server/database/connection" { - import { IConfig } from "src/core/server/interface/iConfig"; - export function getURL(config: IConfig): string; - export function getCollections(): string[]; - export function getName(config: IConfig): string; - export function throwConnectionError(): void; - const _default_18: { - getCollections: typeof getCollections; - getName: typeof getName; - getURL: typeof getURL; - throwConnectionError: typeof throwConnectionError; - }; - export default _default_18; -} -declare module "src/core/server/database/index" { - export { Collections as collections } from "src/core/server/database/collections"; - export { default as connection } from "src/core/server/database/connection"; -} -declare module "src/core/shared/utility/knownKeys" { - export type KnownKeys = { - [K in keyof T as string extends K ? never : number extends K ? never : K]: T[K]; - }; - export type OmitFromKnownKeys = KnownKeys extends infer U ? keyof U extends keyof T ? Pick> & Pick>> : never : never; - export type RemoveIndex = { - [P in keyof T as string extends P ? never : number extends P ? never : P]: T[P]; - }; -} -declare module "src/core/server/document/accountData" { - import * as alt from 'alt-server'; - import { KnownKeys } from "src/core/shared/utility/knownKeys"; - import { Account } from "src/core/server/interface/iAccount"; - export type KeyChangeCallback = (player: alt.Player, newValue: any, oldValue: any) => void; - export function bind(player: alt.Player, document: Account): any; - export function unbind(id: number): any; - export function get(player: alt.Player): T | undefined; - export function getField(player: alt.Player, fieldName: keyof KnownKeys): ReturnType | undefined; - export function set>(player: alt.Player, fieldName: Keys, value: any): any; - export function setBulk>(player: alt.Player, fields: Keys): any; - export function onChange(fieldName: keyof KnownKeys, callback: KeyChangeCallback): any; - export function override(functionName: 'bind', callback: typeof bind): any; - export function override(functionName: 'unbind', callback: typeof unbind): any; - export function override(functionName: 'get', callback: typeof get): any; - export function override(functionName: 'getField', callback: typeof getField): any; - export function override(functionName: 'set', callback: typeof set): any; - export function override(functionName: 'setBulk', callback: typeof setBulk): any; - export function override(functionName: 'onChange', callback: typeof onChange): any; -} -declare module "src/core/shared/interfaces/characterInfo" { - export interface CharacterInfo { - gender?: string; - age?: any; - } -} -declare module "src/core/shared/interfaces/character" { - import * as alt from 'alt-shared'; - import { Appearance } from "src/core/shared/interfaces/appearance"; - import { CharacterInfo } from "src/core/shared/interfaces/characterInfo"; - import { ClothingComponent, StoredItem } from "src/core/shared/interfaces/item"; - export interface Character { - [key: string]: any; - _id?: any; - character_id?: number; - account_id: any; - dimension: number; - pos: Partial; - name: string; - cash: number; - bank: number; - health: number; - armour: number; - food: number; - water: number; - isDead: boolean; - hours: number; - wanted: number; - appearance: Partial | Appearance; - info: Partial; - interior: number | undefined; - permissions: Array; - inventory: Array; - toolbar: Array; - uniform?: Array; - skin?: string | number; - groups?: { - [key: string]: Array; - }; - } - export const CharacterDefaults: Partial; -} -declare module "src/core/server/document/character" { - import * as alt from 'alt-server'; - import { Character } from "src/core/shared/interfaces/character"; - import { KnownKeys } from "src/core/shared/utility/knownKeys"; - export type KeyChangeCallback = (player: alt.Player, newValue: any, oldValue: any) => void; - export function bind(player: alt.Player, document: Character): any; - export function unbind(id: number): any; - export function get(player: alt.Player): T | undefined; - export function getField(player: alt.Player, fieldName: keyof KnownKeys): ReturnType | undefined; - export function set>(player: alt.Player, fieldName: Keys, value: any, skipCallbacks?: boolean): any; - export function setBulk>(player: alt.Player, fields: Keys): any; - export function onChange(fieldName: keyof KnownKeys, callback: KeyChangeCallback): any; - export function override(functionName: 'bind', callback: typeof bind): any; - export function override(functionName: 'unbind', callback: typeof unbind): any; - export function override(functionName: 'get', callback: typeof get): any; - export function override(functionName: 'getField', callback: typeof getField): any; - export function override(functionName: 'set', callback: typeof set): any; - export function override(functionName: 'setBulk', callback: typeof setBulk): any; - export function override(functionName: 'onChange', callback: typeof onChange): any; -} -declare module "src/core/shared/interfaces/vehicleBase" { - import * as alt from 'alt-shared'; - export interface BaseVehicle { - _id?: unknown; - id?: number; - owner: string | null; - model: string; - pos: alt.IVector3; - rot: alt.IVector3; - dimension: number; - plate: string; - keys: Array; - permissions: Array; - fuel: number; - garageInfo?: number; - doNotDespawn?: boolean; - lastUsed?: number; - groups: { - [key: string]: Array; - }; - } -} -declare module "src/core/shared/interfaces/vehicleState" { - import { WindowTint } from 'alt-server'; - import { IVehicleNeon } from 'alt-server'; - import * as alt from 'alt-shared'; - export interface VehicleState { - activeRadioStation: number; - bodyAdditionalHealth: number; - bodyHealth: number; - customPrimaryColor: alt.RGBA; - customSecondaryColor: alt.RGBA; - customTires: boolean; - darkness: number; - dashboardColor: number; - dirtLevel: number; - engineHealth: number; - engineOn: boolean; - headlightColor: number; - interiorColor: number; - lightsMultiplier: number; - livery: number; - lockState: alt.VehicleLockState; - manualEngineControl: boolean; - neon: IVehicleNeon; - neonColor: alt.RGBA; - numberPlateIndex: number; - numberPlateText: string; - pearlColor: number; - petrolTankHealth: number; - primaryColor: number; - roofLivery: number; - roofState: boolean; - secondaryColor: number; - sirenActive: boolean; - tireSmokeColor: alt.RGBA; - wheelColor: number; - windowTint: WindowTint; - driftModeEnabled: boolean; - isMissionTrain: boolean; - trainTrackId: number; - trainConfigIndex: number; - trainDistanceFromEngine: number; - isTrainEngine: boolean; - isTrainCaboose: boolean; - trainPassengerCarriages: boolean; - trainDirection: boolean; - trainRenderDerailed: boolean; - trainForceDoorsOpen: boolean; - trainCruiseSpeed: number; - trainCarriageConfigIndex: number; - trainUnk1: boolean; - trainUnk2: boolean; - trainUnk3: boolean; - boatAnchorActive: boolean; - lightState: number; - rocketRefuelSpeed: number; - counterMeasureCount: number; - scriptMaxSpeed: number; - hybridExtraActive: boolean; - hybridExtraState: number; - } -} -declare module "src/core/shared/interfaces/vehicleMod" { - export default interface IVehicleMod { - id: number; - value: number; - } -} -declare module "src/core/shared/interfaces/vehicleTuning" { - import IVehicleMod from "src/core/shared/interfaces/vehicleMod"; - export interface IVehicleTuning { - modkit: number; - mods: Array; - } - export default IVehicleTuning; -} -declare module "src/core/shared/interfaces/vehicleOwned" { - import { BaseVehicle } from "src/core/shared/interfaces/vehicleBase"; - import { VehicleState } from "src/core/shared/interfaces/vehicleState"; - import VehicleTuning from "src/core/shared/interfaces/vehicleTuning"; - export type PartDamage = { - bulletHoles?: number; - damageLevel: string; - }; - export interface VehicleDamage { - parts?: { - [part: string]: PartDamage; - }; - bumpers?: { - [part: string]: PartDamage; - }; - windows?: { - [part: string]: PartDamage; - }; - wheels?: Array; - lights?: Array; - } - export interface OwnedVehicle extends BaseVehicle { - tuning?: Partial | VehicleTuning | undefined; - state?: Partial | VehicleState; - damage?: VehicleDamage; - } -} -declare module "src/core/server/document/vehicle" { - import * as alt from 'alt-server'; - import { KnownKeys } from "src/core/shared/utility/knownKeys"; - import { OwnedVehicle } from "src/core/shared/interfaces/vehicleOwned"; - export type KeyChangeCallback = (vehicle: alt.Vehicle, newValue: any, oldValue: any) => void; - export function unbind(id: number): any; - export function bind(vehicle: alt.Vehicle, document: OwnedVehicle): any; - export function get(vehicle: alt.Vehicle): T | undefined; - export function getField(vehicle: alt.Vehicle, fieldName: keyof KnownKeys): ReturnType | undefined; - export function set>(vehicle: alt.Vehicle, fieldName: Keys, value: any, skipCallbacks?: boolean): any; - export function setBulk>(vehicle: alt.Vehicle, fields: Keys): any; - export function onChange(fieldName: keyof KnownKeys, callback: KeyChangeCallback): any; - export function exists(_id: string): boolean; - export function override(functionName: 'exists', callback: typeof exists): any; - export function override(functionName: 'bind', callback: typeof bind): any; - export function override(functionName: 'unbind', callback: typeof unbind): any; - export function override(functionName: 'get', callback: typeof get): any; - export function override(functionName: 'getField', callback: typeof getField): any; - export function override(functionName: 'set', callback: typeof set): any; - export function override(functionName: 'setBulk', callback: typeof setBulk): any; - export function override(functionName: 'onChange', callback: typeof onChange): any; -} -declare module "src/core/server/document/index" { - export * as account from "src/core/server/document/accountData"; - export * as character from "src/core/server/document/character"; - export * as vehicle from "src/core/server/document/vehicle"; -} -declare module "src/core/server/vehicle/events" { - import { OwnedVehicle } from "src/core/shared/interfaces/vehicleOwned"; - import * as alt from 'alt-server'; - export type AthenaVehicleEvents = 'engine-started' | 'engine-stopped' | 'door-opened' | 'door-closed' | 'doors-locked' | 'doors-lock-changed' | 'doors-unlocked' | 'vehicle-destroyed' | 'vehicle-repaired' | 'vehicle-spawned' | 'vehicle-repaired'; - export function trigger(eventName: CustomEvents, vehicle: alt.Vehicle, ...args: any[]): void; - export function on(eventName: 'vehicle-spawned', callback: (vehicle: alt.Vehicle) => void): any; - export function on(eventName: 'doors-unlocked', callback: (vehicle: alt.Vehicle, player: alt.Player) => void): any; - export function on(eventName: 'doors-locked', callback: (vehicle: alt.Vehicle, player: alt.Player) => void): any; - export function on(eventName: 'doors-lock-changed', callback: (vehicle: alt.Vehicle, player: alt.Player) => void): any; - export function on(eventName: 'door-closed', callback: (vehicle: alt.Vehicle, door: number, player: alt.Player) => void): any; - export function on(eventName: 'door-opened', callback: (vehicle: alt.Vehicle, door: number, player: alt.Player) => void): any; - export function on(eventName: 'engine-stopped', callback: (vehicle: alt.Vehicle, player: alt.Player) => void): any; - export function on(eventName: 'engine-started', callback: (vehicle: alt.Vehicle, player: alt.Player) => void): any; - export function on(eventName: 'vehicle-repaired', callback: (vehicle: alt.Vehicle) => void): any; - export function on(eventName: 'vehicle-destroyed', callback: (vehicle: alt.Vehicle, document: OwnedVehicle | undefined) => void): any; -} -declare module "src/core/server/events/index" { - export * as vehicle from "src/core/server/vehicle/events"; -} -declare module "src/core/server/api/consts/constExtensions" { - export { InteractionShape, PolygonShape } from "src/core/server/extensions/extColshape"; -} -declare module "src/core/server/getters/player" { - import * as alt from 'alt-server'; - import { Character } from "src/core/shared/interfaces/character"; - import { Account } from "src/core/server/interface/iAccount"; - import { OwnedVehicle } from "src/core/shared/interfaces/vehicleOwned"; - export function byAccount(id: string): alt.Player | undefined; - export function byName(name: string): alt.Player | undefined; - export function byPartialName(partialName: string): alt.Player | undefined; - export function byDatabaseID(id: string): alt.Player | undefined; - export function byID(id: number): alt.Player | undefined; - export function inFrontOf(player: alt.Player, startDistance?: number): Promise; - export function isNearPosition(player: alt.Player, pos: alt.IVector3, dist?: number): boolean; - export function waypoint(player: alt.Player): alt.IVector3 | undefined; - export function closestToPlayer(player: alt.Player): alt.Player | undefined; - export function closestToVehicle(vehicle: alt.Vehicle): alt.Player | undefined; - export function closestOwnedVehicle(player: alt.Player): alt.Vehicle | undefined; - export function ownedVehicleDocuments(player: alt.Player): Promise>; - export function characters(playerOrAccount: alt.Player | Account | string): Promise>; - export function isDead(player: alt.Player): boolean; - export function isValid(player: alt.Player): boolean; -} -declare module "src/core/server/getters/vehicle" { - import * as alt from 'alt-server'; - export function byID(id: number): alt.Vehicle | undefined; - export function byIncrementalDatabaseID(id: number | string): alt.Vehicle | undefined; - export function byDatabaseID(id: string): alt.Vehicle | undefined; - export function isValidModel(model: number): boolean; - export function inFrontOf(entity: alt.Entity, startDistance?: number): Promise; - export function isNearPosition(vehicle: alt.Vehicle, pos: alt.IVector3, dist?: number): boolean; - export function passengers(vehicle: alt.Vehicle): alt.Player[]; - export function driver(vehicle: alt.Vehicle): alt.Player | undefined; - export function closestToPlayer(player: alt.Player): alt.Player | undefined; - export function closestToVehicle(player: alt.Player): alt.Vehicle | undefined; -} -declare module "src/core/server/getters/players" { - import * as alt from 'alt-server'; - export function online(): alt.Player[]; - export function onlineWithWeapons(): alt.Player[]; - export function inRangeWithDistance(pos: alt.IVector3, range: number): Array<{ - player: alt.Player; - dist: number; - }>; - export function inRange(pos: alt.IVector3, range: number): alt.Player[]; - export function withName(name: string): alt.Player[]; - export function driving(): alt.Player[]; - export function walking(): alt.Player[]; - export function drivingSpecificModel(model: string | number): alt.Player[]; - export function inVehicle(vehicle: alt.Vehicle): alt.Player[]; -} -declare module "src/core/server/getters/vehicles" { - import * as alt from 'alt-server'; - export function inRange(pos: alt.IVector3, range: number): alt.Vehicle[]; -} -declare module "src/core/server/getters/world" { - import * as alt from 'alt-server'; - export function positionIsClear(pos: alt.IVector3, lookFor: 'vehicle' | 'player' | 'all'): Promise; - export function isInOceanWater(entity: alt.Entity): boolean; -} -declare module "src/core/server/getters/index" { - export * as player from "src/core/server/getters/player"; - export * as players from "src/core/server/getters/players"; - export * as vehicle from "src/core/server/getters/vehicle"; - export * as vehicles from "src/core/server/getters/vehicles"; - export * as world from "src/core/server/getters/world"; -} -declare module "src/core/server/player/appearance" { - import * as alt from 'alt-server'; - export type Decorator = { - overlay: string; - collection: string; - }; - export type HairStyle = { - hair: number; - dlc?: string | number; - color1: number; - color2: number; - decorator: Decorator; - }; - export type BaseStyle = { - style: number; - opacity: number; - color: number; - }; - export function setHairStyle(player: alt.Player, style: HairStyle): any; - export function setFacialHair(player: alt.Player, choice: BaseStyle): any; - export function setEyebrows(player: alt.Player, choice: BaseStyle): any; - export function setModel(player: alt.Player, isFeminine: boolean): any; - export function setEyeColor(player: alt.Player, color: number): any; - export function updateTattoos(player: alt.Player, decorators?: Array): any; - export function override(functionName: 'setHairStyle', callback: typeof setHairStyle): any; - export function override(functionName: 'setFacialHair', callback: typeof setFacialHair): any; - export function override(functionName: 'setEyebrows', callback: typeof setEyebrows): any; - export function override(functionName: 'setModel', callback: typeof setModel): any; - export function override(functionName: 'setEyeColor', callback: typeof setEyeColor): any; - export function override(functionName: 'updateTattoos', callback: typeof updateTattoos): any; -} -declare module "src/core/shared/enums/currency" { - export enum CurrencyTypes { - BANK = "bank", - CASH = "cash" - } -} -declare module "src/core/server/player/currency" { - import * as alt from 'alt-server'; - export type DefaultCurrency = 'bank' | 'cash'; - export function add(player: alt.Player, type: DefaultCurrency | CustomCurrency, amount: number): boolean; - export function sub(player: alt.Player, type: DefaultCurrency | CustomCurrency, amount: number): boolean; - export function set(player: alt.Player, type: DefaultCurrency | CustomCurrency, amount: number): boolean; - export function subAllCurrencies(player: alt.Player, amount: number): boolean; - export function override(functionName: 'add', callback: typeof add): any; - export function override(functionName: 'set', callback: typeof set): any; - export function override(functionName: 'sub', callback: typeof sub): any; - export function override(functionName: 'subAllCurrencies', callback: typeof subAllCurrencies): any; -} -declare module "src/core/shared/utility/weather" { - const WEATHER_TYPE: { - readonly ExtraSunny: 0; - readonly Clear: 1; - readonly Clouds: 2; - readonly Smog: 3; - readonly Foggy: 4; - readonly Overcast: 5; - readonly Rain: 6; - readonly Thunder: 7; - readonly Clearing: 8; - readonly Neutral: 9; - readonly Snow: 10; - readonly Blizzard: 11; - readonly Snowlight: 12; - readonly Xmas: 13; - readonly Halloween: 14; - }; - export type WEATHER_KEY = keyof typeof WEATHER_TYPE; - export function getWeatherFromString(weatherName: WEATHER_KEY): number; -} -declare module "src/core/server/player/emit" { - import * as alt from 'alt-server'; - import { ANIMATION_FLAGS } from "src/core/shared/flags/animationFlags"; - import IAttachable from "src/core/shared/interfaces/iAttachable"; - import ICredit from "src/core/shared/interfaces/iCredit"; - import IErrorScreen from "src/core/shared/interfaces/iErrorScreen"; - import IShard from "src/core/shared/interfaces/iShard"; - import ISpinner from "src/core/shared/interfaces/iSpinner"; - import { Particle } from "src/core/shared/interfaces/particle"; - import { ProgressBar } from "src/core/shared/interfaces/progressBar"; - import { Task, TaskCallback } from "src/core/shared/interfaces/taskTimeline"; - import { IWheelOption } from "src/core/shared/interfaces/wheelMenu"; - import { AcceptDeclineEvent } from "src/core/shared/interfaces/acceptDeclineEvent"; - import { RecommendedTimecycleTypes } from "src/core/shared/enums/timecycleTypes"; - import { WEATHER_KEY } from "src/core/shared/utility/weather"; - export function startAlarm(player: alt.Player, name: string): void; - export function stopAlarm(player: alt.Player, name: string): any; - export function stopAllAlarms(player: alt.Player): any; - export function animation(player: alt.Player, dictionary: string, name: string, flags: ANIMATION_FLAGS, duration?: number): void; - export function clearAnimation(player: alt.Player): any; - export function scenario(player: alt.Player, name: string, duration: number): void; - export function meta(player: alt.Player, key: string, value: any): void; - export function notification(player: alt.Player, message: string): void; - export function particle(player: alt.Player, particle: Particle, emitToNearbyPlayers?: boolean): void; - export function createMissionText(player: alt.Player, text: string, duration?: number): any; - export function createProgressBar(player: alt.Player, progressbar: ProgressBar): string; - export function removeProgressBar(player: alt.Player, uid: string): any; - export function sound2D(player: alt.Player, audioName: string, volume?: number, soundInstantID?: string): any; - export function sound3D(player: alt.Player, audioName: string, target: alt.Entity, soundInstantID?: string): void; - export function soundStop(player: alt.Player, soundInstantID?: string): void; - export function soundFrontend(player: alt.Player, audioName: string, ref: string): void; - export function taskTimeline(player: alt.Player, tasks: Array): any; - export function createSpinner(player: alt.Player, spinner: ISpinner): any; - export function clearSpinner(player: alt.Player): any; - export function createErrorScreen(player: alt.Player, screen: IErrorScreen): any; - export function clearErrorScreen(player: alt.Player): any; - export function createShard(player: alt.Player, shard: IShard): any; - export function clearShard(player: alt.Player): any; - export function createCredits(player: alt.Player, credits: ICredit): any; - export function clearCredits(player: alt.Player): any; - export function objectAttach(player: alt.Player, attachable: IAttachable, removeAfterMilliseconds?: number): string | null; - export function objectRemove(player: alt.Player, uid: string): any; - export function tempObjectLerp(player: alt.Player, model: string, start: alt.IVector3, end: alt.IVector3, speed: number): any; - export function wheelMenu(player: alt.Player, label: string, wheelItems: Array): any; - export function message(player: alt.Player, msg: string): any; - export function acceptDeclineEvent(player: alt.Player, eventInfo: AcceptDeclineEvent): any; - export function fadeScreenToBlack(player: alt.Player, timeInMs: number): void; - export function fadeScreenFromBlack(player: alt.Player, timeInMs: number): void; - export function setTimeCycleEffect(player: alt.Player, name: RecommendedTimecycleTypes, amountInMs: number): any; - export function setTimeCycleEffect(player: alt.Player, name: string, amountInMs: number): any; - export function clearTimeCycleEffect(player: alt.Player): void; - export function setWeather(player: alt.Player, weather: WEATHER_KEY, timeInSeconds: number): void; - export function override(functionName: 'acceptDeclineEvent', callback: typeof acceptDeclineEvent): any; - export function override(functionName: 'animation', callback: typeof animation): any; - export function override(functionName: 'clearAnimation', callback: typeof clearAnimation): any; - export function override(functionName: 'clearCredits', callback: typeof clearCredits): any; - export function override(functionName: 'clearTimeCycleEffect', callback: typeof clearTimeCycleEffect): any; - export function override(functionName: 'createErrorScreen', callback: typeof createErrorScreen): any; - export function override(functionName: 'createMissionText', callback: typeof createMissionText): any; - export function override(functionName: 'createProgressBar', callback: typeof createProgressBar): any; - export function override(functionName: 'createShard', callback: typeof createShard): any; - export function override(functionName: 'createSpinner', callback: typeof createSpinner): any; - export function override(functionName: 'fadeScreenFromBlack', callback: typeof fadeScreenFromBlack): any; - export function override(functionName: 'fadeScreenToBlack', callback: typeof fadeScreenToBlack): any; - export function override(functionName: 'message', callback: typeof message): any; - export function override(functionName: 'meta', callback: typeof meta): any; - export function override(functionName: 'notification', callback: typeof notification): any; - export function override(functionName: 'objectAttach', callback: typeof objectAttach): any; - export function override(functionName: 'objectRemove', callback: typeof objectRemove): any; - export function override(functionName: 'particle', callback: typeof particle): any; - export function override(functionName: 'removeProgressBar', callback: typeof removeProgressBar): any; - export function override(functionName: 'scenario', callback: typeof scenario): any; - export function override(functionName: 'setTimeCycleEffect', callback: typeof setTimeCycleEffect): any; - export function override(functionName: 'sound2D', callback: typeof sound2D): any; - export function override(functionName: 'sound3D', callback: typeof sound3D): any; - export function override(functionName: 'soundFrontend', callback: typeof soundFrontend): any; - export function override(functionName: 'soundStop', callback: typeof soundStop): any; - export function override(functionName: 'startAlarm', callback: typeof startAlarm): any; - export function override(functionName: 'stopAlarm', callback: typeof stopAlarm): any; - export function override(functionName: 'stopAllAlarms', callback: typeof stopAllAlarms): any; - export function override(functionName: 'taskTimeline', callback: typeof taskTimeline): any; - export function override(functionName: 'tempObjectLerp', callback: typeof tempObjectLerp): any; - export function override(functionName: 'wheelMenu', callback: typeof wheelMenu): any; -} -declare module "src/core/plugins/core-inventory/shared/interfaces" { - export type InventoryType = 'inventory' | 'toolbar' | 'custom'; - export interface DualSlotInfo { - startType: InventoryType; - startIndex: number; - endType: InventoryType; - endIndex: number; - } -} -declare module "src/core/server/player/events" { - import { InventoryType } from "src/core/plugins/core-inventory/shared/interfaces"; - import { Character } from "src/core/shared/interfaces/character"; - import { StoredItem } from "src/core/shared/interfaces/item"; - import * as alt from 'alt-server'; - export type AthenaPlayerEvents = 'drop-item' | 'increased-play-time' | 'item-equipped' | 'item-unequipped' | 'pickup-item' | 'player-account-created' | 'player-character-created' | 'player-armour-set' | 'player-died' | 'player-disconnected' | 'player-entered-vehicle-as-driver' | 'player-health-set' | 'player-left-vehicle-seat' | 'player-pos-set' | 'player-skin-cleared' | 'player-skin-set' | 'player-uniform-cleared' | 'player-uniform-set' | 'player-weapon-unequipped' | 'respawned' | 'selected-character' | 'set-account-data' | 'spawned'; - export function trigger(eventName: CustomEvents, player: alt.Player, ...args: any[]): void; - export function on(eventName: 'item-equipped', callback: (player: alt.Player, slot: number, type: InventoryType) => void): any; - export function on(eventName: 'item-unequipped', callback: (player: alt.Player, slot: number, type: InventoryType) => void): any; - export function on(eventName: 'player-died', callback: (player: alt.Player) => void): any; - export function on(eventName: 'player-uniform-set', callback: (player: alt.Player) => void): any; - export function on(eventName: 'player-uniform-cleared', callback: (player: alt.Player) => void): any; - export function on(eventName: 'player-skin-set', callback: (player: alt.Player) => void): any; - export function on(eventName: 'player-skin-cleared', callback: (player: alt.Player) => void): any; - export function on(eventName: 'player-health-set', callback: (player: alt.Player, oldValue: number) => void): any; - export function on(eventName: 'player-armour-set', callback: (player: alt.Player, oldValue: number) => void): any; - export function on(eventName: 'player-pos-set', callback: (player: alt.Player, oldValue: alt.IVector3) => void): any; - export function on(eventName: 'increased-play-time', callback: (player: alt.Player, newHours: number) => void): any; - export function on(eventName: 'drop-item', callback: (player: alt.Player, storedItem: StoredItem) => void): any; - export function on(eventName: 'pickup-item', callback: (player: alt.Player, _id: string) => void): any; - export function on(eventName: 'selected-character', callback: (player: alt.Player) => void): any; - export function on(eventName: 'respawned', callback: (player: alt.Player) => void): any; - export function on(eventName: 'player-left-vehicle-seat', callback: (player: alt.Player, vehicle: alt.Vehicle, seat: number) => void): any; - export function on(eventName: 'player-entered-vehicle-as-driver', callback: (player: alt.Player, vehicle: alt.Vehicle) => void): any; - export function on(eventName: 'player-disconnected', callback: (player: alt.Player, id: number, document: Character | T) => void): any; - export function on(eventName: 'player-weapon-unequipped', callback: (player: alt.Player, slot: number, type: InventoryType) => void): any; - export function on(eventName: 'player-account-created', callback: (player: alt.Player) => void): any; - export function on(eventName: 'player-character-created', callback: (player: alt.Player) => void): any; -} -declare module "src/core/server/player/inventory" { - import * as alt from 'alt-server'; - import { StoredItem } from "src/core/shared/interfaces/item"; - export function add(player: alt.Player, item: Omit): Promise; - export function sub(player: alt.Player, item: Omit): Promise; - export function remove(player: alt.Player, slot: number): Promise; - export function has(player: alt.Player, dbName: string, quantity: number, version?: any): any; - export function getItemData(player: alt.Player, slot: number): CustomData | undefined; - export function getAt(player: alt.Player, slot: number): StoredItem | undefined; - export function modifyItemData(player: alt.Player, slot: number, customData: CustomData): Promise; - export function override(functionName: 'add', callback: typeof add): any; - export function override(functionName: 'getAt', callback: typeof getAt): any; - export function override(functionName: 'has', callback: typeof has): any; - export function override(functionName: 'sub', callback: typeof sub): any; - export function override(functionName: 'remove', callback: typeof remove): any; - export function override(functionName: 'modifyItemData', callback: typeof modifyItemData): any; - export function override(functionName: 'getItemData', callback: typeof getItemData): any; -} -declare module "src/core/server/systems/permissionGroup" { - export interface PermissionGroup { - groups?: { - [key: string]: Array; - }; - } - export function addGroupPerm(document: T & PermissionGroup, groupName: string, value: Array | string): T & PermissionGroup; - export function removeGroupPerm(document: T & PermissionGroup, groupName: string, value: Array | string): T & PermissionGroup; - export function removeGroup(document: T & PermissionGroup, groupName: string): T & PermissionGroup; - export function hasGroup(document: PermissionGroup, groupName: string): boolean; - export function hasGroupPerm(document: PermissionGroup, groupName: string, permission: string): boolean; - export function hasAtLeastOneGroupPerm(document: PermissionGroup, groupName: string, permissions: Array): boolean; - export function hasCommonPermission(documents: Array, groupName: string, permission: string): boolean; -} -declare module "src/core/server/player/permissions" { - import * as alt from 'alt-server'; - import { PermissionGroup } from "src/core/server/systems/permissionGroup"; - export function addPermission(player: alt.Player, permission: string): Promise; - export function removePermission(player: alt.Player, permission: string): Promise; - export function hasPermission(player: alt.Player, permission: string): boolean; - export function hasAccountPermission(player: alt.Player, permission: string): boolean; - export function hasGroupPermission(player: alt.Player, groupName: string, permission: string): boolean; - export function hasCommonGroupPermission(player: alt.Player, document: PermissionGroup, groupName: string, permission: string): boolean; - export function addGroupPerm(player: alt.Player, groupName: string, permission: string): Promise; -} -declare module "src/core/server/player/safe" { - import * as alt from 'alt-server'; - export function setPosition(player: alt.Player, x: number, y: number, z: number, doNotInvokeEventCall?: boolean): void; - export function addHealth(player: alt.Player, value: number, exactValue?: boolean, doNotInvokeEventCall?: boolean): any; - export function subHealth(player: alt.Player, value: number, exactValue?: boolean, doNotInvokeEventCall?: boolean): any; - export function addArmour(player: alt.Player, value: number, exactValue?: boolean, doNotInvokeEventCall?: boolean): void; - export function subArmour(player: alt.Player, value: number, exactValue?: boolean, doNotInvokeEventCall?: boolean): void; - export function setDimension(player: alt.Player, value: number): any; - export function override(functionName: 'setPosition', callback: typeof setPosition): any; - export function override(functionName: 'addHealth', callback: typeof addHealth): any; - export function override(functionName: 'subHealth', callback: typeof subHealth): any; - export function override(functionName: 'addArmour', callback: typeof addArmour): any; - export function override(functionName: 'subArmour', callback: typeof subArmour): any; - export function override(functionName: 'setDimension', callback: typeof setDimension): any; -} -declare module "src/core/server/player/setter" { - import * as alt from 'alt-server'; - import { ActionMenu } from "src/core/shared/interfaces/actions"; - import { Account } from "src/core/server/interface/iAccount"; - export function account(player: alt.Player, accountData: Account): Promise; - export function actionMenu(player: alt.Player, actionMenu: ActionMenu): any; - export function respawned(player: alt.Player, position: alt.IVector3): void; - export function override(functionName: 'account', callback: typeof account): any; - export function override(functionName: 'actionMenu', callback: typeof actionMenu): any; - export function override(functionName: 'respawned', callback: typeof respawned): any; -} -declare module "src/core/server/player/sync" { - import * as alt from 'alt-server'; - import { Character } from "src/core/shared/interfaces/character"; - export function currencyData(player: alt.Player): void; - export function appearance(player: alt.Player, document?: Character): any; - export function syncedMeta(player: alt.Player): void; - export function playTime(player: alt.Player): void; - export function override(functionName: 'currencyData', callback: typeof currencyData): any; - export function override(functionName: 'appearance', callback: typeof appearance): any; - export function override(functionName: 'syncedMeta', callback: typeof syncedMeta): any; - export function override(functionName: 'playTime', callback: typeof playTime): any; -} -declare module "src/core/server/player/toolbar" { - import * as alt from 'alt-server'; - import { StoredItem } from "src/core/shared/interfaces/item"; - export function add(player: alt.Player, item: Omit): Promise; - export function sub(player: alt.Player, item: Omit): Promise; - export function remove(player: alt.Player, slot: number): Promise; - export function has(player: alt.Player, dbName: string, quantity: number, version?: any): any; - export function getItemData(player: alt.Player, slot: number): CustomData | undefined; - export function modifyItemData(player: alt.Player, slot: number, customData: CustomData): Promise; - export function getAt(player: alt.Player, slot: number): StoredItem | undefined; - export function override(functionName: 'add', callback: typeof add): any; - export function override(functionName: 'has', callback: typeof has): any; - export function override(functionName: 'getAt', callback: typeof getAt): any; - export function override(functionName: 'remove', callback: typeof remove): any; - export function override(functionName: 'sub', callback: typeof sub): any; - export function override(functionName: 'modifyItemData', callback: typeof modifyItemData): any; - export function override(functionName: 'getItemData', callback: typeof getItemData): any; -} -declare module "src/core/server/player/weapons" { - import * as alt from 'alt-server'; - import { StoredItem } from "src/core/shared/interfaces/item"; - export function get(player: alt.Player): { - inventory: Array; - toolbar: Array; - }; - export function clear(player: alt.Player): Promise; -} -declare module "src/core/server/player/index" { - export * as appearance from "src/core/server/player/appearance"; - export * as currency from "src/core/server/player/currency"; - export * as emit from "src/core/server/player/emit"; - export * as events from "src/core/server/player/events"; - export * as inventory from "src/core/server/player/inventory"; - export * as permission from "src/core/server/player/permissions"; - export * as safe from "src/core/server/player/safe"; - export * as set from "src/core/server/player/setter"; - export * as sync from "src/core/server/player/sync"; - export * as toolbar from "src/core/server/player/toolbar"; - export * as weapons from "src/core/server/player/weapons"; -} -declare module "src/core/server/systems/account" { - import * as alt from 'alt-server'; - import { Account } from "src/core/server/interface/iAccount"; - export function getAccount(key: string, value: any): Promise; - export function create(player: alt.Player, dataToAppend: { - [key: string]: any; - }): Promise; - export function override(functionName: 'create', callback: typeof create): any; - export function override(functionName: 'getAccount', callback: typeof getAccount): any; -} -declare module "src/core/server/systems/adminControl" { - import * as alt from 'alt-server'; - import { AdminControl } from "src/core/shared/interfaces/adminControl"; - type PlayerCallback = (player: alt.Player, ...args: any[]) => void; - export function addControl(control: AdminControl, callback: PlayerCallback): boolean; - export function getControls(player: alt.Player): any; - export function updateControls(player: alt.Player): void; -} -declare module "src/core/server/systems/character" { - import * as alt from 'alt-server'; - import { Character } from "src/core/shared/interfaces/character"; - import { Appearance } from "src/core/shared/interfaces/appearance"; - import { CharacterInfo } from "src/core/shared/interfaces/characterInfo"; - export function setCreatorCallback(callback: (player: alt.Player, ...args: any[]) => void): any; - export function invokeCreator(player: alt.Player, ...args: any[]): any; - export function create(player: alt.Player, appearance: Appearance, info: CharacterInfo, name: string): Promise; - export function select(player: alt.Player, character: Character): any; - export function isNameTaken(name: string): Promise; - export function getCharacters(account_id: string): Promise>; - export function override(functionName: 'create', callback: typeof create): any; - export function override(functionName: 'setCreatorCallback', callback: typeof setCreatorCallback): any; - export function override(functionName: 'invokeCreator', callback: typeof invokeCreator): any; - export function override(functionName: 'select', callback: typeof select): any; - export function override(functionName: 'isNameTaken', callback: typeof isNameTaken): any; - export function override(functionName: 'getCharacters', callback: typeof getCharacters): any; -} -declare module "src/core/shared/information/weaponList" { - export interface Weapon { - hash: number; - name: string; - desc?: string; - type?: string; - price?: number; - clip?: number; - stats?: { - damage?: number; - rate?: number; - accuracy?: number; - range?: number; - }; - overall?: number; - icon?: string; - model: string; - } - export function getWeaponByName(name: string): Weapon | null; - export function getWeaponList(): Array; - export function getWeaponMap(): { - [name: string]: Weapon; - }; -} -declare module "src/core/server/systems/defaults/ammo" { - export function disable(): void; -} -declare module "src/core/server/systems/defaults/clothingCrafting" { - export function disable(): void; -} -declare module "src/core/server/systems/defaults/death" { - export function disable(): void; -} -declare module "src/core/server/systems/defaults/displayId" { - export function disable(): void; - export function setLocation(x: number, y: number): void; -} -declare module "src/core/server/systems/defaults/hospitalBlips" { - export function disable(): void; -} -declare module "src/core/server/systems/defaults/inventorySync" { - export function disable(): void; -} -declare module "src/core/server/systems/defaults/time" { - import * as alt from 'alt-server'; - export function updatePlayer(player: alt.Player): void; - export function disable(): void; - export function getHour(): number; - export function getMinute(): number; -} -declare module "src/core/server/systems/defaults/toolbar" { - export function disable(): void; -} -declare module "src/core/server/systems/defaults/vehiclesDespawnOnLeave" { - export function disable(): void; -} -declare module "src/core/server/systems/defaults/vehiclesSpawnOnJoin" { - export function disable(): void; -} -declare module "src/core/server/systems/defaults/weaponItems" { - export function disable(): void; -} -declare module "src/core/server/systems/defaults/weather" { - import * as alt from 'alt-server'; - import { WEATHER_KEY } from "src/core/shared/utility/weather"; - export function updatePlayer(player: alt.Player): void; - export function disable(): void; - export function setWeatherCycle(newWeatherCycle: Array): void; - export function getCurrentWeather(asString: false): number; - export function getCurrentWeather(asString: true): string; -} -declare module "src/core/server/systems/defaults/index" { - export * as ammo from "src/core/server/systems/defaults/ammo"; - export * as clothingCrafting from "src/core/server/systems/defaults/clothingCrafting"; - export * as death from "src/core/server/systems/defaults/death"; - export * as displayId from "src/core/server/systems/defaults/displayId"; - export * as hospitalBlips from "src/core/server/systems/defaults/hospitalBlips"; - export * as inventorySync from "src/core/server/systems/defaults/inventorySync"; - export * as time from "src/core/server/systems/defaults/time"; - export * as toolbar from "src/core/server/systems/defaults/toolbar"; - export * as vehiclesDespawnOnLeave from "src/core/server/systems/defaults/vehiclesDespawnOnLeave"; - export * as vehiclesSpawnOnJoin from "src/core/server/systems/defaults/vehiclesSpawnOnJoin"; - export * as weaponItems from "src/core/server/systems/defaults/weaponItems"; - export * as weather from "src/core/server/systems/defaults/weather"; -} -declare module "src/core/server/systems/global" { - export interface IGlobal { - _id?: unknown; - } - export function isReady(): Promise; - export function setKey(key: string, value: T): Promise; - export function getKey(key: string): Promise; - export function get(): Promise; - export function increase(key: string, increaseByValue?: number, startValue?: number): Promise; - export function decrease(key: string, decreaseByValue?: number, startValue?: number): Promise; -} -declare module "src/core/server/systems/identifier" { - import * as alt from 'alt-server'; - export type IdentifierStrategy = 'account_id' | 'character_id' | 'server_id'; - export function setIdentificationStrategy(_strategy: IdentifierStrategy): any; - export function setPlayerIdentifier(player: alt.Player): any; - export function getPlayer(id: number | string): alt.Player; - export function getIdByStrategy(player: alt.Player): number; - export function override(functionName: 'setIdentificationStrategy', callback: typeof setIdentificationStrategy): any; - export function override(functionName: 'setPlayerIdentifier', callback: typeof setPlayerIdentifier): any; - export function override(functionName: 'getPlayer', callback: typeof getPlayer): any; - export function override(functionName: 'getIdByStrategy', callback: typeof getIdByStrategy): any; -} -declare module "src/core/shared/utility/undefinedCheck" { - export function isNullOrUndefined(value: any): boolean; -} -declare module "src/core/server/systems/inventory/clothing" { - import * as alt from 'alt-server'; - import { ClothingComponent, ClothingInfo, StoredItem } from "src/core/shared/interfaces/item"; - import { Character } from "src/core/shared/interfaces/character"; - let femaleClothes: { - 0: number; - 3: number; - 4: number; - 5: number; - 6: number; - 7: number; - 8: number; - 9: number; - 11: number; - }; - let maleClothes: { - 0: number; - 3: number; - 5: number; - 4: number; - 6: number; - 7: number; - 8: number; - 9: number; - 11: number; - }; - export function setUniform(player: alt.Player, components: Array): Promise; - export function clearUniform(player: alt.Player): Promise; - export function setSkin(player: alt.Player, model: string | number): any; - export function clearSkin(player: alt.Player): any; - export function outfitFromDlc(sex: 0 | 1, componentList: Array): StoredItem; - export function outfitFromPlayer(player: alt.Player, components: Array<{ - id: number; - isProp?: boolean; - }>, setEquipToTrue?: boolean): StoredItem | undefined; - export function update(player: alt.Player, document?: Character): any; - export function setDefaults(sex: 0 | 1, clothes: typeof maleClothes | typeof femaleClothes): any; - export function override(functionName: 'clearSkin', callback: typeof clearSkin): any; - export function override(functionName: 'clearUniform', callback: typeof clearUniform): any; - export function override(functionName: 'outfitFromDlc', callback: typeof outfitFromDlc): any; - export function override(functionName: 'outfitFromPlayer', callback: typeof outfitFromPlayer): any; - export function override(functionName: 'setDefaults', callback: typeof setDefaults): any; - export function override(functionName: 'setSkin', callback: typeof setSkin): any; - export function override(functionName: 'setUniform', callback: typeof setUniform): any; - export function override(functionName: 'update', callback: typeof update): any; -} -declare module "src/core/shared/enums/globalSynced" { - export enum GLOBAL_SYNCED { - INVENTORY_WEIGHT_ENABLED = "inventory-weight-enabled" - } -} -declare module "src/core/server/systems/inventory/config" { - let DEFAULT_CONFIG: { - inventory: { - size: number; - }; - toolbar: { - size: number; - }; - custom: { - size: number; - }; - weight: { - enabled: boolean; - player: number; - }; - }; - export function set(config: typeof DEFAULT_CONFIG): void; - export function get(): typeof DEFAULT_CONFIG; - export function disableWeight(): void; -} -declare module "src/core/server/systems/inventory/crafting" { - import { StoredItem } from "src/core/shared/interfaces/item"; - export type dbName = string; - export type ItemCombo = [dbName, dbName]; - export type Quantities = [number, number]; - export interface CraftRecipe { - uid: string; - combo: ItemCombo; - quantities: Quantities; - result?: { - dbName: string; - quantity: number; - version?: number | undefined; - data?: Object | ((item1: StoredItem, item2: StoredItem) => Object); - }; - dataMigration?: ItemCombo; - sound?: string; - } - export function addRecipe(recipe: CraftRecipe): boolean; - export function findRecipe(combo: ItemCombo): CraftRecipe | undefined; - export function combineItems(dataSet: Array, slot1: number, slot2: number, type: 'inventory' | 'toolbar' | 'custom'): { - dataSet: Array; - sound?: string; - } | undefined; - export function override(functionName: 'addRecipe', callback: typeof addRecipe): any; - export function override(functionName: 'combineItems', callback: typeof combineItems): any; - export function override(functionName: 'findRecipe', callback: typeof findRecipe): any; -} -declare module "src/core/server/systems/inventory/drops" { - import * as alt from 'alt-server'; - import { ItemDrop, StoredItem } from "src/core/shared/interfaces/item"; - export function add(item: StoredItem, pos: alt.IVector3, player?: alt.Player): Promise; - export function get(id: string): ItemDrop | undefined; - export function sub(id: string): Promise; - export function isItemAvailable(_id: string): any; - export function markForTaken(_id: string, value: boolean): void; - export function override(functionName: 'add', callback: typeof add): any; - export function override(functionName: 'get', callback: typeof get): any; - export function override(functionName: 'sub', callback: typeof sub): any; - export function override(functionName: 'isItemAvailable', callback: typeof isItemAvailable): any; - export function override(functionName: 'markForTaken', callback: typeof markForTaken): any; -} -declare module "src/core/server/systems/inventory/effects" { - import * as alt from 'alt-server'; - export type InventoryType = 'inventory' | 'toolbar'; - export type EffectCallback = (player: alt.Player, slot: number, type: 'inventory' | 'toolbar') => void; - export function add(effectNameFromItem: string, callback: EffectCallback): any; - export function remove(effectName: string): boolean; - export function invoke(player: alt.Player, slot: number, type: InventoryType, eventToCall?: string | string[]): boolean; - export function override(functionName: 'add', callback: typeof add): any; - export function override(functionName: 'remove', callback: typeof remove): any; - export function override(functionName: 'invoke', callback: typeof invoke): any; -} -declare module "src/core/server/systems/inventory/factory" { - import { BaseItem, StoredItem, Item, DefaultItemBehavior } from "src/core/shared/interfaces/item"; - export function isDoneLoadingAsync(): Promise; - export function getBaseItemAsync(dbName: string, version?: number): Promise>; - export function upsertAsync(baseItem: BaseItem): any; - export function fromStoredItemAsync(item: StoredItem): Promise | undefined>; - export function toStoredItemAsync(item: Item): Promise>; - export function fromBaseToStoredAsync(baseItem: BaseItem, quantity: number): Promise>; - export function getBaseItem(dbName: string, version?: number): BaseItem; - export function fromStoredItem(item: StoredItem): Item | undefined; - export function toStoredItem(item: Item): StoredItem; - export function fromBaseToStored(baseItem: BaseItem, quantity: number): any; - export function override(functionName: 'getBaseItemAsync', callback: typeof getBaseItemAsync): any; - export function override(functionName: 'upsertAsync', callback: typeof upsertAsync): any; - export function override(functionName: 'fromStoredItemAsync', callback: typeof fromStoredItemAsync): any; - export function override(functionName: 'fromBaseToStoredAsync', callback: typeof fromBaseToStoredAsync): any; - export function override(functionName: 'getBaseItem', callback: typeof getBaseItem): any; - export function override(functionName: 'fromStoredItem', callback: typeof fromStoredItem): any; - export function override(functionName: 'toStoredItem', callback: typeof toStoredItem): any; - export function override(functionName: 'fromBaseToStored', callback: typeof fromBaseToStored): any; -} -declare module "src/core/server/systems/inventory/manager" { - import * as alt from 'alt-server'; - import { BaseItem, StoredItem, Item, DefaultItemBehavior } from "src/core/shared/interfaces/item"; - export interface ItemQuantityChange { - item: Item | StoredItem; - remaining: number; - } - export type InventoryType = 'inventory' | 'toolbar' | 'custom'; - export type ComplexSwap = { - slot: number; - data: Array; - size: InventoryType | number; - type: InventoryType; - }; - export type ComplexSwapReturn = { - from: Array; - to: Array; - }; - export function calculateItemWeight(baseItem: BaseItem, storedItem: StoredItem): StoredItem; - export function modifyItemQuantity(item: Item | StoredItem, amount: number, isRemoving?: boolean): ItemQuantityChange; - export function removeZeroQuantityItems(items: Array): Array; - export function addQuantity(item: Item | StoredItem, amount: number): ItemQuantityChange | undefined; - export function subQuantity(item: Item | StoredItem, amount: number): ItemQuantityChange | undefined; - export function hasItem(dataSet: Array, dbName: string, quantity: number, version?: number): boolean; - export function upsertData(item: Item | StoredItem, data: DataType): any; - export function setData(item: Item | StoredItem, data: DataType): any; - export function clearData(item: Item | StoredItem): any; - export function convertFromStored(data: Array>): Array>; - export function add(item: Omit, 'slot'>, data: Array, size?: InventoryType | number): Array | undefined; - export function sub(item: Omit, 'slot' | 'data'>, data: Array): Array | undefined; - export function splitAt(slot: number, data: Array, splitCount: number, dataSize?: InventoryType | number): Array | undefined; - export function combineAt(fromSlot: number, toSlot: number, data: Array): Array | undefined; - export function combineAtComplex(from: ComplexSwap, to: ComplexSwap): ComplexSwapReturn | undefined; - export function swap(fromSlot: number, toSlot: number, data: Array, dataSize?: InventoryType | number): Array | undefined; - export function swapBetween(from: ComplexSwap, to: ComplexSwap): ComplexSwapReturn | undefined; - export function useItem(player: alt.Player, slot: number, type?: 'inventory' | 'toolbar', eventToCall?: string | string[]): any; - export function toggleItem(player: alt.Player, slot: number, type: InventoryType): Promise; - export function compare(firstItem: StoredItem, secondItem: StoredItem): boolean; - export function override(functionName: 'add', callback: typeof add): any; - export function override(functionName: 'addQuantity', callback: typeof addQuantity): any; - export function override(functionName: 'calculateItemWeight', callback: typeof calculateItemWeight): any; - export function override(functionName: 'clearData', callback: typeof clearData): any; - export function override(functionName: 'combineAt', callback: typeof combineAt): any; - export function override(functionName: 'combineAtComplex', callback: typeof combineAtComplex): any; - export function override(functionName: 'compare', callback: typeof compare): any; - export function override(functionName: 'convertFromStored', callback: typeof convertFromStored): any; - export function override(functionName: 'hasItem', callback: typeof hasItem): any; - export function override(functionName: 'modifyItemQuantity', callback: typeof modifyItemQuantity): any; - export function override(functionName: 'removeZeroQuantityItems', callback: typeof removeZeroQuantityItems): any; - export function override(functionName: 'setData', callback: typeof setData): any; - export function override(functionName: 'splitAt', callback: typeof splitAt): any; - export function override(functionName: 'sub', callback: typeof sub): any; - export function override(functionName: 'subQuantity', callback: typeof subQuantity): any; - export function override(functionName: 'swap', callback: typeof swap): any; - export function override(functionName: 'swapBetween', callback: typeof swapBetween): any; - export function override(functionName: 'toggleItem', callback: typeof toggleItem): any; - export function override(functionName: 'upsertData', callback: typeof upsertData): any; - export function override(functionName: 'useItem', callback: typeof useItem): any; -} -declare module "src/core/server/systems/inventory/slot" { - import { InventoryType } from "src/core/plugins/core-inventory/shared/interfaces"; - import { StoredItem } from "src/core/shared/interfaces/item"; - export function findOpen(slotSize: InventoryType | number, data: Array): number | undefined; - export function getAt(slot: number, data: Array): StoredItem | undefined; - export function removeAt(slot: number, data: Array): Array | undefined; - export function override(functionName: 'findOpen', callback: typeof findOpen): any; - export function override(functionName: 'removeAt', callback: typeof removeAt): any; - export function override(functionName: 'getAt', callback: typeof getAt): any; -} -declare module "src/core/server/systems/inventory/weight" { - import { Item, StoredItem } from "src/core/shared/interfaces/item"; - export function getDataWeight(data: Array): number; - export function getTotalWeight(dataSets: Array>): number; - export function isWeightExceeded(dataSets: Array>, amount?: number): boolean; - export function override(functionName: 'getDataWeight', callback: typeof getDataWeight): any; - export function override(functionName: 'getTotalWeight', callback: typeof getTotalWeight): any; - export function override(functionName: 'isWeightExceeded', callback: typeof isWeightExceeded): any; -} -declare module "src/core/server/systems/inventory/weapons" { - import * as alt from 'alt-server'; - import { StoredItem } from "src/core/shared/interfaces/item"; - export function get(dataSet: Array): Array; - export function removeAll(dataSet: Array): Array; - export function addComponent(player: alt.Player, type: 'inventory' | 'toolbar', slot: number, component: number | string): Promise; - export function update(player: alt.Player): any; - export function override(functionName: 'update', callback: typeof update): any; -} -declare module "src/core/server/systems/inventory/index" { - export * as clothing from "src/core/server/systems/inventory/clothing"; - export * as config from "src/core/server/systems/inventory/config"; - export * as crafting from "src/core/server/systems/inventory/crafting"; - export * as drops from "src/core/server/systems/inventory/drops"; - export * as effects from "src/core/server/systems/inventory/effects"; - export * as factory from "src/core/server/systems/inventory/factory"; - export * as manager from "src/core/server/systems/inventory/manager"; - export * as slot from "src/core/server/systems/inventory/slot"; - export * as weight from "src/core/server/systems/inventory/weight"; - export * as weapons from "src/core/server/systems/inventory/weapons"; -} -declare module "src/core/server/systems/job/events" { - import * as alt from 'alt-server'; - function invokeObjectiveCheck(player: alt.Player): any; - export function override(functionName: 'invokeObjectiveCheck', callback: typeof invokeObjectiveCheck): any; -} -declare module "src/core/server/systems/job/system" { - import * as alt from 'alt-server'; - import { Objective } from "src/core/shared/interfaces/job"; - export class Job { - private id; - private player; - private objectives; - private vehicles; - private startTime; - private completedCallback; - private quitCallback; - constructor(); - addPlayer(player: alt.Player): void; - addObjective(objectiveData: Objective): void; - addVehicle(player: alt.Player, model: string | number, pos: alt.IVector3, rot: alt.IVector3, color1?: alt.RGBA, color2?: alt.RGBA): alt.Vehicle; - removeAllVehicles(): void; - removeVehicle(uid: string): void; - loadObjectives(objectiveData: Array): void; - quit(reason: string): void; - goToNextObjective(): Promise; - getPlayer(): alt.Player; - removeAttachable(): void; - private syncObjective; - getCurrentObjective(): Objective | null; - getElapsedMilliseconds(): number; - addNextObjective(objectiveData: Objective): void; - setCompletedCallback(callback: () => Promise): void; - setQuitCallback(callback: (job: Job, reason: string) => void): void; - } -} -declare module "src/core/server/systems/job/instance" { - import * as alt from 'alt-server'; - import { Job } from "src/core/server/systems/job/system"; - export function get(player: number | alt.Player): Job | undefined; - export function set(player: alt.Player, newJob: Job): any; - export function clear(player: number | alt.Player): any; - export function override(functionName: 'get', callback: typeof get): any; - export function override(functionName: 'set', callback: typeof set): any; - export function override(functionName: 'clear', callback: typeof clear): any; -} -declare module "src/core/server/systems/job/objective" { - import { Objective, ObjectiveType } from "src/core/shared/interfaces/job"; - import { Job } from "src/core/server/systems/job/system"; - export interface DefaultCriteriaOptions { - NO_VEHICLE?: boolean; - NO_WEAPON?: boolean; - NO_DYING?: boolean; - IN_VEHICLE?: boolean; - IN_JOB_VEHICLE?: boolean; - FAIL_ON_JOB_VEHICLE_DESTROY?: boolean; - JOB_VEHICLE_NEARBY?: boolean; - VEHICLE_ENGINE_OFF?: boolean; - } - export function createAndAdd(job: Job, objective: Objective): Objective; - export function buildCriteria(criteria: DefaultCriteriaOptions): number; - export function getType(type: keyof typeof ObjectiveType): number; - export function override(functionName: 'createAndAdd', callback: typeof createAndAdd): any; - export function override(functionName: 'buildCriteria', callback: typeof buildCriteria): any; - export function override(functionName: 'getType', callback: typeof getType): any; -} -declare module "src/core/server/systems/job/triggers" { - import * as alt from 'alt-server'; - import { Objective } from "src/core/shared/interfaces/job"; - export function tryEventCall(player: alt.Player, objective: Objective): any; - export function tryAnimation(player: alt.Player, objective: Objective): any; - export function tryAttach(player: alt.Player, objective: Objective): any; - export function override(functionName: 'tryEventCall', callback: typeof tryEventCall): any; - export function override(functionName: 'tryAnimation', callback: typeof tryAnimation): any; - export function override(functionName: 'tryAttach', callback: typeof tryAttach): any; -} -declare module "src/core/server/systems/job/verify" { - import * as alt from 'alt-server'; - import { Objective } from "src/core/shared/interfaces/job"; - import { Job } from "src/core/server/systems/job/system"; - export function objective(job: Job): Promise; - export function criteria(player: alt.Player, objective: Objective): boolean; - export function type(player: alt.Player, objective: Objective): boolean; - export function addCustomCheck(type: 'type' | 'criteria', callback: (player: alt.Player, objective: Objective) => boolean): any; - export function override(functionName: 'addCustomCheck', callback: typeof addCustomCheck): any; - export function override(functionName: 'type', callback: typeof type): any; - export function override(functionName: 'criteria', callback: typeof criteria): any; - export function override(functionName: 'objective', callback: typeof objective): any; -} -declare module "src/core/server/systems/job/utility" { - import { Objective } from "src/core/shared/interfaces/job"; - export function cloneObjective(objectiveData: Objective): Objective; - export function override(functionName: 'cloneObjective', callback: typeof cloneObjective): any; -} -declare module "src/core/server/systems/job/index" { - export * as event from "src/core/server/systems/job/events"; - export * as instance from "src/core/server/systems/job/instance"; - export * as objective from "src/core/server/systems/job/objective"; - export * as triggers from "src/core/server/systems/job/triggers"; - export * as verify from "src/core/server/systems/job/verify"; - export * as utility from "src/core/server/systems/job/utility"; - export { Job as builder } from "src/core/server/systems/job/system"; -} -declare module "src/core/server/systems/jobTrigger" { - import * as alt from 'alt-server'; - import { JobTrigger } from "src/core/shared/interfaces/jobTrigger"; - export function create(player: alt.Player, data: JobTrigger): any; - export function override(functionName: 'create', callback: typeof create): any; -} -declare module "src/core/server/systems/jwt" { - import * as alt from 'alt-server'; - import { Account } from "src/core/server/interface/iAccount"; - export function create(account: Account): Promise; - export function verify(data: string): Promise; - export function fetch(player: alt.Player): Promise; - export function override(functionName: 'create', callback: typeof create): any; - export function override(functionName: 'verify', callback: typeof verify): any; - export function override(functionName: 'fetch', callback: typeof fetch): any; -} -declare module "src/core/server/systems/loginFlow" { - import * as alt from 'alt-server'; - export interface FlowInfo { - name: string; - weight: number; - callback: (player: alt.Player) => void; - } - export function add(name: string, weight: number, callback: (player: alt.Player) => void): boolean; - export function remove(name: string): boolean; - export function getWeightedFlow(): Array; - export function getFlow(player: alt.Player): { - index: number; - flow: Array; - }; - export function register(player: alt.Player): any; - export function unregister(player: alt.Player): any; - export function next(player: alt.Player): any; - export function override(functionName: 'add', callback: typeof add): any; - export function override(functionName: 'remove', callback: typeof remove): any; - export function override(functionName: 'getWeightedFlow', callback: typeof getWeightedFlow): any; - export function override(functionName: 'getFlow', callback: typeof getFlow): any; - export function override(functionName: 'register', callback: typeof register): any; - export function override(functionName: 'unregister', callback: typeof unregister): any; - export function override(functionName: 'next', callback: typeof next): any; -} -declare module "src/core/shared/utility/getParamNames" { - export function getParamNames(func: Function): Array; -} -declare module "src/core/server/systems/messenger/commands" { - import * as alt from 'alt-server'; - import { CommandCallback, DetailedCommand } from "src/core/shared/interfaces/messageCommand"; - export function execute(player: alt.Player, commandName: string, args: Array): any; - export function get(commandName: string): any; - export function register(name: string, desc: string, perms: Array, callback: CommandCallback, isCharacterPermission?: boolean): any; - export function populateCommands(player: alt.Player): any; - export function getCommands(player: alt.Player): Array; - const _default_19: { - execute: typeof execute; - get: typeof get; - getCommands: typeof getCommands; - populateCommands: typeof populateCommands; - register: typeof register; - }; - export default _default_19; - export function override(functionName: 'execute', callback: typeof execute): any; - export function override(functionName: 'get', callback: typeof get): any; - export function override(functionName: 'getCommands', callback: typeof getCommands): any; - export function override(functionName: 'populateCommands', callback: typeof populateCommands): any; - export function override(functionName: 'register', callback: typeof register): any; -} -declare module "src/core/server/systems/messenger/messaging" { - import * as alt from 'alt-server'; - export type MessageCallback = (player: alt.Player, msg: string) => void; - function cleanMessage(msg: string): string; - export function send(player: alt.Player, msg: string): any; - export function sendToPlayers(players: Array, msg: string): any; - export function addCallback(callback: MessageCallback): any; - export function emit(player: alt.Player, msg: string): any; - const _default_20: { - addCallback: typeof addCallback; - cleanMessage: typeof cleanMessage; - emit: typeof emit; - send: typeof send; - sendToPlayers: typeof sendToPlayers; - }; - export default _default_20; - export function override(functionName: 'addCallback', callback: typeof addCallback): any; - export function override(functionName: 'cleanMessage', callback: typeof cleanMessage): any; - export function override(functionName: 'emit', callback: typeof emit): any; - export function override(functionName: 'send', callback: typeof send): any; - export function override(functionName: 'sendToPlayers', callback: typeof sendToPlayers): any; -} -declare module "src/core/server/systems/messenger/index" { - export * as commands from "src/core/server/systems/messenger/commands"; - export * as messaging from "src/core/server/systems/messenger/messaging"; -} -declare module "src/core/server/systems/notification/index" { - import * as alt from 'alt-server'; - export function toAll(message: string, ...args: any[]): void; - export function toPlayer(player: alt.Player, message: string, ...args: any[]): void; -} -declare module "src/core/server/systems/permission" { - import * as alt from 'alt-server'; - import { Account } from "src/core/server/interface/iAccount"; - import { Character } from "src/core/shared/interfaces/character"; - export type DefaultPerms = 'admin' | 'moderator'; - export type SupportedDocuments = 'account' | 'character'; - export function add(type: 'character' | 'account', player: alt.Player, perm: DefaultPerms | CustomPerms): Promise; - export function remove(type: 'character' | 'account', player: alt.Player, perm: DefaultPerms | CustomPerms): Promise; - export function clear(type: 'character' | 'account', player: alt.Player): Promise; - export function has(type: 'character' | 'account', player: alt.Player, perm: DefaultPerms | CustomPerms): boolean; - export function hasOne(type: 'character' | 'account', player: alt.Player, perms: Array): boolean; - export function hasAll(type: 'character' | 'account', player: alt.Player, perms: Array): boolean; - export function getAll(type: 'character' | 'account', perm: DefaultPerms | CustomPerms): Promise | Array>; - export function removeAll(type: 'character' | 'account', perm: DefaultPerms | CustomPerms, ids: Array): Promise; - export function getPermissions(entity: alt.Player, type: 'character' | 'account'): any; - export function getPermissions(entity: alt.Vehicle, type: 'vehicle'): any; - const _default_21: { - add: typeof add; - remove: typeof remove; - clear: typeof clear; - has: typeof has; - hasOne: typeof hasOne; - hasAll: typeof hasAll; - getAll: typeof getAll; - removeAll: typeof removeAll; - }; - export default _default_21; -} -declare module "src/core/server/systems/plugins" { - export function init(): void; - export function registerPlugin(name: string, callback: Function): void; - export function getPlugins(): Array; - export function addCallback(callback: Function): void; -} -declare module "src/core/server/systems/sound" { - import * as alt from 'alt-server'; - export interface CustomSoundInfo { - audioName: string; - pos?: alt.IVector3; - volume?: number; - target?: alt.Entity; - } - export function playSound(player: alt.Player, soundInfo: CustomSoundInfo): any; - export function playSoundInDimension(dimension: number, soundInfo: Omit): any; - export function playSoundInArea(soundInfo: Required>): any; - export function override(functionName: 'playSound', callback: typeof playSound): any; - export function override(functionName: 'playSoundInDimension', callback: typeof playSoundInDimension): any; - export function override(functionName: 'playSoundInArea', callback: typeof playSoundInArea): any; -} -declare module "src/core/server/systems/storage" { - import * as alt from 'alt-server'; - import { StoredItem } from "src/core/shared/interfaces/item"; - export interface StorageInstance { - _id?: unknown; - lastUsed: number; - items: Array>; - } - export function create(items: Array): Promise; - export function set(id: string, items: Array): Promise; - export function get(id: string): Promise>>; - export function setAsOpen(id: string): boolean; - export function isOpen(id: string): boolean; - export function removeAsOpen(id: string): boolean; - export function closeOnDisconnect(player: alt.Player, id: string): boolean; -} -declare module "src/core/server/systems/tick" { - import * as alt from 'alt-server'; - export function onTick(player: alt.Player): Promise; - function handlePing(player: alt.Player): void; - export function override(functionName: 'onTick', callback: typeof onTick): any; - export function override(functionName: 'handlePing', callback: typeof handlePing): any; -} -declare module "src/core/server/systems/index" { - export * as account from "src/core/server/systems/account"; - export * as adminControl from "src/core/server/systems/adminControl"; - export * as character from "src/core/server/systems/character"; - export * as defaults from "src/core/server/systems/defaults/index"; - export * as global from "src/core/server/systems/global"; - export * as identifier from "src/core/server/systems/identifier"; - export * as inventory from "src/core/server/systems/inventory/index"; - export * as job from "src/core/server/systems/job/index"; - export * as jobTrigger from "src/core/server/systems/jobTrigger"; - export * as jwt from "src/core/server/systems/jwt"; - export * as loginFlow from "src/core/server/systems/loginFlow"; - export * as messenger from "src/core/server/systems/messenger/index"; - export * as notification from "src/core/server/systems/notification/index"; - export * as permission from "src/core/server/systems/permission"; - export * as permissionGroup from "src/core/server/systems/permissionGroup"; - export * as plugins from "src/core/server/systems/plugins"; - export * as sound from "src/core/server/systems/sound"; - export * as storage from "src/core/server/systems/storage"; - export * as streamer from "src/core/server/systems/streamer"; - export * as tick from "src/core/server/systems/tick"; -} -declare module "src/core/server/utility/closest" { - import * as alt from 'alt-server'; - export function getClosestVehicle(pos: alt.IVector3): alt.Vehicle | undefined; - export function getClosestPlayer(pos: alt.IVector3, ignoredIds?: Array): alt.Player | undefined; - const _default_22: { - getClosestPlayer: typeof getClosestPlayer; - getClosestVehicle: typeof getClosestVehicle; - }; - export default _default_22; -} -declare module "src/core/server/utility/config" { - import { IConfig } from "src/core/server/interface/iConfig"; - export function get(): Promise; - export function isDevMode(): boolean; - export function getViteServer(): string; - export function getVueDebugMode(): boolean; - export function getAthenaVersion(): string; - const _default_23: { - get: typeof get; - isDevMode: typeof isDevMode; - getViteServer: typeof getViteServer; - getVueDebugMode: typeof getVueDebugMode; - getAthenaVersion: typeof getAthenaVersion; - }; - export default _default_23; -} -declare module "src/core/server/utility/math" { - export function getMissingNumber(arr: Array, startIndex?: number): number; - const _default_24: { - getMissingNumber: typeof getMissingNumber; - }; - export default _default_24; -} -declare module "src/core/server/utility/restrict" { - import * as alt from 'alt-server'; - export interface Restrictions { - permissions: { - account: Array; - character: Array; - }; - strategy: 'hasOne' | 'hasAll'; - notify?: string; - kickOnBadPermission?: { - kickMessage: string; - consoleMessage: string; - }; - } - export function create void>(handler: T, restrictions: Restrictions): T; - export function override(functionName: 'create', callback: typeof create): any; -} -declare module "src/core/shared/utility/uid" { - export const UID: { - generate(): string; - }; -} -declare module "src/core/server/utility/index" { - export { default as closest } from "src/core/server/utility/closest"; - export { default as config } from "src/core/server/utility/config"; - export { default as hash } from "src/core/server/utility/hash"; - export { default as math } from "src/core/server/utility/math"; - export * as random from "src/core/shared/utility/random"; - export * as restrict from "src/core/server/utility/restrict"; - export { default as vector } from "src/core/shared/utility/vector"; - export { UID as uid } from "src/core/shared/utility/uid"; - export * as hashLookup from "src/core/shared/utility/hashLookup/index"; -} -declare module "src/core/server/vehicle/add" { - import * as alt from 'alt-server'; - import { VehicleState } from "src/core/shared/interfaces/vehicleState"; - import IVehicleTuning from "src/core/shared/interfaces/vehicleTuning"; - export interface AddOptions { - tuning?: Partial | IVehicleTuning | undefined; - state?: Partial | VehicleState; - keys?: Array; - permissions?: Array; - doNotDespawn?: boolean; - } - export function toPlayer(player: alt.Player, model: string, pos: alt.IVector3, options?: Omit): Promise; - export function toDatabase(owner: string, model: string, pos: alt.IVector3, options?: AddOptions): Promise; - export function override(functionName: 'toDatabase', callback: typeof toDatabase): any; - export function override(functionName: 'toPlayer', callback: typeof toPlayer): any; -} -declare module "src/core/server/vehicle/asPlayer" { - import * as alt from 'alt-server'; - export function toggleLock(player: alt.Player, vehicle: alt.Vehicle): any; - export function toggleEngine(player: alt.Player, vehicle: alt.Vehicle): any; - export function toggleDoor(player: alt.Player, vehicle: alt.Vehicle, door: 0 | 1 | 2 | 3 | 4 | 5): any; - export function override(functionName: 'toggleLock', callback: typeof toggleLock): any; - export function override(functionName: 'toggleDoor', callback: typeof toggleDoor): any; - export function override(functionName: 'toggleEngine', callback: typeof toggleEngine): any; -} -declare module "src/core/server/vehicle/controls" { - import * as alt from 'alt-server'; - export function toggleLock(vehicle: alt.Vehicle): Promise; - export function toggleEngine(vehicle: alt.Vehicle): Promise; - export function toggleDoor(vehicle: alt.Vehicle, door: 0 | 1 | 2 | 3 | 4 | 5): Promise; - export function isLocked(vehicle: alt.Vehicle): boolean; - export function update(vehicle: alt.Vehicle): any; - export function updateLastUsed(vehicle: alt.Vehicle): Promise; - export function override(functionName: 'toggleLock', callback: typeof toggleLock): any; - export function override(functionName: 'toggleDoor', callback: typeof toggleDoor): any; - export function override(functionName: 'toggleEngine', callback: typeof toggleEngine): any; - export function override(functionName: 'update', callback: typeof update): any; - export function override(functionName: 'isLocked', callback: typeof isLocked): any; -} -declare module "src/core/server/vehicle/damage" { - import * as alt from 'alt-server'; - import { VehicleDamage } from "src/core/shared/interfaces/vehicleOwned"; - export function get(vehicle: alt.Vehicle): VehicleDamage | undefined; - export function apply(vehicle: alt.Vehicle, damage: VehicleDamage): void; - export function repair(vehicle: alt.Vehicle): Promise; -} -declare module "src/core/server/vehicle/despawn" { - export function all(): Promise; - export function one(id: number): Promise; - export function list(ids: Array): Promise; - export function override(functionName: 'all', callback: typeof all): any; - export function override(functionName: 'one', callback: typeof one): any; - export function override(functionName: 'list', callback: typeof list): any; -} -declare module "src/core/server/vehicle/get" { - import * as alt from 'alt-server'; - export function temporaryVehicles(): Array; - export function ownedVehicles(): Array; - export function playerOwnedVehicles(player: alt.Player | string): alt.Vehicle[]; -} -declare module "src/core/server/vehicle/ownership" { - import * as alt from 'alt-server'; - export function isOwner(player: alt.Player, vehicle: alt.Vehicle, options?: { - includePermissions?: boolean; - includeKeys?: boolean; - includeAdminOverride?: boolean; - includeGroupPermissions?: boolean; - preventWhileAttached?: boolean; - }): boolean; - export function hasPermission(player: alt.Player, vehicle: alt.Vehicle): boolean; - export function hasGroupPermission(player: alt.Player, vehicle: alt.Vehicle): boolean; - export function hasKeys(player: alt.Player, vehicle: alt.Vehicle): boolean; - export function get(vehicle: alt.Vehicle): string | undefined; - export function getAsPlayer(vehicle: alt.Vehicle): alt.Player | undefined; - export function addCharacter(vehicle: alt.Vehicle, player: alt.Player): Promise; - export function addCharacter(vehicle: alt.Vehicle, id: string): Promise; - export function removeCharacter(vehicle: alt.Vehicle, _id: string): Promise; - export function transfer(vehicle: alt.Vehicle, _id: string): Promise; - export function override(functionName: 'isOwner', callback: typeof isOwner): any; - export function override(functionName: 'hasPermission', callback: typeof hasPermission): any; - export function override(functionName: 'hasKeys', callback: typeof hasKeys): any; - export function override(functionName: 'get', callback: typeof get): any; - export function override(functionName: 'getAsPlayer', callback: typeof getAsPlayer): any; - export function override(functionName: 'addCharacter', callback: typeof addCharacter): any; - export function override(functionName: 'removeCharacter', callback: typeof removeCharacter): any; - export function override(functionName: 'transfer', callback: typeof transfer): any; -} -declare module "src/core/server/vehicle/permissions" { - import * as alt from 'alt-server'; - import { PermissionGroup } from "src/core/server/systems/permissionGroup"; - export function hasGroupPermission(vehicle: alt.Vehicle, groupName: string, permission: string): boolean; - export function hasCommonGroupPermission(vehicle: alt.Vehicle, document: PermissionGroup, groupName: string, permission: string): boolean; - export function addGroupPerm(vehicle: alt.Vehicle, groupName: string, permission: string): Promise; -} -declare module "src/core/server/vehicle/shared" { - import { VehicleState } from "src/core/shared/interfaces/vehicleState"; - import * as alt from 'alt-shared'; - export const SEAT: { - DRIVER: number; - PASSENGER: number; - BACK_LEFT: number; - BACK_RIGHT: number; - }; - export interface VehicleSpawnInfo { - model: string | number; - pos: alt.IVector3; - rot: alt.IVector3; - data?: Partial; - } -} -declare module "src/core/server/vehicle/spawn" { - import * as alt from 'alt-server'; - import { OwnedVehicle } from "src/core/shared/interfaces/vehicleOwned"; - import { VehicleSpawnInfo } from "src/core/server/vehicle/shared"; - export function temporary(vehicleInfo: VehicleSpawnInfo, deleteOnLeave?: boolean): alt.Vehicle; - export function temporaryOwned(player: alt.Player, vehicleInfo: VehicleSpawnInfo, deleteOnLeave?: boolean): alt.Vehicle; - export function persistent(document: OwnedVehicle): alt.Vehicle | undefined; - export function all(): any; - export function override(functionName: 'all', callback: typeof all): any; - export function override(functionName: 'temporary', callback: typeof temporary): any; - export function override(functionName: 'temporaryOwned', callback: typeof temporaryOwned): any; - export function override(functionName: 'persistent', callback: typeof persistent): any; -} -declare module "src/core/server/vehicle/tempVehicles" { - import * as alt from 'alt-server'; - export function add(vehicle: alt.Vehicle, options: { - owner?: number; - deleteOnLeave?: boolean; - }): any; - export function remove(id: number): void; - export function has(vehicle: alt.Vehicle | number): boolean; - export function isOwner(player: alt.Player, vehicle: alt.Vehicle): boolean; - export function shouldBeDestroyed(vehicle: alt.Vehicle): boolean; - export function override(functionName: 'add', callback: typeof add): any; - export function override(functionName: 'remove', callback: typeof remove): any; - export function override(functionName: 'has', callback: typeof has): any; - export function override(functionName: 'isOwner', callback: typeof isOwner): any; - export function override(functionName: 'shouldBeDestroyed', callback: typeof shouldBeDestroyed): any; -} -declare module "src/core/server/vehicle/tuning" { - import * as alt from 'alt-server'; - import VehicleTuning from "src/core/shared/interfaces/vehicleTuning"; - import { VehicleState } from "src/core/shared/interfaces/vehicleState"; - export function applyState(vehicle: alt.Vehicle, state: Partial | VehicleState): any; - export function applyTuning(vehicle: alt.Vehicle, tuning: VehicleTuning | Partial): any; - export function override(functionName: 'applyState', callback: typeof applyState): any; - export function override(functionName: 'applyTuning', callback: typeof applyTuning): any; -} -declare module "src/core/server/vehicle/index" { - export * as add from "src/core/server/vehicle/add"; - export * as asPlayer from "src/core/server/vehicle/asPlayer"; - export * as controls from "src/core/server/vehicle/controls"; - export * as damage from "src/core/server/vehicle/damage"; - export * as despawn from "src/core/server/vehicle/despawn"; - export * as events from "src/core/server/vehicle/events"; - export * as get from "src/core/server/vehicle/get"; - export * as ownership from "src/core/server/vehicle/ownership"; - export * as permissions from "src/core/server/vehicle/permissions"; - export * as shared from "src/core/server/vehicle/shared"; - export * as spawn from "src/core/server/vehicle/spawn"; - export * as tempVehicles from "src/core/server/vehicle/tempVehicles"; - export * as tuning from "src/core/server/vehicle/tuning"; -} -declare module "src/core/server/webview/index" { - import * as alt from 'alt-server'; - export function emit(player: alt.Player, eventName: string, ...args: any[]): void; - export function closePages(player: alt.Player, pages?: Array): void; -} -declare module "src/core/server/api/index" { - export * as config from "src/core/server/config/index"; - export * as controllers from "src/core/server/controllers/index"; - export * as data from "src/core/server/api/consts/constData"; - export * as database from "src/core/server/database/index"; - export * as document from "src/core/server/document/index"; - export * as events from "src/core/server/events/index"; - export * as extensions from "src/core/server/api/consts/constExtensions"; - export * as getters from "src/core/server/getters/index"; - export * as player from "src/core/server/player/index"; - export * as systems from "src/core/server/systems/index"; - export * as utility from "src/core/server/utility/index"; - export * as vehicle from "src/core/server/vehicle/index"; - export * as webview from "src/core/server/webview/index"; - import * as config from "src/core/server/config/index"; - import * as controllers from "src/core/server/controllers/index"; - import * as data from "src/core/server/api/consts/constData"; - import * as database from "src/core/server/database/index"; - import * as document from "src/core/server/document/index"; - import * as events from "src/core/server/events/index"; - import * as extensions from "src/core/server/api/consts/constExtensions"; - import * as getters from "src/core/server/getters/index"; - import * as player from "src/core/server/player/index"; - import * as systems from "src/core/server/systems/index"; - import * as utility from "src/core/server/utility/index"; - import * as vehicle from "src/core/server/vehicle/index"; - import * as webview from "src/core/server/webview/index"; - const _default_25: { - config: typeof config; - controllers: typeof controllers; - data: typeof data; - database: typeof database; - document: typeof document; - events: typeof events; - extensions: typeof extensions; - getters: typeof getters; - player: typeof player; - systems: typeof systems; - utility: typeof utility; - vehicle: typeof vehicle; - webview: typeof webview; - }; - export default _default_25; -} -declare module "src/core/plugins/athena-debug/server/system/keys" { - import * as alt from 'alt-server'; - interface LastStoredData { - pos: alt.IVector3; - rot: alt.IVector3; - } - export const DebugKeys: { - init(): void; - flagPosition(player: alt.Player): void; - getLastPosition(): LastStoredData; - }; -} -declare module "src/core/plugins/athena-debug/server/system/rest" { - export const RestService: { - init(): void; - }; -} -declare module "src/core/plugins/athena-debug/server/index" { } -declare module "src/core/plugins/character-select/client/page" { - import { Page } from "src/core/client/webview/page"; - export function open(onReady: Function, onClose: Function): void; - export function close(): void; - export function getPage(): Page; -} -declare module "src/core/plugins/character-select/shared/events" { - export const CharSelectEvents: { - toServer: { - select: string; - delete: string; - prev: string; - next: string; - new: string; - }; - toClient: { - update: string; - done: string; - }; - toWebview: { - updateName: string; - }; - }; -} -declare module "src/core/plugins/character-select/client/index" { } -declare module "src/core/plugins/character-select/server/index" { } -declare module "src/core/plugins/core-character-creator/shared/events" { - export const CHARACTER_CREATOR_EVENTS: { - SHOW: string; - DONE: string; - EXIT: string; - VERIFY_NAME: string; - }; - export const CHARACTER_CREATOR_WEBVIEW_EVENTS: { - PAGE_NAME: string; - READY: string; - SET_DATA: string; - EXIT: string; - VERIFY_NAME: string; - SYNC: string; - READY_SETUP_COMPLETE: string; - DONE: string; - DISABLE_CONTROLS: string; - }; -} -declare module "src/core/plugins/core-character-creator/client/src/view" { } -declare module "src/core/plugins/core-character-creator/client/index" { - import "src/core/plugins/core-character-creator/client/src/view"; -} -declare module "src/core/plugins/core-character-creator/shared/config" { - export const CHARACTER_CREATOR_CONFIG: { - CHARACTER_CREATOR_POS: { - x: number; - y: number; - z: number; - }; - CHARACTER_CREATOR_ROT: number; - }; -} -declare module "src/core/plugins/core-character-creator/server/src/view" { - export class CharacterCreatorView { - static init(): void; - } -} -declare module "src/core/plugins/core-character-creator/server/index" { } -declare module "src/core/plugins/core-character-creator/shared/locale" { - export const CHARACTER_CREATOR_LOCALE: { - titles: string[]; - LABEL_FIRST_NAME: string; - LABEL_LAST_NAME: string; - LABEL_BIRTHDAY: string; - LABEL_GENDER: string; - LABEL_DAY: string; - LABEL_MONTH: string; - LABEL_YEAR: string; - LABEL_PREV: string; - LABEL_NEXT: string; - LABEL_SAVE: string; - LABEL_FIELD_REQUIRED: string; - LABEL_CANNOT_EXCEED: string; - LABEL_CANNOT_BE_LESS: string; - LABEL_CHARACTER: string; - LABEL_NO_SPECIAL: string; - LABEL_NAME_NOT_AVAILABLE: string; - LABEL_CHARACTER_GENDER: string; - LABEL_VERIFIED: string; - characterName: string; - characterBirth: string; - characterGender: string; - appearanceComponent: { - LABEL_FRAME: string; - DESC_FRAME: string; - LABEL_MASCULINE: string; - LABEL_FEMININE: string; - LABEL_PRESETS: string; - DESC_PRESETS: string; - LABEL_FATHER: string; - DESC_FATHER: string; - LABEL_MOTHER: string; - DESC_MOTHER: string; - LABEL_FACEBLEND: string; - DESC_FACEBLEND: string; - LABEL_SKINBLEND: string; - DESC_SKINBLEND: string; - LABEL_EYECOLOUR: string; - DESC_EYECOLOUR: string; - LABEL_FACE: string; - LABEL_SKIN: string; - }; - hairComponent: { - LABEL_HAIRSTYLE: string; - DESC_HAIRSTYLE: string; - LABEL_HAIRSTYLE_COLOUR: string; - LABEL_HAIRSTYLE_HIGHLIGHTS: string; - LABEL_EYEBROWS: string; - DESC_EYEBROWS: string; - LABEL_EYEBROWS_COLOUR: string; - LABEL_FACIAL_HAIR: string; - DESC_FACIAL_HAIR: string; - LABEL_CHEST_HAIR: string; - DESC_CHEST_HAIR: string; - LABEL_OPACITY: string; - LABEL_FACIAL_HAIR_COLOUR: string; - LABEL_CHEST_HAIR_COLOUR: string; - masculine: string[]; - feminine: string[]; - facial: string[]; - eyebrows: string[]; - chest: string[]; - }; - structureComponent: string[]; - makeupComponent: { - LABEL_STYLE: string; - LABEL_OPACITY: string; - LABEL_COLOUR1: string; - LABEL_COLOUR2: string; - ids: { - 4: { - name: string; - description: string; - labels: string[]; - }; - 5: { - name: string; - description: string; - labels: string[]; - }; - 8: { - name: string; - description: string; - labels: string[]; - }; - }; - }; - overlaysComponent: { - LABEL_STYLE: string; - LABEL_OPACITY: string; - ids: { - 0: { - name: string; - description: string; - labels: string[]; - }; - 3: { - name: string; - description: string; - labels: string[]; - }; - 6: { - name: string; - description: string; - labels: string[]; - }; - 7: { - name: string; - description: string; - labels: string[]; - }; - 9: { - name: string; - description: string; - labels: string[]; - }; - 11: { - name: string; - description: string; - labels: string[]; - }; - }; - }; - faces: string[]; - color: { - hair: string[]; - overlays: string[]; - eyes: string[]; - }; - }; -} -declare module "src/core/plugins/core-character-creator/webview/utility/hairOverlays" { - export const MaleHairOverlays: { - 0: { - collection: string; - overlay: string; - }; - 1: { - collection: string; - overlay: string; - }; - 2: { - collection: string; - overlay: string; - }; - 3: { - collection: string; - overlay: string; - }; - 4: { - collection: string; - overlay: string; - }; - 5: { - collection: string; - overlay: string; - }; - 6: { - collection: string; - overlay: string; - }; - 7: { - collection: string; - overlay: string; - }; - 8: { - collection: string; - overlay: string; - }; - 9: { - collection: string; - overlay: string; - }; - 10: { - collection: string; - overlay: string; - }; - 11: { - collection: string; - overlay: string; - }; - 12: { - collection: string; - overlay: string; - }; - 13: { - collection: string; - overlay: string; - }; - 14: { - collection: string; - overlay: string; - }; - 15: { - collection: string; - overlay: string; - }; - 16: { - collection: string; - overlay: string; - }; - 17: { - collection: string; - overlay: string; - }; - 18: { - collection: string; - overlay: string; - }; - 19: { - collection: string; - overlay: string; - }; - 20: { - collection: string; - overlay: string; - }; - 21: { - collection: string; - overlay: string; - }; - 22: { - collection: string; - overlay: string; - }; - 23: { - collection: string; - overlay: string; - }; - 24: { - collection: string; - overlay: string; - }; - 25: { - collection: string; - overlay: string; - }; - 26: { - collection: string; - overlay: string; - }; - 27: { - collection: string; - overlay: string; - }; - 28: { - collection: string; - overlay: string; - }; - 29: { - collection: string; - overlay: string; - }; - 30: { - collection: string; - overlay: string; - }; - 31: { - collection: string; - overlay: string; - }; - 32: { - collection: string; - overlay: string; - }; - 33: { - collection: string; - overlay: string; - }; - 34: { - collection: string; - overlay: string; - }; - 35: { - collection: string; - overlay: string; - }; - 36: { - collection: string; - overlay: string; - }; - 37: { - collection: string; - overlay: string; - }; - 38: { - collection: string; - overlay: string; - }; - 39: { - collection: string; - overlay: string; - }; - 40: { - collection: string; - overlay: string; - }; - 41: { - collection: string; - overlay: string; - }; - 42: { - collection: string; - overlay: string; - }; - 43: { - collection: string; - overlay: string; - }; - 44: { - collection: string; - overlay: string; - }; - 45: { - collection: string; - overlay: string; - }; - 46: { - collection: string; - overlay: string; - }; - 47: { - collection: string; - overlay: string; - }; - 48: { - collection: string; - overlay: string; - }; - 49: { - collection: string; - overlay: string; - }; - 50: { - collection: string; - overlay: string; - }; - 51: { - collection: string; - overlay: string; - }; - 52: { - collection: string; - overlay: string; - }; - 53: { - collection: string; - overlay: string; - }; - 54: { - collection: string; - overlay: string; - }; - 55: { - collection: string; - overlay: string; - }; - 56: { - collection: string; - overlay: string; - }; - 57: { - collection: string; - overlay: string; - }; - 58: { - collection: string; - overlay: string; - }; - 59: { - collection: string; - overlay: string; - }; - 60: { - collection: string; - overlay: string; - }; - 61: { - collection: string; - overlay: string; - }; - 62: { - collection: string; - overlay: string; - }; - 63: { - collection: string; - overlay: string; - }; - 64: { - collection: string; - overlay: string; - }; - 65: { - collection: string; - overlay: string; - }; - 66: { - collection: string; - overlay: string; - }; - 67: { - collection: string; - overlay: string; - }; - 68: { - collection: string; - overlay: string; - }; - 69: { - collection: string; - overlay: string; - }; - 70: { - collection: string; - overlay: string; - }; - 71: { - collection: string; - overlay: string; - }; - 72: { - collection: string; - overlay: string; - }; - 73: { - collection: string; - overlay: string; - }; - }; - export const FemaleHairOverlays: { - 0: { - collection: string; - overlay: string; - }; - 1: { - collection: string; - overlay: string; - }; - 2: { - collection: string; - overlay: string; - }; - 3: { - collection: string; - overlay: string; - }; - 4: { - collection: string; - overlay: string; - }; - 5: { - collection: string; - overlay: string; - }; - 6: { - collection: string; - overlay: string; - }; - 7: { - collection: string; - overlay: string; - }; - 8: { - collection: string; - overlay: string; - }; - 9: { - collection: string; - overlay: string; - }; - 10: { - collection: string; - overlay: string; - }; - 11: { - collection: string; - overlay: string; - }; - 12: { - collection: string; - overlay: string; - }; - 13: { - collection: string; - overlay: string; - }; - 14: { - collection: string; - overlay: string; - }; - 15: { - collection: string; - overlay: string; - }; - 16: { - collection: string; - overlay: string; - }; - 17: { - collection: string; - overlay: string; - }; - 18: { - collection: string; - overlay: string; - }; - 19: { - collection: string; - overlay: string; - }; - 20: { - collection: string; - overlay: string; - }; - 21: { - collection: string; - overlay: string; - }; - 22: { - collection: string; - overlay: string; - }; - 23: { - collection: string; - overlay: string; - }; - 24: { - collection: string; - overlay: string; - }; - 25: { - collection: string; - overlay: string; - }; - 26: { - collection: string; - overlay: string; - }; - 27: { - collection: string; - overlay: string; - }; - 28: { - collection: string; - overlay: string; - }; - 29: { - collection: string; - overlay: string; - }; - 30: { - collection: string; - overlay: string; - }; - 31: { - collection: string; - overlay: string; - }; - 32: { - collection: string; - overlay: string; - }; - 33: { - collection: string; - overlay: string; - }; - 34: { - collection: string; - overlay: string; - }; - 35: { - collection: string; - overlay: string; - }; - 36: { - collection: string; - overlay: string; - }; - 37: { - collection: string; - overlay: string; - }; - 38: { - collection: string; - overlay: string; - }; - 39: { - collection: string; - overlay: string; - }; - 40: { - collection: string; - overlay: string; - }; - 41: { - collection: string; - overlay: string; - }; - 42: { - collection: string; - overlay: string; - }; - 43: { - collection: string; - overlay: string; - }; - 44: { - collection: string; - overlay: string; - }; - 45: { - collection: string; - overlay: string; - }; - 46: { - collection: string; - overlay: string; - }; - 47: { - collection: string; - overlay: string; - }; - 48: { - collection: string; - overlay: string; - }; - 49: { - collection: string; - overlay: string; - }; - 50: { - collection: string; - overlay: string; - }; - 51: { - collection: string; - overlay: string; - }; - 52: { - collection: string; - overlay: string; - }; - 53: { - collection: string; - overlay: string; - }; - 54: { - collection: string; - overlay: string; - }; - 55: { - collection: string; - overlay: string; - }; - 56: { - collection: string; - overlay: string; - }; - 57: { - collection: string; - overlay: string; - }; - 58: { - collection: string; - overlay: string; - }; - 59: { - collection: string; - overlay: string; - }; - 60: { - collection: string; - overlay: string; - }; - 61: { - collection: string; - overlay: string; - }; - 62: { - collection: string; - overlay: string; - }; - 63: { - collection: string; - overlay: string; - }; - 64: { - collection: string; - overlay: string; - }; - 65: { - collection: string; - overlay: string; - }; - 66: { - collection: string; - overlay: string; - }; - 67: { - collection: string; - overlay: string; - }; - 68: { - collection: string; - overlay: string; - }; - 69: { - collection: string; - overlay: string; - }; - 70: { - collection: string; - overlay: string; - }; - 71: { - collection: string; - overlay: string; - }; - 72: { - collection: string; - overlay: string; - }; - 73: { - collection: string; - overlay: string; - }; - 74: { - collection: string; - overlay: string; - }; - 75: { - collection: string; - overlay: string; - }; - 76: { - collection: string; - overlay: string; - }; - 77: { - collection: string; - overlay: string; - }; - }; -} -declare module "src/core/plugins/core-character-creator/webview/utility/makeupList" { - const _default_26: ({ - min: number; - max: number; - increment: number; - id: number; - opacity: number; - color1: number; - color2: number; - value: number; - } | { - min: number; - max: number; - increment: number; - id: number; - opacity: number; - color1: number; - value: number; - color2?: undefined; - })[]; - export default _default_26; -} -declare module "src/core/plugins/core-character-creator/webview/utility/overlaysList" { - const _default_27: { - min: number; - max: number; - increment: number; - id: number; - opacity: number; - value: number; - }[]; - export default _default_27; -} -declare module "src/core/plugins/core-character-creator/webview/utility/presets" { - export const MalePresets: ({ - faceMother: number; - faceFather: number; - skinMother: number; - skinFather: number; - skinMix: number; - faceMix: number; - hair: number; - hairColor1: number; - hairColor2: number; - sex?: undefined; - facialHair?: undefined; - facialHairColor1?: undefined; - facialHairOpacity?: undefined; - eyes?: undefined; - eyebrows?: undefined; - eyebrowsOpacity?: undefined; - eyebrowsColor1?: undefined; - } | { - sex: number; - faceFather: number; - faceMother: number; - skinFather: number; - skinMother: number; - faceMix: number; - skinMix: number; - hair: number; - hairColor1: number; - hairColor2: number; - facialHair: number; - facialHairColor1: number; - facialHairOpacity: number; - eyes: number; - eyebrows?: undefined; - eyebrowsOpacity?: undefined; - eyebrowsColor1?: undefined; - } | { - sex: number; - faceFather: number; - faceMother: number; - skinFather: number; - skinMother: number; - faceMix: number; - skinMix: number; - hair: number; - hairColor1: number; - hairColor2: number; - facialHair: number; - facialHairColor1: number; - facialHairOpacity: number; - eyebrows: number; - eyebrowsOpacity: number; - eyebrowsColor1: number; - eyes: number; - })[]; - export const FemalePresets: ({ - faceMother: number; - faceFather: number; - skinMother: number; - skinFather: number; - skinMix: number; - faceMix: number; - hair: number; - hairColor1: number; - hairColor2: number; - sex?: undefined; - eyes?: undefined; - } | { - sex: number; - faceFather: number; - faceMother: number; - skinFather: number; - skinMother: number; - faceMix: number; - skinMix: number; - hair: number; - hairColor1: number; - hairColor2: number; - eyes?: undefined; - } | { - sex: number; - faceFather: number; - faceMother: number; - skinFather: number; - skinMother: number; - faceMix: number; - skinMix: number; - hair: number; - hairColor1: number; - hairColor2: number; - eyes: number; - })[]; -} -declare module "src/core/plugins/core-chat/shared/events" { - export const CHAT_WEBVIEW_EVENTS: { - SET_MESSAGES: string; - PASS_KEY_PRESS: string; - }; -} -declare module "src/core/plugins/core-chat/client/index" { } -declare module "src/core/plugins/core-chat/shared/config" { - export const CHAT_CONFIG: { - settings: { - range: number; - commands: { - oocDistance: number; - meDistance: number; - doDistance: number; - lowDistance: number; - whisperDistance: number; - oocColour: string; - roleplayColour: string; - lowColour: string; - whisperColour: string; - }; - }; - behavior: { - scroll: boolean; - messageIndexes: boolean; - timestamps: boolean; - display: number; - length: number; - }; - style: { - 'max-width': string; - 'font-size': string; - 'font-weight': number; - opacity: number; - }; - }; -} -declare module "src/core/plugins/core-chat/server/src/chat" { - export function init(): void; -} -declare module "src/core/plugins/core-chat/server/src/commands" { } -declare module "src/core/plugins/core-chat/server/index" { - import "src/core/plugins/core-chat/server/src/commands"; -} -declare module "src/core/plugins/core-chat/webview/utility/generateBytes" { - export function generateBytes(length: number): string; -} -declare module "src/core/plugins/core-chat/webview/utility/padNumber" { - export function padNumber(value: number): string; -} -declare module "src/core/shared/utility/consoleCommander" { - export class ConsoleCommander { - static init(alt: { - on: (event: string, handler: Function) => any; - }): void; - static invokeCommand(cmdName: string, ...args: string[]): void; - static registerConsoleCommand(cmdName: string, callback: (...args: string[]) => void): void; - static getCommands(): string[]; - } -} -declare module "src/core/plugins/core-commands/client/src/consoleCommands" { } -declare module "src/core/plugins/core-commands/client/index" { - import "src/core/plugins/core-commands/client/src/consoleCommands"; -} -declare module "src/core/shared/utility/clothing" { - import { ClothingComponent, DefaultItemBehavior, Item } from "src/core/shared/interfaces/item"; - export type ClothingInfo = { - sex: number; - components: Array; - }; - export function clothingItemToIconName(item: Item): string; - export function clothingComponentToIconName(sex: number, components: Array): string; -} -declare module "src/core/plugins/core-commands/server/commands/moderator/clothing" { } -declare module "src/core/plugins/core-commands/server/commands/moderator/currency" { } -declare module "src/core/plugins/core-commands/server/commands/moderator/door" { } -declare module "src/core/plugins/core-commands/server/commands/moderator/interior" { } -declare module "src/core/plugins/core-commands/server/commands/moderator/inventory" { } -declare module "src/core/plugins/core-commands/server/commands/moderator/item" { } -declare module "src/core/plugins/core-commands/server/commands/moderator/noclip" { } -declare module "src/core/plugins/core-commands/server/commands/moderator/player" { } -declare module "src/core/plugins/core-commands/server/commands/moderator/skins" { } -declare module "src/core/plugins/core-commands/server/commands/moderator/teleport" { } -declare module "src/core/plugins/core-commands/server/commands/moderator/test" { } -declare module "src/core/plugins/core-commands/server/commands/moderator/vehicle" { } -declare module "src/core/plugins/core-commands/server/commands/moderator/utility" { } -declare module "src/core/plugins/core-commands/server/commands/moderator/weapons" { } -declare module "src/core/plugins/core-commands/server/commands/moderator/index" { - import "src/core/plugins/core-commands/server/commands/moderator/clothing"; - import "src/core/plugins/core-commands/server/commands/moderator/currency"; - import "src/core/plugins/core-commands/server/commands/moderator/door"; - import "src/core/plugins/core-commands/server/commands/moderator/interior"; - import "src/core/plugins/core-commands/server/commands/moderator/inventory"; - import "src/core/plugins/core-commands/server/commands/moderator/item"; - import "src/core/plugins/core-commands/server/commands/moderator/noclip"; - import "src/core/plugins/core-commands/server/commands/moderator/player"; - import "src/core/plugins/core-commands/server/commands/moderator/skins"; - import "src/core/plugins/core-commands/server/commands/moderator/teleport"; - import "src/core/plugins/core-commands/server/commands/moderator/test"; - import "src/core/plugins/core-commands/server/commands/moderator/vehicle"; - import "src/core/plugins/core-commands/server/commands/moderator/utility"; - import "src/core/plugins/core-commands/server/commands/moderator/weapons"; -} -declare module "src/core/plugins/core-commands/server/commands/player/job" { } -declare module "src/core/plugins/core-commands/server/commands/player/player" { } -declare module "src/core/plugins/core-commands/server/commands/player/vehicle" { } -declare module "src/core/plugins/core-commands/server/commands/player/index" { - import "src/core/plugins/core-commands/server/commands/player/job"; - import "src/core/plugins/core-commands/server/commands/player/player"; - import "src/core/plugins/core-commands/server/commands/player/vehicle"; -} -declare module "src/core/plugins/core-commands/server/commands/admin/permissions" { } -declare module "src/core/plugins/core-commands/server/commands/admin/index" { - import "src/core/plugins/core-commands/server/commands/admin/permissions"; -} -declare module "src/core/plugins/core-commands/server/index" { - import "src/core/plugins/core-commands/server/commands/moderator/index"; - import "src/core/plugins/core-commands/server/commands/player/index"; - import "src/core/plugins/core-commands/server/commands/admin/index"; -} -declare module "src/core/plugins/core-commands/shared/iRoleplayCmds" { - export interface IRoleplayCmds { - COMMAND_OOC_DISTANCE: number; - COMMAND_ME_DISTANCE: number; - COMMAND_DO_DISTANCE: number; - COMMAND_LOW_DISTANCE: number; - COMMAND_WHISPER_DISTANCE: number; - CHAT_ROLEPLAY_OOC_COLOR: string; - CHAT_ROLEPLAY_COLOR: string; - CHAT_ROLEPLAY_LOW_COLOR: string; - CHAT_ROLEPLAY_WHISPER_COLOR: string; - } -} -declare module "src/core/plugins/core-commands/server/config/commandsConfig" { - import { IRoleplayCmds } from "src/core/plugins/core-commands/shared/iRoleplayCmds"; - export const RoleplayCmdsConfig: IRoleplayCmds; -} -declare module "src/core/plugins/core-inventory/shared/events" { - export const INVENTORY_EVENTS: { - PAGE: string; - TO_SERVER: { - USE: string; - DROP: string; - SPLIT: string; - SWAP: string; - UNEQUIP: string; - OPEN: string; - CLOSE: string; - COMBINE: string; - GIVE: string; - }; - TO_CLIENT: { - OPEN: string; - CLOSE: string; - }; - FROM_WEBVIEW: { - READY: string; - GET_CLOSEST_PLAYERS: string; - }; - FROM_CLIENT: { - SET_CLOSEST_PLAYERS: string; - }; - TO_WEBVIEW: { - SET_CUSTOM: string; - SET_INVENTORY: string; - SET_SIZE: string; - SET_WEIGHT_STATE: string; - SET_MAX_WEIGHT: string; - }; - }; -} -declare module "src/core/plugins/core-inventory/shared/config" { - export const INVENTORY_CONFIG: { - PLUGIN_FOLDER_NAME: string; - KEYBIND: number; - WEBVIEW: { - GRID: { - SHOW_NUMBERS: boolean; - }; - TOOLBAR: { - SHOW_NUMBERS: boolean; - }; - WEIGHT: { - UNITS: string; - }; - }; - MAX_GIVE_DISTANCE: number; - }; -} -declare module "src/core/plugins/core-inventory/client/index" { } -declare module "src/core/plugins/core-inventory/server/src/view" { - import * as alt from 'alt-server'; - import { StoredItem } from "src/core/shared/interfaces/item"; - type PlayerCallback = (player: alt.Player) => void; - type PlayerCloseCallback = (uid: string, items: Array, player: alt.Player | undefined) => void; - function addCallback(type: 'close', callback: PlayerCloseCallback): any; - function addCallback(type: 'open', callback: PlayerCallback): any; - export const InventoryView: { - init(): void; - callbacks: { - add: typeof addCallback; - }; - controls: { - open(player: alt.Player): void; - close(player: alt.Player): void; - }; - storage: { - open(player: alt.Player, uid: string, items: Array, storageSize: number, forceOpenInventory?: boolean): Promise; - resync(player: alt.Player): void; - isUsingSession(player: alt.Player, uid: string): boolean; - isSessionInUse(uid: string): boolean; - }; - }; -} -declare module "src/core/plugins/core-inventory/server/index" { } -declare module "src/core/plugins/core-inventory/shared/equipment" { - export const EquipmentSlots: Array<{ - name: string; - slot: number; - displayOrder: number; - }>; -} -declare module "src/core/plugins/core-inventory/webview/utility/debounce" { - export function debounceReady(): boolean; -} -declare module "src-webviews/src/utility/pathResolver" { - export default function resolvePath(currentPath: string, pluginName?: string): string; -} -declare module "src/core/plugins/core-inventory/webview/utility/inventoryIcon" { - import { Item } from "src/core/shared/interfaces/item"; - export function getImagePath(item: Item): string; -} -declare module "src/core/plugins/core-inventory/webview/utility/slotInfo" { - export interface SlotInfo { - slot: number; - location: 'inventory' | 'toolbar' | 'custom'; - hasItem: boolean; - quantity: number; - name: string; - weight: number; - highlight?: boolean; - } -} -declare module "src/core/plugins/discord-auth/shared/events" { - export const DiscordAuthEvents: { - toServer: { - pushToken: string; - }; - toClient: { - requestToken: string; - }; - }; -} -declare module "src/core/plugins/discord-auth/client/index" { } -declare module "src/core/plugins/discord-auth/server/config" { - export const DiscordAuthConfig: { - APPLICATION_ID: string; - }; -} -declare module "src/core/plugins/discord-auth/server/index" { } -declare module "src/core/plugins/private-pause-menu/shared/events" { - export type PauseMenuToWebview = 'pause-menu-set-config'; - export type PauseMenuToClient = 'pause-menu-invoke-event' | 'pause-menu-close'; - export const PauseMenuEvents: { - ToServer: { - InvokeEvent: string; - }; - Default: { - quit: string; - map: string; - options: string; - }; - }; -} -declare module "src/core/plugins/private-pause-menu/shared/config" { - export type EventInfo = { - eventName: string; - text: string; - isServer?: boolean; - }; - export interface PauseConfigType { - pauseImage: string; - pauseText: string; - options: Array; - lastOption: EventInfo; - } - const InternalConfig: PauseConfigType; - function set(key: 'lastOption', value: EventInfo): any; - function set(key: 'options', value: Array): any; - function set(key: 'pauseText', value: string): any; - function set(key: 'pauseImage', value: string): any; - export const PauseConfig: { - set: typeof set; - get(key: keyof typeof InternalConfig): T; - }; -} -declare module "src/core/plugins/private-pause-menu/shared/eventHandler" { - export const PauseMenuEventHandler: { - callbacks: { - add(eventName: string, callback: Function): void; - get(eventName: string): T; - }; - }; -} -declare module "src/core/plugins/private-pause-menu/client/index" { - import { EventInfo } from "src/core/plugins/private-pause-menu/shared/config"; - export const PrivatePauseMenu: { - forceOpen(): void; - options: { - add(option: EventInfo, callback: Function): void; - remove(eventName: string): void; - set(options: Array): void; - reset(): void; - }; - }; -} -declare module "src/core/plugins/private-pause-menu/server/index" { } -declare module "src/core/plugins/private-pm-keybind-menu/shared/events" { - export type KeybindMenuEvents = 'update-keybind-list' | 'update-keybind' | 'keybind-close-menu'; -} -declare module "src/core/plugins/private-pm-keybind-menu/shared/interfaces" { - export interface HotkeyInfo { - key: number; - default: number; - description: string; - identifier: string; - modifier?: string; - } -} -declare module "src/core/plugins/private-pm-keybind-menu/client/index" { } -declare module "src/core/plugins/private-pm-keybind-menu/server/index" { } -declare module "src/core/plugins/sandbox/server/index" { } -declare module "src/core/server/imports/configs" { - import "src/core/server/athena/main"; -} -declare module "src/core/server/events/clientEvents" { - import * as alt from 'alt-server'; - import { ATHENA_EVENTS_PLAYER_CLIENT } from "src/core/shared/enums/athenaEvents"; - export function trigger(eventName: ATHENA_EVENTS_PLAYER_CLIENT, player: alt.Player, ...args: any[]): void; - export function on(eventName: ATHENA_EVENTS_PLAYER_CLIENT, callback: (player: alt.Player, ...args: any[]) => void): void; -} -declare module "src/core/server/events/onAppearance" { } -declare module "src/core/server/events/pickupItemEvent" { } -declare module "src/core/server/systems/dev" { - import * as alt from 'alt-server'; - export class DevModeOverride { - static setDevAccountCallback(cb: (player: alt.Player) => Promise): void; - static login(player: alt.Player): Promise; - } -} -declare module "src/core/server/events/playerConnect" { } -declare module "src/core/server/events/playerDeath" { } -declare module "src/core/server/events/waypointEvent" { } -declare module "src/core/server/imports/events" { - import "src/core/server/events/clientEvents"; - import "src/core/server/events/onAppearance"; - import "src/core/server/events/pickupItemEvent"; - import "src/core/server/events/playerConnect"; - import "src/core/server/events/playerDeath"; - import "src/core/server/vehicle/events"; - import "src/core/server/events/waypointEvent"; -} -declare module "src/core/server/interface/iDiscordUser" { - export interface DiscordUser { - id: string; - username: string; - avatar: string; - email?: string; - discriminator: string; - public_flags: number; - flags: number; - locale: string; - mfa_enabled: boolean; - } -} -declare module "src/core/server/extensions/extPlayer" { - import * as alt from 'alt-server'; - import { DiscordUser } from "src/core/server/interface/iDiscordUser"; - import IAttachable from "src/core/shared/interfaces/iAttachable"; - module 'alt-server' { - interface Player { - pendingLogin?: boolean; - discordToken?: string; - hasModel?: boolean; - discord?: DiscordUser; - nextPingTime: number; - nextPlayTime: number; - currentWaypoint: alt.IVector3 | null; - attachables?: Array | null; - } - } -} -declare module "src/core/server/imports/commands" { } -declare module "src/core/server/systems/defaults/vehiclesDespawnOnDestroy" { - export function disable(): void; - export function setTimeBeforeRemove(milliseconds: number): void; -} -declare module "src/core/server/imports/systems" { - import "src/core/server/systems/account"; - import "src/core/server/systems/adminControl"; - import "src/core/server/systems/global"; - import "src/core/server/systems/identifier"; - import "src/core/server/systems/inventory/clothing"; - import "src/core/server/systems/inventory/config"; - import "src/core/server/systems/inventory/crafting"; - import "src/core/server/systems/inventory/drops"; - import "src/core/server/systems/inventory/effects"; - import "src/core/server/systems/inventory/factory"; - import "src/core/server/systems/inventory/manager"; - import "src/core/server/systems/inventory/slot"; - import "src/core/server/systems/inventory/weapons"; - import "src/core/server/systems/inventory/weight"; - import "src/core/server/systems/job/events"; - import "src/core/server/systems/job/instance"; - import "src/core/server/systems/job/system"; - import "src/core/server/systems/job/triggers"; - import "src/core/server/systems/job/verify"; - import "src/core/server/systems/jobTrigger"; - import "src/core/server/systems/messenger/messaging"; - import "src/core/server/systems/plugins"; - import "src/core/server/systems/streamer"; - import "src/core/server/systems/tick"; - import "src/core/server/systems/defaults/ammo"; - import "src/core/server/systems/defaults/clothingCrafting"; - import "src/core/server/systems/defaults/death"; - import "src/core/server/systems/defaults/displayId"; - import "src/core/server/systems/defaults/inventorySync"; - import "src/core/server/systems/defaults/time"; - import "src/core/server/systems/defaults/toolbar"; - import "src/core/server/systems/defaults/vehiclesDespawnOnDestroy"; - import "src/core/server/systems/defaults/vehiclesDespawnOnLeave"; - import "src/core/server/systems/defaults/vehiclesSpawnOnJoin"; - import "src/core/server/systems/defaults/weaponItems"; - import "src/core/server/systems/defaults/weather"; -} -declare module "src/core/server/imports/controllers" { - import "src/core/server/controllers/admin"; - import "src/core/server/controllers/blip"; - import "src/core/server/controllers/doors"; - import "src/core/server/controllers/interaction"; - import "src/core/server/controllers/marker"; - import "src/core/server/controllers/object"; - import "src/core/server/controllers/staticPed"; - import "src/core/server/controllers/textlabel"; - import "src/core/server/controllers/worldNotifications"; -} -declare module "src/core/server/vehicle/internalEvents" { } -declare module "src/core/server/imports/vehicle" { - import "src/core/server/vehicle/asPlayer"; - import "src/core/server/vehicle/controls"; - import "src/core/server/vehicle/events"; - import "src/core/server/vehicle/get"; - import "src/core/server/vehicle/internalEvents"; - import "src/core/server/vehicle/ownership"; - import "src/core/server/vehicle/spawn"; - import "src/core/server/vehicle/tempVehicles"; - import "src/core/server/vehicle/tuning"; -} -declare module "src/core/server/imports/utilities" { - import "src/core/server/utility/config"; -} -declare module "src/core/server/boot" { - import "src/core/server/imports/configs"; - import "src/core/server/systems/plugins"; - import "src/core/server/systems/streamer"; - import "src/core/server/api/index"; - import "src/core/server/imports/events"; - import "src/core/server/extensions/extPlayer"; - import "src/core/server/extensions/extColshape"; - import "src/core/server/imports/commands"; - import "src/core/server/imports/systems"; - import "src/core/server/imports/controllers"; - import "src/core/server/imports/vehicle"; - import "src/core/server/imports/utilities"; - import '../plugins/athena/server/imports'; -} -declare module "src/core/server/utility/reconnect" { - export function invoke(): Promise; - export function isWindows(): boolean; - export function reconnect(): Promise; - const _default_28: { - invoke: typeof invoke; - isWindows: typeof isWindows; - reconnect: typeof reconnect; - }; - export default _default_28; -} -declare module "src/core/server/startup" { } -interface ControllerFuncs { - append: append; - remove: remove; - addToPlayer?: addToPlayer; - removeFromPlayer?: removeFromPlayer; - update?: update; -} -declare module "src/core/server/interface/iCategoryData" { - export interface CategoryData { - abbrv?: string; - name: 'inventory' | 'equipment' | 'toolbar' | 'ground'; - emptyCheck?: Function; - getItem?: Function; - removeItem?: Function; - addItem?: Function; - } -} -declare module "src/core/server/interface/iOptions" { - export type DiscordID = string; - export interface Options { - _id?: any; - whitelist?: Array; - } - export const defaultOptions: { - whitelist: any[]; - }; -} -declare module "src/core/server/utility/screenshot" { - import * as alt from 'alt-server'; - export class AthenaScreenshot { - static takeScreenshot(player: alt.Player): Promise; - static buildData(player: alt.Player, data: string, index: number, lengthOfData: number): Promise; - } -} -declare module "src/core/shared/enums/VehicleHash" { - export enum VEHICLE_HASH { - ADDER = 3078201489, - AIRBUS = 1283517198, - AIRTUG = 1560980623, - AKULA = 1181327175, - AKUMA = 1672195559, - ALKONOST = 3929093893, - ALPHA = 767087018, - ALPHAZ1 = 2771347558, - AMBULANCE = 1171614426, - ANNIHILATOR = 837858166, - ANNIHILATOR2 = 295054921, - APC = 562680400, - ARDENT = 159274291, - ARMYTANKER = 3087536137, - ARMYTRAILER = 2818520053, - ARMYTRAILER2 = 2657817814, - ASBO = 1118611807, - ASTRON = 629969764, - ASEA = 2485144969, - ASEA2 = 2487343317, - ASTEROPE = 2391954683, - AUTARCH = 3981782132, - AVARUS = 2179174271, - AVENGER = 2176659152, - AVENGER2 = 408970549, - AVISA = 2588363614, - BAGGER = 2154536131, - BALETRAILER = 3895125590, - BALLER = 3486135912, - BALLER2 = 142944341, - BALLER3 = 1878062887, - BALLER4 = 634118882, - BALLER5 = 470404958, - BALLER6 = 666166960, - BALLER7 = 359875117, - BANSHEE = 3253274834, - BANSHEE2 = 633712403, - BARRACKS = 3471458123, - BARRACKS2 = 1074326203, - BARRACKS3 = 630371791, - BARRAGE = 4081974053, - BATI = 4180675781, - BATI2 = 3403504941, - BENSON = 2053223216, - BESRA = 1824333165, - BESTIAGTS = 1274868363, - BF400 = 86520421, - BFINJECTION = 1126868326, - BIFF = 850991848, - BIFTA = 3945366167, - BISON = 4278019151, - BISON2 = 2072156101, - BISON3 = 1739845664, - BJXL = 850565707, - BLADE = 3089165662, - BLAZER = 2166734073, - BLAZER2 = 4246935337, - BLAZER3 = 3025077634, - BLAZER4 = 3854198872, - BLAZER5 = 2704629607, - BLIMP = 4143991942, - BLIMP2 = 3681241380, - BLIMP3 = 3987008919, - BLISTA = 3950024287, - BLISTA2 = 1039032026, - BLISTA3 = 3703315515, - BMX = 1131912276, - BOATTRAILER = 524108981, - BOBCATXL = 1069929536, - BODHI2 = 2859047862, - BOMBUSHKA = 4262088844, - BOXVILLE = 2307837162, - BOXVILLE2 = 4061868990, - BOXVILLE3 = 121658888, - BOXVILLE4 = 444171386, - BOXVILLE5 = 682434785, - BRAWLER = 2815302597, - BRICKADE = 3989239879, - BRIOSO = 1549126457, - BRIOSO2 = 1429622905, - BRIOSO3 = 15214558, - BRUISER = 668439077, - BRUISER2 = 2600885406, - BRUISER3 = 2252616474, - BRUTUS = 2139203625, - BRUTUS2 = 2403970600, - BRUTUS3 = 2038858402, - BTYPE = 117401876, - BTYPE2 = 3463132580, - BTYPE3 = 3692679425, - BUCCANEER = 3612755468, - BUCCANEER2 = 3281516360, - BUFFALO = 3990165190, - BUFFALO2 = 736902334, - BUFFALO3 = 237764926, - BUFFALO4 = 3675036420, - BULLDOZER = 1886712733, - BULLET = 2598821281, - BURRITO = 2948279460, - BURRITO2 = 3387490166, - BURRITO3 = 2551651283, - BURRITO4 = 893081117, - BURRITO5 = 1132262048, - BUS = 3581397346, - BUZZARD = 788747387, - BUZZARD2 = 745926877, - CABLECAR = 3334677549, - CADDY = 1147287684, - CADDY2 = 3757070668, - CADDY3 = 3525819835, - CALICO = 3101054893, - CAMPER = 1876516712, - CARACARA = 1254014755, - CARACARA2 = 2945871676, - CARBONIZZARE = 2072687711, - CARBONRS = 11251904, - CARGOBOB = 4244420235, - CARGOBOB2 = 1621617168, - CARGOBOB3 = 1394036463, - CARGOBOB4 = 2025593404, - CARGOPLANE = 368211810, - CASCO = 941800958, - CAVALCADE = 2006918058, - CAVALCADE2 = 3505073125, - CERBERUS = 3493417227, - CERBERUS2 = 679453769, - CERBERUS3 = 1909700336, - CHAMPION = 3379732821, - CHEBUREK = 3306466016, - CHEETAH = 2983812512, - CHEETAH2 = 223240013, - CHERNOBOG = 3602674979, - CHIMERA = 6774487, - CHINO = 349605904, - CHINO2 = 2933279331, - CINQUEMILA = 2767531027, - CLIQUE = 2728360112, - CLIFFHANGER = 390201602, - CLUB = 2196012677, - COACH = 2222034228, - COG55 = 906642318, - COG552 = 704435172, - COGCABRIO = 330661258, - COGNOSCENTI = 2264796000, - COGNOSCENTI2 = 3690124666, - COMET2 = 3249425686, - COMET3 = 2272483501, - COMET4 = 1561920505, - COMET5 = 661493923, - COMET6 = 2568944644, - COMET7 = 1141395928, - CONADA = 3817135397, - CONTENDER = 683047626, - COQUETTE = 108773431, - COQUETTE2 = 1011753235, - COQUETTE3 = 784565758, - COQUETTE4 = 2566281822, - CORSITA = 3540279623, - CRUISER = 448402357, - CRUSADER = 321739290, - CUBAN800 = 3650256867, - CUTTER = 3288047904, - CYCLONE = 1392481335, - CYPHER = 1755697647, - DAEMON = 2006142190, - DAEMON2 = 2890830793, - DEATHBIKE = 4267640610, - DEATHBIKE2 = 2482017624, - DEATHBIKE3 = 2920466844, - DEFILER = 822018448, - DEITY = 1532171089, - DELUXO = 1483171323, - DEVESTE = 1591739866, - DEVIANT = 1279262537, - DIABLOUS = 4055125828, - DIABLOUS2 = 1790834270, - DILETTANTE = 3164157193, - DILETTANTE2 = 1682114128, - DINGHY = 1033245328, - DINGHY2 = 276773164, - DINGHY3 = 509498602, - DINGHY4 = 867467158, - DINGHY5 = 3314393930, - DLOADER = 1770332643, - DOCKTRAILER = 2154757102, - DOCKTUG = 3410276810, - DODO = 3393804037, - DOMINATOR = 80636076, - DOMINATOR2 = 3379262425, - DOMINATOR3 = 3308022675, - DOMINATOR4 = 3606777648, - DOMINATOR5 = 2919906639, - DOMINATOR6 = 3001042683, - DOMINATOR7 = 426742808, - DOMINATOR8 = 736672010, - DOUBLE = 2623969160, - DRAFTER = 686471183, - DRAUGUR = 3526730918, - DUBSTA = 1177543287, - DUBSTA2 = 3900892662, - DUBSTA3 = 3057713523, - DUKES = 723973206, - DUKES2 = 3968823444, - DUKES3 = 2134119907, - DUMP = 2164484578, - DUNE = 2633113103, - DUNE2 = 534258863, - DUNE3 = 1897744184, - DUNE4 = 3467805257, - DUNE5 = 3982671785, - DUSTER = 970356638, - DYNASTY = 310284501, - ELEGY = 196747873, - ELEGY2 = 3728579874, - ELLIE = 3027423925, - EMERUS = 1323778901, - EMPEROR = 3609690755, - EMPEROR2 = 2411965148, - EMPEROR3 = 3053254478, - ENDURO = 1753414259, - ENTITYXF = 3003014393, - ENTITYXXR = 2174267100, - ESSKEY = 2035069708, - EUROS = 2038480341, - EVERON = 2538945576, - EXEMPLAR = 4289813342, - F620 = 3703357000, - FACTION = 2175389151, - FACTION2 = 2504420315, - FACTION3 = 2255212070, - FAGALOA = 1617472902, - FAGGIO = 2452219115, - FAGGIO2 = 55628203, - FAGGIO3 = 3005788552, - FBI = 1127131465, - FBI2 = 2647026068, - FCR = 627535535, - FCR2 = 3537231886, - FELON = 3903372712, - FELON2 = 4205676014, - FELTZER2 = 2299640309, - FELTZER3 = 2728226064, - FIRETRUCK = 1938952078, - FIXTER = 3458454463, - FLASHGT = 3035832600, - FLATBED = 1353720154, - FORKLIFT = 1491375716, - FORMULA = 340154634, - FORMULA2 = 2334210311, - FMJ = 1426219628, - FQ2 = 3157435195, - FREECRAWLER = 4240635011, - FREIGHT = 1030400667, - FREIGHTCAR = 184361638, - FREIGHTCAR2 = 3186376089, - FREIGHTCONT1 = 920453016, - FREIGHTCONT2 = 240201337, - FREIGHTGRAIN = 642617954, - FREIGHTTRAILER = 3517691494, - FROGGER = 744705981, - FROGGER2 = 1949211328, - FUGITIVE = 1909141499, - FURIA = 960812448, - FUROREGT = 3205927392, - FUSILADE = 499169875, - FUTO = 2016857647, - FUTO2 = 2787736776, - GARGOYLE = 741090084, - GAUNTLET = 2494797253, - GAUNTLET2 = 349315417, - GAUNTLET3 = 722226637, - GAUNTLET4 = 1934384720, - GAUNTLET5 = 2172320429, - GB200 = 1909189272, - GBURRITO = 2549763894, - GBURRITO2 = 296357396, - GLENDALE = 75131841, - GLENDALE2 = 3381377750, - GP1 = 1234311532, - GRAINTRAILER = 1019737494, - GRANGER = 2519238556, - GRANGER2 = 4033620423, - GREENWOOD = 40817712, - GRESLEY = 2751205197, - GROWLER = 1304459735, - GT500 = 2215179066, - GUARDIAN = 2186977100, - HABANERO = 884422927, - HAKUCHOU = 1265391242, - HAKUCHOU2 = 4039289119, - HALFTRACK = 4262731174, - HANDLER = 444583674, - HAULER = 1518533038, - HAULER2 = 387748548, - HAVOK = 2310691317, - HELLION = 3932816511, - HERMES = 15219735, - HEXER = 301427732, - HOTKNIFE = 37348240, - HOTRINGSABRE = 1115909093, - HOWARD = 3287439187, - HUNTER = 4252008158, - HUNTLEY = 486987393, - HUSTLER = 600450546, - HYDRA = 970385471, - IGNUS = 2850852987, - IMORGON = 3162245632, - IMPALER = 2198276962, - IMPALER2 = 1009171724, - IMPALER3 = 2370166601, - IMPALER4 = 2550461639, - IMPERATOR = 444994115, - IMPERATOR2 = 1637620610, - IMPERATOR3 = 3539435063, - INFERNUS = 418536135, - INFERNUS2 = 2889029532, - INGOT = 3005245074, - INNOVATION = 4135840458, - INSURGENT = 2434067162, - INSURGENT2 = 2071877360, - INSURGENT3 = 2370534026, - INTRUDER = 886934177, - ISSI2 = 3117103977, - ISSI3 = 931280609, - ISSI4 = 628003514, - ISSI5 = 1537277726, - ISSI6 = 1239571361, - ISSI7 = 1854776567, - ITALIGTB = 2246633323, - ITALIGTB2 = 3812247419, - ITALIGTO = 3963499524, - ITALIRSX = 3145241962, - IWAGEN = 662793086, - JACKAL = 3670438162, - JB700 = 1051415893, - JB7002 = 394110044, - JESTER = 2997294755, - JESTER2 = 3188613414, - JESTER3 = 4080061290, - JESTER4 = 2712905841, - JET = 1058115860, - JETMAX = 861409633, - JOURNEY = 4174679674, - JUBILEE = 461465043, - JUGULAR = 4086055493, - KALAHARI = 92612664, - KAMACHO = 4173521127, - KANJO = 409049982, - KANJOSJ = 4230891418, - KHAMELION = 544021352, - KHANJARI = 2859440138, - KOMODA = 3460613305, - KOSATKA = 1336872304, - KRIEGER = 3630826055, - KURUMA = 2922118804, - KURUMA2 = 410882957, - LANDSTALKER = 1269098716, - LANDSTALKER2 = 3456868130, - LAZER = 3013282534, - LE7B = 3062131285, - LECTRO = 640818791, - LGUARD = 469291905, - LIMO2 = 4180339789, - LM87 = 4284049613, - LOCUST = 3353694737, - LONGFIN = 1861786828, - LURCHER = 2068293287, - LUXOR = 621481054, - LUXOR2 = 3080673438, - LYNX = 482197771, - MAMBA = 2634021974, - MAMMATUS = 2548391185, - MENACER = 2044532910, - MANANA = 2170765704, - MANANA2 = 1717532765, - MANCHEZ = 2771538552, - MANCHEZ2 = 1086534307, - MARQUIS = 3251507587, - MARSHALL = 1233534620, - MASSACRO = 4152024626, - MASSACRO2 = 3663206819, - MAVERICK = 2634305738, - MESA = 914654722, - MESA2 = 3546958660, - MESA3 = 2230595153, - METROTRAIN = 868868440, - MICHELLI = 1046206681, - MICROLIGHT = 2531412055, - MILJET = 165154707, - MINITANK = 3040635986, - MINIVAN = 3984502180, - MINIVAN2 = 3168702960, - MIXER = 3510150843, - MIXER2 = 475220373, - MOGUL = 3545667823, - MOLOTOK = 1565978651, - MONROE = 3861591579, - MONSTER = 3449006043, - MONSTER3 = 1721676810, - MONSTER4 = 840387324, - MONSTER5 = 3579220348, - MOONBEAM = 525509695, - MOONBEAM2 = 1896491931, - MOWER = 1783355638, - MULE = 904750859, - MULE2 = 3244501995, - MULE3 = 2242229361, - MULE4 = 1945374990, - MULE5 = 1343932732, - NEBULA = 3412338231, - NEMESIS = 3660088182, - NEO = 2674840994, - NEON = 2445973230, - NERO = 1034187331, - NERO2 = 1093792632, - NIGHTBLADE = 2688780135, - NIGHTSHADE = 2351681756, - NIGHTSHARK = 433954513, - NIMBUS = 2999939664, - NINEF = 1032823388, - NINEF2 = 2833484545, - NOKOTA = 1036591958, - NOVAK = 2465530446, - OMNIS = 3517794615, - OMNISEGT = 3789743831, - OPENWHEEL1 = 1492612435, - OPENWHEEL2 = 1181339704, - OPPRESSOR = 884483972, - OPPRESSOR2 = 2069146067, - ORACLE = 1348744438, - ORACLE2 = 3783366066, - OSIRIS = 1987142870, - OUTLAW = 408825843, - PACKER = 569305213, - PANTO = 3863274624, - PARADISE = 1488164764, - PARAGON = 3847255899, - PARAGON2 = 1416466158, - PARIAH = 867799010, - PATRIOT = 3486509883, - PATRIOT2 = 3874056184, - PATRIOT3 = 3624880708, - PATROLBOAT = 4018222598, - PBUS = 2287941233, - PBUS2 = 345756458, - PCJ = 3385765638, - PENETRATOR = 2536829930, - PENUMBRA = 3917501776, - PENUMBRA2 = 3663644634, - PEYOTE = 1830407356, - PEYOTE2 = 2490551588, - PEYOTE3 = 1107404867, - PFISTER811 = 2465164804, - PHANTOM = 2157618379, - PHANTOM2 = 2645431192, - PHANTOM3 = 177270108, - PHOENIX = 2199527893, - PICADOR = 1507916787, - PIGALLE = 1078682497, - POLICE = 2046537925, - POLICE2 = 2667966721, - POLICE3 = 1912215274, - POLICE4 = 2321795001, - POLICEB = 4260343491, - POLICEOLD1 = 2758042359, - POLICEOLD2 = 2515846680, - POLICET = 456714581, - POLMAV = 353883353, - PONY = 4175309224, - PONY2 = 943752001, - POSTLUDE = 4000288633, - POUNDER = 2112052861, - POUNDER2 = 1653666139, - PRAIRIE = 2844316578, - PRANGER = 741586030, - PREDATOR = 3806844075, - PREMIER = 2411098011, - PREVION = 1416471345, - PRIMO = 3144368207, - PRIMO2 = 2254540506, - PROPTRAILER = 356391690, - PROTOTIPO = 2123327359, - PYRO = 2908775872, - RADI = 2643899483, - RAIDEN = 2765724541, - RAKETRAILER = 390902130, - RANCHERXL = 1645267888, - RANCHERXL2 = 1933662059, - RALLYTRUCK = 2191146052, - RAPIDGT = 2360515092, - RAPIDGT2 = 1737773231, - RAPIDGT3 = 2049897956, - RAPTOR = 3620039993, - RATBIKE = 1873600305, - RATLOADER = 3627815886, - RATLOADER2 = 3705788919, - RCBANDITO = 4008920556, - RE7B = 3062131285, - REBLA = 83136452, - REAPER = 234062309, - REBEL = 3087195462, - REBEL2 = 2249373259, - REEVER = 1993851908, - REGINA = 4280472072, - REMUS = 1377217886, - RENTALBUS = 3196165219, - RETINUE = 1841130506, - RETINUE2 = 2031587082, - REVOLTER = 3884762073, - RHAPSODY = 841808271, - RHINEHART = 2439462158, - RHINO = 782665360, - RIATA = 2762269779, - RIOT = 3089277354, - RIOT2 = 2601952180, - RIPLEY = 3448987385, - ROCOTO = 2136773105, - ROGUE = 3319621991, - ROMERO = 627094268, - RROCKET = 916547552, - RT3000 = 3842363289, - RUBBLE = 2589662668, - RUFFIAN = 3401388520, - RUINER = 4067225593, - RUINER2 = 941494461, - RUINER3 = 777714999, - RUINER4 = 1706945532, - RUMPO = 1162065741, - RUMPO2 = 2518351607, - RUMPO3 = 1475773103, - RUSTON = 719660200, - SABREGT = 2609945748, - SABREGT2 = 223258115, - S80 = 3970348707, - SADLER = 3695398481, - SADLER2 = 734217681, - SANCHEZ = 788045382, - SANCHEZ2 = 2841686334, - SANCTUS = 1491277511, - SANDKING = 3105951696, - SANDKING2 = 989381445, - SAVAGE = 4212341271, - SAVESTRA = 903794909, - SC1 = 1352136073, - SCARAB = 3147997943, - SCARAB2 = 1542143200, - SCARAB3 = 3715219435, - SCHAFTER2 = 3039514899, - SCHAFTER3 = 2809443750, - SCHAFTER4 = 1489967196, - SCHAFTER5 = 3406724313, - SCHAFTER6 = 1922255844, - SCHLAGEN = 3787471536, - SCHWARZER = 3548084598, - SCORCHER = 4108429845, - SCRAMJET = 3656405053, - SCRAP = 2594165727, - SEABREEZE = 3902291871, - SEASHARK = 3264692260, - SEASHARK2 = 3678636260, - SEASHARK3 = 3983945033, - SEASPARROW = 3568198617, - SEASPARROW2 = 1229411063, - SEASPARROW3 = 1593933419, - SEMINOLE = 1221512915, - SEMINOLE2 = 2484160806, - SENTINEL = 1349725314, - SENTINEL2 = 873639469, - SENTINEL3 = 1104234922, - SENTINEL4 = 2938086457, - SERRANO = 1337041428, - SEVEN70 = 2537130571, - SHAMAL = 3080461301, - SHEAVA = 819197656, - SHERIFF = 2611638396, - SHERIFF2 = 1922257928, - SHINOBI = 1353120668, - SHOTARO = 3889340782, - SKYLIFT = 1044954915, - SLAMTRUCK = 3249056020, - SLAMVAN = 729783779, - SLAMVAN2 = 833469436, - SLAMVAN3 = 1119641113, - SLAMVAN4 = 2233918197, - SLAMVAN5 = 373261600, - SLAMVAN6 = 1742022738, - SM722 = 775514032, - SOVEREIGN = 743478836, - SPECTER = 1886268224, - SPECTER2 = 1074745671, - SPEEDER = 231083307, - SPEEDER2 = 437538602, - SPEEDO = 3484649228, - SPEEDO2 = 728614474, - SPEEDO4 = 219613597, - SQUADDIE = 4192631813, - SQUALO = 400514754, - STAFFORD = 321186144, - STALION = 1923400478, - STALION2 = 3893323758, - STANIER = 2817386317, - STARLING = 2594093022, - STINGER = 1545842587, - STINGERGT = 2196019706, - STOCKADE = 1747439474, - STOCKADE3 = 4080511798, - STRATUM = 1723137093, - STREITER = 1741861769, - STRETCH = 2333339779, - STRIKEFORCE = 1692272545, - STROMBERG = 886810209, - STRYDER = 301304410, - STUNT = 2172210288, - SUBMERSIBLE = 771711535, - SUBMERSIBLE2 = 3228633070, - SUGOI = 987469656, - SULTAN = 970598228, - SULTAN2 = 872704284, - SULTAN3 = 4003946083, - SULTANRS = 3999278268, - SUNTRAP = 4012021193, - SUPERD = 1123216662, - SUPERVOLITO = 710198397, - SUPERVOLITO2 = 2623428164, - SURANO = 384071873, - SURFER = 699456151, - SURFER2 = 2983726598, - SURGE = 2400073108, - SWIFT2 = 1075432268, - SWIFT = 3955379698, - SWINGER = 500482303, - T20 = 1663218586, - TACO = 1951180813, - TAILGATER = 3286105550, - TAILGATER2 = 3050505892, - TAIPAN = 3160260734, - TAMPA = 972671128, - TAMPA2 = 3223586949, - TAMPA3 = 3084515313, - TANKER = 3564062519, - TANKER2 = 1956216962, - TANKERCAR = 586013744, - TAXI = 3338918751, - TECHNICAL = 2198148358, - TECHNICAL2 = 1180875963, - TECHNICAL3 = 1356124575, - TEMPESTA = 272929391, - TENF = 3400983137, - TENF2 = 274946574, - TERRORBYTE = 2306538597, - TEZERACT = 1031562256, - THRAX = 1044193113, - THRUST = 1836027715, - THRUSTER = 1489874736, - TIGON = 2936769864, - TIPTRUCK = 48339065, - TIPTRUCK2 = 3347205726, - TITAN = 1981688531, - TOREADOR = 1455990255, - TORERO = 1504306544, - TORERO2 = 4129572538, - TORNADO = 464687292, - TORNADO2 = 1531094468, - TORNADO3 = 1762279763, - TORNADO4 = 2261744861, - TORNADO5 = 2497353967, - TORNADO6 = 2736567667, - TORO = 1070967343, - TORO2 = 908897389, - TOROS = 3126015148, - TOURBUS = 1941029835, - TOWTRUCK = 2971866336, - TOWTRUCK2 = 3852654278, - TR2 = 2078290630, - TR3 = 1784254509, - TR4 = 2091594960, - TRACTOR = 1641462412, - TRACTOR2 = 2218488798, - TRACTOR3 = 1445631933, - TRAILERLARGE = 1502869817, - TRAILERLOGS = 2016027501, - TRAILERS = 3417488910, - TRAILERS2 = 2715434129, - TRAILERS3 = 2236089197, - TRAILERS4 = 3194418602, - TRAILERSMALL = 712162987, - TRAILERSMALL2 = 2413121211, - TRASH = 1917016601, - TRASH2 = 3039269212, - TRFLAT = 2942498482, - TRIBIKE = 1127861609, - TRIBIKE2 = 3061159916, - TRIBIKE3 = 3894672200, - TROPHYTRUCK = 101905590, - TROPHYTRUCK2 = 3631668194, - TROPIC = 290013743, - TROPIC2 = 1448677353, - TROPOS = 1887331236, - TUG = 2194326579, - TULIP = 1456744817, - TULA = 1043222410, - TURISMOR = 408192225, - TURISMO2 = 3312836369, - TVTRAILER = 2524324030, - TYRANT = 3918533058, - TYRUS = 2067820283, - UTILITYTRUCK = 516990260, - UTILITYTRUCK2 = 887537515, - UTILITYTRUCK3 = 2132890591, - VACCA = 338562499, - VADER = 4154065143, - VAGNER = 1939284556, - VAGRANT = 740289177, - VALKYRIE = 2694714877, - VALKYRIE2 = 1543134283, - VAMOS = 4245851645, - VECTRE = 2754593701, - VELUM = 2621610858, - VELUM2 = 1077420264, - VERLIERER2 = 1102544804, - VERUS = 298565713, - VESTRA = 1341619767, - VETIR = 2014313426, - VETO = 3437611258, - VETO2 = 2802050217, - VIGERO = 3469130167, - VIGERO2 = 2536587772, - VIGILANTE = 3052358707, - VINDICATOR = 2941886209, - VIRGO = 3796912450, - VIRGO2 = 3395457658, - VIRGO3 = 16646064, - VISERIS = 3903371924, - VISIONE = 3296789504, - VOLATOL = 447548909, - VOLATUS = 2449479409, - VOLTIC = 2672523198, - VOLTIC2 = 989294410, - VOODOO = 2006667053, - VOODOO2 = 523724515, - VORTEX = 3685342204, - VSTR = 1456336509, - WARRENER = 1373123368, - WARRENER2 = 579912970, - WASHINGTON = 1777363799, - WASTELANDER = 2382949506, - WEEVIL = 1644055914, - WEEVIL2 = 3300595976, - WINDSOR = 1581459400, - WINDSOR2 = 2364918497, - WINKY = 4084658662, - WOLFSBANE = 3676349299, - XA21 = 917809321, - XLS = 1203490606, - XLS2 = 3862958888, - YOSEMITE = 1871995513, - YOSEMITE2 = 1693751655, - YOSEMITE3 = 67753863, - YOUGA = 65402552, - YOUGA2 = 1026149675, - YOUGA3 = 1802742206, - YOUGA4 = 1486521356, - ZENO = 655665811, - ZENTORNO = 2891838741, - ZHABA = 1284356689, - ZION = 3172678083, - ZION2 = 3101863448, - ZION3 = 1862507111, - ZOMBIEA = 3285698347, - ZOMBIEB = 3724934023, - ZORRUSSO = 3612858749, - ZR350 = 2436313176, - ZR380 = 540101442, - ZR3802 = 3188846534, - ZR3803 = 2816263004, - ZTYPE = 758895617, - Z190 = 838982985 - } -} -declare module "src/core/shared/enums/controls" { - export enum CONTROLS { - NEXT_CAMERA = 0, - LOOK_LEFT_RIGHT = 1, - LOOK_UP_DOWN = 2, - LOOK_UP_ONLY = 3, - LOOK_DOWN_ONLY = 4, - LOOK_LEFT_ONLY = 5, - LOOK_RIGHT_ONLY = 6, - CINEMATIC_SLOW_MO = 7, - FLY_UP_DOWN = 8, - FLY_LEFT_RIGHT = 9, - SCRIPTED_FLY_Z_UP = 10, - SCRIPTED_FLY_Z_DOWN = 11, - WEAPON_WHEEL_UP_DOWN = 12, - WEAPON_WHEEL_LEFT_RIGHT = 13, - WEAPON_WHEEL_NEXT = 14, - WEAPON_WHEEL_PREV = 15, - SELECT_NEXT_WEAPON = 16, - SELECT_PREV_WEAPON = 17, - SKIP_CUTSCENE = 18, - CHARACTER_WHEEL = 19, - MULTIPLAYER_INFO = 20, - SPRINT = 21, - JUMP = 22, - ENTER = 23, - ATTACK = 24, - AIM = 25, - LOOK_BEHIND = 26, - PHONE = 27, - SPECIAL_ABILITY = 28, - SPECIAL_ABILITY_SECONDARY = 29, - MOVE_LEFT_RIGHT = 30, - MOVE_UP_DOWN = 31, - MOVE_UP_ONLY = 32, - MOVE_DOWN_ONLY = 33, - MOVE_LEFT_ONLY = 34, - MOVE_RIGHT_ONLY = 35, - DUCK = 36, - SELECT_WEAPON = 37, - PICKUP = 38, - SNIPER_ZOOM = 39, - SNIPER_ZOOM_IN_ONLY = 40, - SNIPER_ZOOM_OUT_ONLY = 41, - SNIPER_ZOOM_IN_SECONDARY = 42, - SNIPER_ZOOM_OUT_SECONDARY = 43, - COVER = 44, - RELOAD = 45, - TALK = 46, - DETONATE = 47, - HUD_SPECIAL = 48, - ARREST = 49, - ACCURATE_AIM = 50, - CONTEXT = 51, - CONTEXT_SECONDARY = 52, - WEAPON_SPECIAL = 53, - WEAPON_SPECIAL2 = 54, - DIVE = 55, - DROP_WEAPON = 56, - DROP_AMMO = 57, - THROW_GRENADE = 58, - VEHICLE_MOVE_LEFT_RIGHT = 59, - VEHICLE_MOVE_UP_DOWN = 60, - VEHICLE_MOVE_UP_ONLY = 61, - VEHICLE_MOVE_DOWN_ONLY = 62, - VEHICLE_MOVE_LEFT_ONLY = 63, - VEHICLE_MOVE_RIGHT_ONLY = 64, - VEHICLE_SPECIAL = 65, - VEHICLE_GUN_LEFT_RIGHT = 66, - VEHICLE_GUN_UP_DOWN = 67, - VEHICLE_AIM = 68, - VEHICLE_ATTACK = 69, - VEHICLE_ATTACK2 = 70, - VEHICLE_ACCELERATE = 71, - VEHICLE_BRAKE = 72, - VEHICLE_DUCK = 73, - VEHICLE_HEADLIGHT = 74, - VEHICLE_EXIT = 75, - VEHICLE_HANDBRAKE = 76, - VEHICLE_HOTWIRE_LEFT = 77, - VEHICLE_HOTWIRE_RIGHT = 78, - VEHICLE_LOOK_BEHIND = 79, - VEHICLE_CIN_CAM = 80, - VEHICLE_NEXT_RADIO = 81, - VEHICLE_PREV_RADIO = 82, - VEHICLE_NEXT_RADIO_TRACK = 83, - VEHICLE_PREV_RADIO_TRACK = 84, - VEHICLE_RADIO_WHEEL = 85, - VEHICLE_HORN = 86, - VEHICLE_FLY_THROTTLE_UP = 87, - VEHICLE_FLY_THROTTLE_DOWN = 88, - VEHICLE_FLY_YAW_LEFT = 89, - VEHICLE_FLY_YAW_RIGHT = 90, - VEHICLE_PASSENGER_AIM = 91, - VEHICLE_PASSENGER_ATTACK = 92, - VEHICLE_SPECIAL_ABILITY_FRANKLIN = 93, - VEHICLE_STUNT_UP_DOWN = 94, - VEHICLE_CINEMATIC_UP_DOWN = 95, - VEHICLE_CINEMATIC_UP_ONLY = 96, - VEHICLE_CINEMATIC_DOWN_ONLY = 97, - VEHICLE_CINEMATIC_LEFT_RIGHT = 98, - VEHICLE_SELECT_NEXT_WEAPON = 99, - VEHICLE_SELECT_PREV_WEAPON = 100, - VEHICLE_ROOF = 101, - VEHICLE_JUMP = 102, - VEHICLE_GRAPPLING_HOOK = 103, - VEHICLE_SHUFFLE = 104, - VEHICLE_DROP_PROJECTILE = 105, - VEHICLE_MOUSE_CONTROL_OVERRIDE = 106, - VEHICLE_FLY_ROLL_LEFT_RIGHT = 107, - VEHICLE_FLY_ROLL_LEFT_ONLY = 108, - VEHICLE_FLY_ROLL_RIGHT_ONLY = 109, - VEHICLE_FLY_PITCH_UP_DOWN = 110, - VEHICLE_FLY_PITCH_UP_ONLY = 111, - VEHICLE_FLY_PITCH_DOWN_ONLY = 112, - VEHICLE_FLY_UNDER_CARRIAGE = 113, - VEHICLE_FLY_ATTACK = 114, - VEHICLE_FLY_SELECT_NEXT_WEAPON = 115, - VEHICLE_FLY_SELECT_PREV_WEAPON = 116, - VEHICLE_FLY_SELECT_TARGET_LEFT = 117, - VEHICLE_FLY_SELECT_TARGET_RIGHT = 118, - VEHICLE_FLY_VERTICAL_FLIGHT_MODE = 119, - VEHICLE_FLY_DUCK = 120, - VEHICLE_FLY_ATTACK_CAMERA = 121, - VEHICLE_FLY_MOUSE_CONTROL_OVERRIDE = 122, - VEHICLE_SUB_TURN_LEFT_RIGHT = 123, - VEHICLE_SUB_TURN_LEFT_ONLY = 124, - VEHICLE_SUB_TURN_RIGHT_ONLY = 125, - VEHICLE_SUB_PITCH_UP_DOWN = 126, - VEHICLE_SUB_PITCH_UP_ONLY = 127, - VEHICLE_SUB_PITCH_DOWN_ONLY = 128, - VEHICLE_SUB_THROTTLE_UP = 129, - VEHICLE_SUB_THROTTLE_DOWN = 130, - VEHICLE_SUB_ASCEND = 131, - VEHICLE_SUB_DESCEND = 132, - VEHICLE_SUB_TURN_HARD_LEFT = 133, - VEHICLE_SUB_TURN_HARD_RIGHT = 134, - VEHICLE_SUBMOUSE_CONTROL_OVERRIDE = 135, - VEHICLE_PUSHBIKE_PEDAL = 136, - VEHICLE_PUSHBIKE_SPRINT = 137, - VEHICLE_PUSHBIKE_FRONT_BRAKE = 138, - VEHICLE_PUSHBIKE_REAR_BRAKE = 139, - MELEE_ATTACK_LIGHT = 140, - MELEE_ATTACK_HEAVY = 141, - MELEE_ATTACK_ALTERNATE = 142, - MELEE_BLOCK = 143, - PARACHUTE_DEPLOY = 144, - PARACHUTE_DETACH = 145, - PARACHUTE_TURN_LEFT_RIGHT = 146, - PARACHUTE_TURN_LEFT_ONLY = 147, - PARACHUTE_TURN_RIGHT_ONLY = 148, - PARACHUTE_PITCH_UP_DOWN = 149, - PARACHUTE_PITCH_UP_ONLY = 150, - PARACHUTE_PITCH_DOWN_ONLY = 151, - PARACHUTE_BRAKE_LEFT = 152, - PARACHUTE_BRAKE_RIGHT = 153, - PARACHUTE_SMOKE = 154, - PARACHUTE_PRECISION_LANDING = 155, - MAP = 156, - SELECT_WEAPON_UNARMED = 157, - SELECT_WEAPON_MELEE = 158, - SELECT_WEAPON_HANDGUN = 159, - SELECT_WEAPON_SHOTGUN = 160, - SELECT_WEAPON_SMG = 161, - SELECT_WEAPON_AUTO_RIFLE = 162, - SELECT_WEAPON_SNIPER = 163, - SELECT_WEAPON_HEAVY = 164, - SELECT_WEAPON_SPECIAL = 165, - SELECT_CHARACTER_MICHAEL = 166, - SELECT_CHARACTER_FRANKLIN = 167, - SELECT_CHARACTER_TREVOR = 168, - SELECT_CHARACTER_MULTIPLAYER = 169, - SAVE_REPLAY_CLIP = 170, - SPECIAL_ABILITY_PC = 171, - PHONE_UP = 172, - PHONE_DOWN = 173, - PHONE_LEFT = 174, - PHONE_RIGHT = 175, - PHONE_SELECT = 176, - PHONE_CANCEL = 177, - PHONE_OPTION = 178, - PHONE_EXTRA_OPTION = 179, - PHONE_SCROLL_FORWARD = 180, - PHONE_SCROLL_BACKWARD = 181, - PHONE_CAMERA_FOCUS_LOCK = 182, - PHONE_CAMERA_GRID = 183, - PHONE_CAMERA_SELFIE = 184, - PHONE_CAMERA_DOF = 185, - PHONE_CAMERA_EXPRESSION = 186, - FRONTEND_DOWN = 187, - FRONTEND_UP = 188, - FRONTEND_LEFT = 189, - FRONTEND_RIGHT = 190, - FRONTEND_RDOWN = 191, - FRONTEND_RUP = 192, - FRONTEND_RLEFT = 193, - FRONTEND_RRIGHT = 194, - FRONTEND_AXIS_X = 195, - FRONTEND_AXIS_Y = 196, - FRONTEND_RIGHT_AXIS_X = 197, - FRONTEND_RIGHT_AXIS_Y = 198, - FRONTEND_PAUSE = 199, - FRONTEND_PAUSE_ALTERNATE = 200, - FRONTEND_ACCEPT = 201, - FRONTEND_CANCEL = 202, - FRONTEND_X = 203, - FRONTEND_Y = 204, - FRONTEND_LB = 205, - FRONTEND_RB = 206, - FRONTEND_LT = 207, - FRONTEND_RT = 208, - FRONTEND_LS = 209, - FRONTEND_RS = 210, - FRONTEND_LEADERBOARD = 211, - FRONTEND_SOCIAL_CLUB = 212, - FRONTEND_SOCIAL_CLUB_SECONDARY = 213, - FRONTEND_DELETE = 214, - FRONTEND_ENDSCREEN_ACCEPT = 215, - FRONTEND_ENDSCREEN_EXPAND = 216, - FRONTEND_SELECT = 217, - SCRIPT_LEFT_AXIS_X = 218, - SCRIPT_LEFT_AXIS_Y = 219, - SCRIPT_RIGHT_AXIS_X = 220, - SCRIPT_RIGHT_AXIS_Y = 221, - SCRIPT_RUP = 222, - SCRIPT_RDOWN = 223, - SCRIPT_RLEFT = 224, - SCRIPT_RRIGHT = 225, - SCRIPT_LB = 226, - SCRIPT_RB = 227, - SCRIPT_LT = 228, - SCRIPT_RT = 229, - SCRIPT_LS = 230, - SCRIPT_RS = 231, - SCRIPT_PAD_UP = 232, - SCRIPT_PAD_DOWN = 233, - SCRIPT_PAD_LEFT = 234, - SCRIPT_PAD_RIGHT = 235, - SCRIPT_SELECT = 236, - CURSOR_ACCEPT = 237, - CURSOR_CANCEL = 238, - CURSOR_X = 239, - CURSOR_Y = 240, - CURSOR_SCROLL_UP = 241, - CURSOR_SCROLL_DOWN = 242, - ENTER_CHEAT_CODE = 243, - INTERACTION_MENU = 244, - MP_TEXT_CHAT_ALL = 245, - MP_TEXT_CHAT_TEAM = 246, - MP_TEXT_CHAT_FRIENDS = 247, - MP_TEXT_CHAT_CREW = 248, - PUSH_TO_TALK = 249, - CREATOR_LS = 250, - CREATOR_RS = 251, - CREATOR_LT = 252, - CREATOR_RT = 253, - CREATOR_MENU_TOGGLE = 254, - CREATOR_ACCEPT = 255, - CREATOR_DELETE = 256, - ATTACK_2 = 257, - RAPPEL_JUMP = 258, - RAPPEL_LONG_JUMP = 259, - RAPPEL_SMASH_WINDOW = 260, - PREV_WEAPON = 261, - NEXT_WEAPON = 262, - MELEE_ATTACK1 = 263, - MELEE_ATTACK2 = 264, - WHISTLE = 265, - MOVE_LEFT = 266, - MOVE_RIGHT = 267, - MOVE_UP = 268, - MOVE_DOWN = 269, - LOOK_LEFT = 270, - LOOK_RIGHT = 271, - LOOK_UP = 272, - LOOK_DOWN = 273, - SNIPER_ZOOM_IN = 274, - SNIPER_ZOOM_OUT = 275, - SNIPER_ZOOM_IN_ALTERNATE = 276, - SNIPER_ZOOM_OUT_ALTERNATE = 277, - VEHICLE_MOVE_LEFT = 278, - VEHICLE_MOVE_RIGHT = 279, - VEHICLE_MOVE_UP = 280, - VEHICLE_MOVE_DOWN = 281, - VEHICLE_GUN_LEFT = 282, - VEHICLE_GUN_RIGHT = 283, - VEHICLE_GUN_UP = 284, - VEHICLE_GUN_DOWN = 285, - VEHICLE_LOOK_LEFT = 286, - VEHICLE_LOOK_RIGHT = 287, - REPLAY_START_STOP_RECORDING = 288, - REPLAY_START_STOP_RECORDING_SECONDARY = 289, - SCALED_LOOK_LEFT_RIGHT = 290, - SCALED_LOOK_UP_DOWN = 291, - SCALED_LOOK_UP_ONLY = 292, - SCALED_LOOK_DOWN_ONLY = 293, - SCALED_LOOK_LEFT_ONLY = 294, - SCALED_LOOK_RIGHT_ONLY = 295, - REPLAY_MARKER_DELETE = 296, - REPLAY_CLIP_DELETE = 297, - REPLAY_PAUSE = 298, - REPLAY_REWIND = 299, - REPLAY_FFWD = 300, - REPLAY_NEWMARKER = 301, - REPLAY_RECORD = 302, - REPLAY_SCREENSHOT = 303, - REPLAY_HIDEHUD = 304, - REPLAY_STARTPOINT = 305, - REPLAY_ENDPOINT = 306, - REPLAY_ADVANCE = 307, - REPLAY_BACK = 308, - REPLAY_TOOLS = 309, - REPLAY_RESTART = 310, - REPLAY_SHOWHOTKEY = 311, - REPLAY_CYCLE_MARKER_LEFT = 312, - REPLAY_CYCLE_MARKER_RIGHT = 313, - REPLAY_FOV_INCREASE = 314, - REPLAY_FOV_DECREASE = 315, - REPLAY_CAMERA_UP = 316, - REPLAY_CAMERA_DOWN = 317, - REPLAY_SAVE = 318, - REPLAY_TOGGLETIME = 319, - REPLAY_TOGGLETIPS = 320, - REPLAY_PREVIEW = 321, - REPLAY_TOGGLE_TIMELINE = 322, - REPLAY_TIMELINE_PICKUP_CLIP = 323, - REPLAY_TIMELINE_DUPLICATE_CLIP = 324, - REPLAY_TIMELINE_PLACE_CLIP = 325, - REPLAY_CTRL = 326, - REPLAY_TIMELINE_SAVE = 327, - REPLAY_PREVIEW_AUDIO = 328, - VEHICLE_DRIVE_LOOK = 329, - VEHICLE_DRIVE_LOOK2 = 330, - VEHICLE_FLY_ATTACK2 = 331, - RADIO_WHEEL_UP_DOWN = 332, - RADIO_WHEEL_LEFT_RIGHT = 333, - VEHICLE_SLOW_MO_UP_DOWN = 334, - VEHICLE_SLOW_MO_UP_ONLY = 335, - VEHICLE_SLOW_MO_DOWN_ONLY = 336, - VEHICLE_HYDRAULICS_CONTROL_TOGGLE = 337, - VEHICLE_HYDRAULICS_CONTROL_LEFT = 338, - VEHICLE_HYDRAULICS_CONTROL_RIGHT = 339, - VEHICLE_HYDRAULICS_CONTROL_UP = 340, - VEHICLE_HYDRAULICSVCONTROL_DOWN = 341, - VEHICLE_HYDRAULICS_CONTROL_LEFT_RIGHT = 342, - VEHICLE_HYDRAULICS_CONTROL_UPDOWN = 343, - SWITCH_VISOR = 344, - VEHICLE_MELEE_HOLD = 345, - VEHICLE_MELEE_LEFT = 346, - VEHICLE_MELEE_RIGHT = 347, - MAP_POINT_OF_INTEREST = 348, - REPLAY_SNAPMATIC_PHOTO = 349, - VEHICLE_CAR_JUMP = 350, - VEHICLE_ROCKET_BOOST = 351, - VEHICLE_PARACHUTE = 352, - VEHICLE_BIKE_WINGS = 353, - VEHICLE_FLY_BOMBBAY = 354, - VEHICLE_FLY_COUNTER = 355, - VEHICLE_FLY_TRANSFORM = 356, - QUAD_LOCO_REVERSE = 357, - RESPAWN_FASTER = 358, - HUDMARKER_SELECT = 359 - } -} -declare module "src/core/shared/enums/effects" { - const _default_29: { - EFFECT_HEAL: string; - EFFECT_FOOD: string; - EFFECT_WATER: string; - }; - export default _default_29; -} -declare module "src/core/shared/enums/hudComponents" { - export enum HUD_COMPONENT { - HEALTH = "health", - ARMOUR = "armour", - CASH = "cash", - BANK = "bank", - TIME = "time", - WATER = "water", - FOOD = "food", - DEAD = "dead", - IDENTIFIER = "identifier", - MICROPHONE = "microphone", - INTERACTIONS = "interactions", - IS_IN_VEHICLE = "isInVehicle", - SEATBELT = "seatbelt", - SPEED = "speed", - SPEED_UNIT = "unit", - GEAR = "gear", - ENGINE = "engine", - LOCK = "lock", - METRIC = "isMetric", - FUEL = "fuel" - } -} -declare module "src/core/shared/enums/notificationIcons" { - export enum NOTIFICATION_ICON { - Abigail = "CHAR_ABIGAIL", - AllPlayersConf = "CHAR_ALL_PLAYERS_CONF", - Amanda = "CHAR_AMANDA", - Ammunation = "CHAR_AMMUNATION", - Andreas = "CHAR_ANDREAS", - Antonia = "CHAR_ANTONIA", - Arthur = "CHAR_ARTHUR", - Ashley = "CHAR_ASHLEY", - BankBol = "CHAR_BANK_BOL", - BankFleeca = "CHAR_BANK_FLEECA", - BankMaze = "CHAR_BANK_MAZE", - Barry = "CHAR_BARRY", - Beverly = "CHAR_BEVERLY", - Bikesite = "CHAR_BIKESITE", - BlankEntry = "CHAR_BLANK_ENTRY", - Blimp = "CHAR_BLIMP", - Blocked = "CHAR_BLOCKED", - Boatsite = "CHAR_BOATSITE", - BrokenDownGirl = "CHAR_BROKEN_DOWN_GIRL", - Bugstars = "CHAR_BUGSTARS", - Call911 = "CHAR_CALL911", - Carsite = "CHAR_CARSITE", - Carsite2 = "CHAR_CARSITE2", - Castro = "CHAR_CASTRO", - ChatCall = "CHAR_CHAT_CALL", - Chef = "CHAR_CHEF", - Cheng = "CHAR_CHENG", - Chengsr = "CHAR_CHENGSR", - Chop = "CHAR_CHOP", - Cris = "CHAR_CRIS", - Dave = "CHAR_DAVE", - Default = "CHAR_DEFAULT", - Denise = "CHAR_DENISE", - DetonateBomb = "CHAR_DETONATEBOMB", - DetonatePhone = "CHAR_DETONATEPHONE", - Devin = "CHAR_DEVIN", - DialASub = "CHAR_DIAL_A_SUB", - Dom = "CHAR_DOM", - DomesticGirl = "CHAR_DOMESTIC_GIRL", - Dreyfuss = "CHAR_DREYFUSS", - DrFriedlander = "CHAR_DR_FRIEDLANDER", - Epsilon = "CHAR_EPSILON", - EstateAgent = "CHAR_ESTATE_AGENT", - Facebook = "CHAR_FACEBOOK", - FilmNoir = "CHAR_FILMNOIR", - Floyd = "CHAR_FLOYD", - Franklin = "CHAR_FRANKLIN", - FrankTrevConf = "CHAR_FRANK_TREV_CONF", - Gaymilitary = "CHAR_GAYMILITARY", - Hao = "CHAR_HAO", - HitcherGirl = "CHAR_HITCHER_GIRL", - HumanDefault = "CHAR_HUMANDEFAULT", - Hunter = "CHAR_HUNTER", - Jimmy = "CHAR_JIMMY", - JimmyBoston = "CHAR_JIMMY_BOSTON", - Joe = "CHAR_JOE", - Josef = "CHAR_JOSEF", - Josh = "CHAR_JOSH", - Lamar = "CHAR_LAMAR", - Lazlow = "CHAR_LAZLOW", - Lester = "CHAR_LESTER", - LesterDeathwish = "CHAR_LESTER_DEATHWISH", - LesFrankConf = "CHAR_LEST_FRANK_CONF", - LesMikeConf = "CHAR_LEST_MIKE_CONF", - Lifeinvader = "CHAR_LIFEINVADER", - LsCustoms = "CHAR_LS_CUSTOMS", - LsTouristBoard = "CHAR_LS_TOURIST_BOARD", - Manuel = "CHAR_MANUEL", - Marnie = "CHAR_MARNIE", - Martin = "CHAR_MARTIN", - MaryAnn = "CHAR_MARY_ANN", - Maude = "CHAR_MAUDE", - Mechanic = "CHAR_MECHANIC", - Michael = "CHAR_MICHAEL", - MikeFrankConf = "CHAR_MIKE_FRANK_CONF", - MikeTrevConf = "CHAR_MIKE_TREV_CONF", - Milsite = "CHAR_MILSITE", - Minotaur = "CHAR_MINOTAUR", - Molly = "CHAR_MOLLY", - MpArmyContact = "CHAR_MP_ARMY_CONTACT", - MpBikerBoss = "CHAR_MP_BIKER_BOSS", - MpBikerMechanic = "CHAR_MP_BIKER_MECHANIC", - MpBrucie = "CHAR_MP_BRUCIE", - MpDetonatePhone = "CHAR_MP_DETONATEPHONE", - MpFamBoss = "CHAR_MP_FAM_BOSS", - MpFIBContact = "CHAR_MP_FIB_CONTACT", - MpFmContact = "CHAR_MP_FM_CONTACT", - MpGerald = "CHAR_MP_GERALD", - MpJulio = "CHAR_MP_JULIO", - MpMechanic = "CHAR_MP_MECHANIC", - MpMerryweather = "CHAR_MP_MERRYWEATHER", - MpMexBoss = "CHAR_MP_MEX_BOSS", - MpMexDocks = "CHAR_MP_MEX_DOCKS", - MpMexLt = "CHAR_MP_MEX_LT", - MpMorsMutual = "CHAR_MP_MORS_MUTUAL", - MpProfBoss = "CHAR_MP_PROF_BOSS", - MpRayLavoy = "CHAR_MP_RAY_LAVOY", - MpRoberto = "CHAR_MP_ROBERTO", - MpSnitch = "CHAR_MP_SNITCH", - MpStretch = "CHAR_MP_STRETCH", - MpStripclubPr = "CHAR_MP_STRIPCLUB_PR", - MrsThornhill = "CHAR_MRS_THORNHILL", - Multiplayer = "CHAR_MULTIPLAYER", - Nigel = "CHAR_NIGEL", - Omega = "CHAR_OMEGA", - Oneil = "CHAR_ONEIL", - Ortega = "CHAR_ORTEGA", - Oscar = "CHAR_OSCAR", - Patricia = "CHAR_PATRICIA", - PegasusDelivery = "CHAR_PEGASUS_DELIVERY", - Planesite = "CHAR_PLANESITE", - PropertyArmsTrafficking = "CHAR_PROPERTY_ARMS_TRAFFICKING", - PropertyBarAirport = "CHAR_PROPERTY_BAR_AIRPORT", - PropertyBarBayview = "CHAR_PROPERTY_BAR_BAYVIEW", - PropertyBarCafeRojo = "CHAR_PROPERTY_BAR_CAFE_ROJO", - PropertyBarCockotoos = "CHAR_PROPERTY_BAR_COCKOTOOS", - PropertyBarEclipse = "CHAR_PROPERTY_BAR_ECLIPSE", - PropertyBarFes = "CHAR_PROPERTY_BAR_FES", - PropertyBarHenHouse = "CHAR_PROPERTY_BAR_HEN_HOUSE", - PropertyBarHiMen = "CHAR_PROPERTY_BAR_HI_MEN", - PropertyBarHookies = "CHAR_PROPERTY_BAR_HOOKIES", - PropertyBarIrish = "CHAR_PROPERTY_BAR_IRISH", - PropertyBarLesBianco = "CHAR_PROPERTY_BAR_LES_BIANCO", - PropertyBarMirrorPark = "CHAR_PROPERTY_BAR_MIRROR_PARK", - PropertyBarPitchers = "CHAR_PROPERTY_BAR_PITCHERS", - PropertyBarSingletons = "CHAR_PROPERTY_BAR_SINGLETONS", - PropertyBarTequilala = "CHAR_PROPERTY_BAR_TEQUILALA", - PropertyBarUnbranded = "CHAR_PROPERTY_BAR_UNBRANDED", - PropertyCarModShop = "CHAR_PROPERTY_CAR_MOD_SHOP", - PropertyCarScrapYard = "CHAR_PROPERTY_CAR_SCRAP_YARD", - PropertyCinemaDowntown = "CHAR_PROPERTY_CINEMA_DOWNTOWN", - PropertyCinemaMorningwood = "CHAR_PROPERTY_CINEMA_MORNINGWOOD", - PropertyCinemaVinewood = "CHAR_PROPERTY_CINEMA_VINEWOOD", - PropertyGolfClub = "CHAR_PROPERTY_GOLF_CLUB", - PropertyPlaneScrapYard = "CHAR_PROPERTY_PLANE_SCRAP_YARD", - PropertySonarCollections = "CHAR_PROPERTY_SONAR_COLLECTIONS", - PropertyTaxiLot = "CHAR_PROPERTY_TAXI_LOT", - PropertyTowingImpound = "CHAR_PROPERTY_TOWING_IMPOUND", - PropertyWeedShop = "CHAR_PROPERTY_WEED_SHOP", - Ron = "CHAR_RON", - Saeeda = "CHAR_SAEEDA", - Sasquatch = "CHAR_SASQUATCH", - Simeon = "CHAR_SIMEON", - SocialClub = "CHAR_SOCIAL_CLUB", - Solomon = "CHAR_SOLOMON", - Steve = "CHAR_STEVE", - SteveMikeConf = "CHAR_STEVE_MIKE_CONF", - SteveTrevConf = "CHAR_STEVE_TREV_CONF", - Stretch = "CHAR_STRETCH", - StripperChastity = "CHAR_STRIPPER_CHASTITY", - StripperCheetah = "CHAR_STRIPPER_CHEETAH", - StripperFufu = "CHAR_STRIPPER_FUFU", - StripperInfernus = "CHAR_STRIPPER_INFERNUS", - StripperJuliet = "CHAR_STRIPPER_JULIET", - StripperNikki = "CHAR_STRIPPER_NIKKI", - StripperPeach = "CHAR_STRIPPER_PEACH", - StripperSapphire = "CHAR_STRIPPER_SAPPHIRE", - Tanisha = "CHAR_TANISHA", - Taxi = "CHAR_TAXI", - TaxiLiz = "CHAR_TAXI_LIZ", - TennisCoach = "CHAR_TENNIS_COACH", - TowTonya = "CHAR_TOW_TONYA", - Tracey = "CHAR_TRACEY", - Trevor = "CHAR_TREVOR", - Wade = "CHAR_WADE", - YouTube = "CHAR_YOUTUBE", - CreatorPortraits = "CHAR_CREATOR_PORTRAITS" - } -} -declare module "src/core/shared/enums/vehicleSyncedMeta" { - export const VEHICLE_SYNCED_META: { - DATABASE_ID: string; - }; -} -declare module "src/core/shared/information/eyebrows" { - export const eyebrowNames: string[]; -} -declare module "src/core/shared/information/facialHair" { - export const facialHairNames: string[]; -} -declare module "src/core/shared/information/hairColors" { - export const hairColors: string[]; -} -declare module "src/core/shared/information/keyboardMap" { - const _default_30: string[]; - export default _default_30; -} -declare module "src/core/shared/information/makeup" { - export const makeup: { - name: string; - id: number; - labels: string[]; - }[]; -} -declare module "src/core/shared/information/makeupColors" { - export const makeupColors: string[]; -} -declare module "src/core/shared/interfaces/vehicleHandling" { - export default interface IVehicleHandling { - acceleration: number; - antiRollBarBiasFront: number; - antiRollBarBiasRear: number; - antiRollBarForce: number; - brakeBiasFront: number; - brakeBiasRear: number; - brakeForce: number; - camberStiffness: number; - centreOfMassOffset: { - x: number; - y: number; - z: number; - }; - clutchChangeRateScaleDownShift: number; - clutchChangeRateScaleUpShift: number; - collisionDamageMult: number; - deformationDamageMult: number; - downforceModifier: number; - driveBiasFront: number; - driveInertia: number; - driveMaxFlatVel: number; - engineDamageMult: number; - handBrakeForce: number; - handlingFlags: number; - initialDragCoeff: number; - initialDriveForce: number; - initialDriveGears: number; - initialDriveMaxFlatVel: number; - lowSpeedTractionLossMult: number; - rollCentreHeightFront: number; - rollCentreHeightRear: number; - steeringLock: number; - steeringLockRatio: number; - suspensionBiasFront: number; - suspensionBiasRear: number; - suspensionCompDamp: number; - suspensionForce: number; - suspensionLowerLimit: number; - suspensionRaise: number; - suspensionReboundDamp: number; - suspensionUpperLimit: number; - tractionBiasFront: number; - tractionBiasRear: number; - tractionCurveLateral: number; - tractionCurveLateralRatio: number; - tractionCurveMax: number; - tractionCurveMaxRatio: number; - tractionCurveMin: number; - tractionCurveMinRatio: number; - tractionLossMult: number; - tractionSpringDeltaMax: number; - tractionSpringDeltaMaxRatio: number; - weaponDamageMult: number; - } -} -declare module "src/core/shared/utility/array" { - export function findMissingElements(a: Array, b: Array, propertyName: string): Array; -} -declare module "src/core/shared/utility/classCheck" { - export default function isFunction(funcOrClass: ClassDecorator | Function): boolean; -} -declare module "src/core/shared/utility/complete" { - export type Complete = { - [P in keyof Required]: Pick extends Required> ? T[P] : T[P] | undefined; - }; -} -declare module "src/core/shared/utility/keyCodes" { - export const KeyCodes: { - '9': string; - '12': string; - '13': string; - '16': string; - '17': string; - '18': string; - '19': string; - '20': string; - '27': string; - '32': string; - '33': string; - '34': string; - '35': string; - '36': string; - '37': string; - '38': string; - '39': string; - '40': string; - '44': string; - '45': string; - '46': string; - '48': string; - '49': string; - '50': string; - '51': string; - '52': string; - '53': string; - '54': string; - '55': string; - '56': string; - '57': string; - '65': string; - '66': string; - '67': string; - '68': string; - '69': string; - '70': string; - '71': string; - '72': string; - '73': string; - '74': string; - '75': string; - '76': string; - '77': string; - '78': string; - '79': string; - '80': string; - '81': string; - '82': string; - '83': string; - '84': string; - '85': string; - '86': string; - '87': string; - '88': string; - '89': string; - '90': string; - '93': string; - '96': string; - '97': string; - '98': string; - '99': string; - '100': string; - '101': string; - '102': string; - '103': string; - '104': string; - '105': string; - '106': string; - '107': string; - '109': string; - '110': string; - '111': string; - '112': string; - '113': string; - '114': string; - '115': string; - '116': string; - '117': string; - '118': string; - '119': string; - '120': string; - '121': string; - '122': string; - '123': string; - '124': string; - '125': string; - '126': string; - '127': string; - '128': string; - '129': string; - '130': string; - '131': string; - '132': string; - '133': string; - '134': string; - '135': string; - '144': string; - '145': string; - '186': string; - '187': string; - '188': string; - '189': string; - '190': string; - '192': string; - '194': string; - '219': string; - '220': string; - '221': string; - '222': string; - }; -} -declare module "src/core/shared/utility/requiredFields" { - export type RequireFields = T & Required>; -} -declare module "src-webviews/vite.config" { - const _default_31: import("vite").UserConfigExport; - export default _default_31; -} -declare module "src-webviews/src/plugins/vue-plugin-imports" { - export const VUE_PLUGIN_IMPORTS: any[]; -} -declare module "src-webviews/src/main" { - export class ComponentRegistration { - static init(): void; - } -} -declare module "src-webviews/src/exampleData/Icons" { - const _default_32: string[]; - export default _default_32; -} -declare module "src-webviews/src/interfaces/IPageData" { - import { DefineComponent } from 'vue'; - export default interface IPageData { - name: string; - component: DefineComponent; - } -} -declare module "src-webviews/src/pages/components" { - export const CORE_IMPORTS: { - Actions: import("vue").ShallowRef>, {}>>; - Audio: import("vue").ShallowRef>, {}>>; - Designs: import("vue").ShallowRef>, {}>>; - Icons: import("vue").ShallowRef>, {}>>; - InputBox: import("vue").ShallowRef>, {}>>; - Job: import("vue").ShallowRef>, {}>>; - StateTest: import("vue").ShallowRef>, {}>>; - WheelMenu: import("vue").ShallowRef>, {}>>; - }; -} -declare module "src-webviews/src/pages/actions/interfaces/IAction" { - export default interface IAction { - eventName: string; - args: Array; - isServer: boolean; - } -} -declare module "src-webviews/src/pages/actions/utility/defaultData" { - const _default_33: { - Vehicle: { - 'Driver Seat': { - eventName: string; - args: any[]; - isServer: boolean; - }; - Doors: { - 'Driver Door': { - eventName: string; - args: number[]; - }; - 'MORE DOORS': { - 'Driver Door': { - eventName: string; - args: number[]; - }; - 'MORE MORE DOORS': { - 'Driver Door': { - eventName: string; - args: number[]; - }; - 'MORE MORE MORE DOORS': { - 'Driver Door': { - eventName: string; - args: number[]; - }; - 'MORE MORE MORE MORE DOORS': { - 'Driver Door': { - eventName: string; - args: number[]; - }; - }; - }; - }; - }; - }; - }; - 'Fuel Pump': { - 'Fill Closest Vehicle': { - eventName: string; - args: any[]; - }; - }; - House: { - 'Enter House': { - eventName: string; - args: any[]; - }; - }; - }; - export default _default_33; -} -declare module "src-webviews/src/pages/input/utility/testData" { - const _default_34: ({ - id: string; - desc: string; - type: string; - placeholder: string; - error: string; - regex: RegExp; - choices?: undefined; - } | { - id: string; - desc: string; - type: string; - placeholder: number; - error: string; - regex: RegExp; - choices?: undefined; - } | { - id: string; - desc: string; - type: string; - placeholder: string; - error?: undefined; - regex?: undefined; - choices?: undefined; - } | { - id: string; - desc: string; - type: string; - placeholder: string; - error: string; - choices: ({ - text: string; - value: string; - values?: undefined; - } | { - text: string; - values: string; - value?: undefined; - })[]; - regex?: undefined; - })[]; - export default _default_34; -} -declare module "src-webviews/src/plugins/imports" { - export const PLUGIN_IMPORTS: { - CharSelect: import("vue").ShallowRef>, {}>>; - CharacterCreator: import("vue").ShallowRef>, {}>>; - Chat: import("vue").ShallowRef>, {}>>; - Inventory: import("vue").ShallowRef>, {}>>; - PauseMenu: import("vue").ShallowRef>, {}>>; - KeybindMenu: import("vue").ShallowRef>, {}>>; - }; -} -declare module "src-webviews/src/utility/drag" { - export type OnFinishDrag = (startType: string, startIndex: number, endType: string, endIndex: number) => void; - export type DragInfo = (type: string, index: number) => void; - export type Draggable = { - endDrag: OnFinishDrag; - canBeDragged?: boolean; - singleClick?: DragInfo; - startDrag?: DragInfo; - }; - function makeDraggable(ev: MouseEvent, draggable: Draggable): void; - function removeEvents(): void; - export { makeDraggable, removeEvents }; -} -declare module "src-webviews/src/utility/webViewEvents" { - export default class WebViewEvents { - static emitClose(): void; - static emitReady(pageName: string, ...args: any[]): void; - static emitServer(eventName: EventNames, ...args: any[]): void; - static emitClient(eventName: EventNames, ...args: any[]): void; - static on void>(eventName: EventNames, callback: Callback): any; - static playSound(soundName: string, volume: number, soundInstantID?: string): void; - static playSoundFrontend(audioName: string, ref: string): void; - } -} - -`; diff --git a/src/core/plugins/core-commands/server/commands/consoleCommands.ts b/src/core/plugins/core-commands/server/commands/consoleCommands.ts index 5b4f4e4a5e..ab4beeab06 100644 --- a/src/core/plugins/core-commands/server/commands/consoleCommands.ts +++ b/src/core/plugins/core-commands/server/commands/consoleCommands.ts @@ -13,7 +13,7 @@ // const path = `${process.cwd()}/screenshots/${player.data.name}.jpg`; // const data = base64Image.replace(/^data:image\/\w+;base64,/, ''); // const buf = Buffer.from(data, 'base64'); -// fs.writeFileSync(path, buf); +// fs.fsextra.writeFileSync(path, buf); // alt.log(path); // }