text
stringlengths
1
2.83M
id
stringlengths
16
152
metadata
dict
__index_level_0__
int64
0
949
import * as hanbi from 'hanbi'; import { expect } from 'chai'; import portfinder from 'portfinder'; import path from 'path'; import { BrowserLauncher } from '../../../src/browser-launcher/BrowserLauncher.js'; import { TestRunnerCoreConfig } from '../../../src/config/TestRunnerCoreConfig.js'; import { TestRunner } from...
modernweb-dev/web/packages/test-runner-core/test/src/runner/TestRunner.test.ts/0
{ "file_path": "modernweb-dev/web/packages/test-runner-core/test/src/runner/TestRunner.test.ts", "repo_id": "modernweb-dev", "token_count": 3705 }
223
export { junitReporter } from './junitReporter.js';
modernweb-dev/web/packages/test-runner-junit-reporter/src/index.ts/0
{ "file_path": "modernweb-dev/web/packages/test-runner-junit-reporter/src/index.ts", "repo_id": "modernweb-dev", "token_count": 18 }
224
import { sessionFinished, getConfig, sessionStarted, TestResultError, } from '../../test-runner-core/browser/session.js'; import '../../../node_modules/mocha/mocha.js'; import { collectTestResults } from './collectTestResults.js'; import { setupMocha } from './mochaSetup.js'; sessionStarted(); // avoid using ...
modernweb-dev/web/packages/test-runner-mocha/src/autorun.ts/0
{ "file_path": "modernweb-dev/web/packages/test-runner-mocha/src/autorun.ts", "repo_id": "modernweb-dev", "token_count": 456 }
225
import { Plugin, ServerStartParams, ResolveOptions, Context } from '@web/dev-server-core'; // Copied from packages/dev-server-core/src/plugins/Plugin.ts as it's not exported export type ResolveResult = void | string | { id?: string }; export interface ResolveImportArguments { source: string; context: Context; co...
modernweb-dev/web/packages/test-runner-module-mocking/src/createResolveImport.ts/0
{ "file_path": "modernweb-dev/web/packages/test-runner-module-mocking/src/createResolveImport.ts", "repo_id": "modernweb-dev", "token_count": 403 }
226
{ "extends": "../../tsconfig.node-base.json", "compilerOptions": { "module": "node16", "moduleResolution": "node16", "outDir": "./dist", "rootDir": "./src", "composite": true, "allowJs": true }, "references": [ { "path": "../parse5-utils/tsconfig.json" }, { "path"...
modernweb-dev/web/packages/test-runner-module-mocking/tsconfig.json/0
{ "file_path": "modernweb-dev/web/packages/test-runner-module-mocking/tsconfig.json", "repo_id": "modernweb-dev", "token_count": 354 }
227
import os from 'os'; import { runIntegrationTests } from '../../../integration/test-runner/index.js'; import { playwrightLauncher } from '../src/index.js'; describe('test-runner-playwright chromium', function testRunnerPlaywright() { this.timeout(100000); function createConfig() { return { browsers: [playwrig...
modernweb-dev/web/packages/test-runner-playwright/test/playwrightLauncher.test.ts/0
{ "file_path": "modernweb-dev/web/packages/test-runner-playwright/test/playwrightLauncher.test.ts", "repo_id": "modernweb-dev", "token_count": 774 }
228
{ "name": "@web/test-runner-selenium", "version": "0.7.0", "publishConfig": { "access": "public" }, "description": "Selenium browser launcher for Web Test Runner", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/modernweb-dev/web.git", "directory": "packages/tes...
modernweb-dev/web/packages/test-runner-selenium/package.json/0
{ "file_path": "modernweb-dev/web/packages/test-runner-selenium/package.json", "repo_id": "modernweb-dev", "token_count": 620 }
229
export default 'moduleFeaturesB';
modernweb-dev/web/packages/test-runner-selenium/test/fixtures/module-features-b.js/0
{ "file_path": "modernweb-dev/web/packages/test-runner-selenium/test/fixtures/module-features-b.js", "repo_id": "modernweb-dev", "token_count": 8 }
230
# Web Test Runner Webdriver Run tests using [WebdriverIO](https://webdriver.io). See [our website](https://modern-web.dev/docs/test-runner/browser-launchers/webdriver/) for full documentation.
modernweb-dev/web/packages/test-runner-webdriver/README.md/0
{ "file_path": "modernweb-dev/web/packages/test-runner-webdriver/README.md", "repo_id": "modernweb-dev", "token_count": 57 }
231
export default { rootDir: '../../', nodeResolve: true, testRunnerHtml: testRunnerImport => ` <html> <head></head> <body> <script type="module"> import '${testRunnerImport}'; console.log("custom HTML page"); </script> </body> </html> `, };
modernweb-dev/web/packages/test-runner/demo/customhtml.config.mjs/0
{ "file_path": "modernweb-dev/web/packages/test-runner/demo/customhtml.config.mjs", "repo_id": "modernweb-dev", "token_count": 143 }
232
import fs from 'fs'; import path from 'path'; import { fileURLToPath } from 'url'; import { fromRollup } from '@web/dev-server-rollup'; const moduleDir = path.dirname(fileURLToPath(import.meta.url)); const virtualMyClassJsPath = path.join(moduleDir, 'virtual', 'virtual-files', 'MyClass.js'); const virtualMyClassMapPa...
modernweb-dev/web/packages/test-runner/demo/source-maps/config.mjs/0
{ "file_path": "modernweb-dev/web/packages/test-runner/demo/source-maps/config.mjs", "repo_id": "modernweb-dev", "token_count": 426 }
233
/* @web/test-runner snapshot v1 */ export const snapshots = {}; snapshots["snapshot-a"] = `some snapshot A2`; /* end snapshot snapshot-a */ snapshots["snapshot-b"] = `some snapshot B2`; /* end snapshot snapshot-b */ snapshots["snapshot-c"] = `some snapshot C2`; /* end snapshot snapshot-c */
modernweb-dev/web/packages/test-runner/demo/test/__snapshots__/pass-snapshot-2.test.snap.js/0
{ "file_path": "modernweb-dev/web/packages/test-runner/demo/test/__snapshots__/pass-snapshot-2.test.snap.js", "repo_id": "modernweb-dev", "token_count": 103 }
234
window.location.replace('/new-page/'); it('x', async () => { await new Promise(r => setTimeout(r, 1000)); });
modernweb-dev/web/packages/test-runner/demo/test/fail-location-replace.test.js/0
{ "file_path": "modernweb-dev/web/packages/test-runner/demo/test/fail-location-replace.test.js", "repo_id": "modernweb-dev", "token_count": 40 }
235
import { compareSnapshot } from '@web/test-runner-commands'; it('can test snapshot A', async () => { await compareSnapshot({ name: 'snapshot-a', content: 'some snapshot A3' }); }); it('can test snapshot B', async () => { await compareSnapshot({ name: 'snapshot-b', content: 'some snapshot B3' }); }); it('can test...
modernweb-dev/web/packages/test-runner/demo/test/pass-snapshot-3.test.js/0
{ "file_path": "modernweb-dev/web/packages/test-runner/demo/test/pass-snapshot-3.test.js", "repo_id": "modernweb-dev", "token_count": 136 }
236
import './shared-a.js';
modernweb-dev/web/packages/test-runner/demo/tsc/dist/test/pass-19.test.d.ts/0
{ "file_path": "modernweb-dev/web/packages/test-runner/demo/tsc/dist/test/pass-19.test.d.ts", "repo_id": "modernweb-dev", "token_count": 10 }
237
{ "name": "@web/test-runner", "version": "0.18.1", "publishConfig": { "access": "public" }, "description": "Test runner for web applications", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/modernweb-dev/web.git", "directory": "packages/test-runner" }, "aut...
modernweb-dev/web/packages/test-runner/package.json/0
{ "file_path": "modernweb-dev/web/packages/test-runner/package.json", "repo_id": "modernweb-dev", "token_count": 1853 }
238
import { gray, white } from 'nanocolors'; const PROGRESS_BLOCKS = [' ', '▏', '▎', '▍', '▌', '▋', '▊', '▉', '█']; const PROGRESS_WIDTH = 30; function createProgressBlocks(value: number, total: number) { if (value >= total) { return PROGRESS_BLOCKS[8].repeat(PROGRESS_WIDTH); } const count = (PROGRESS_WIDTH *...
modernweb-dev/web/packages/test-runner/src/reporter/renderProgressBar.ts/0
{ "file_path": "modernweb-dev/web/packages/test-runner/src/reporter/renderProgressBar.ts", "repo_id": "modernweb-dev", "token_count": 367 }
239
{ "enabled": false }
modernweb-dev/web/renovate.json/0
{ "file_path": "modernweb-dev/web/renovate.json", "repo_id": "modernweb-dev", "token_count": 10 }
240
{ "presets": [ "@babel/preset-env", "@babel/preset-react" ], "plugins": [ "@babel/plugin-proposal-class-properties", "@babel/plugin-transform-runtime" ], "ignore": [ "/node_modules/" ] }
odota/web/.babelrc.json/0
{ "file_path": "odota/web/.babelrc.json", "repo_id": "odota", "token_count": 130 }
241
/* eslint-disable import/no-extraneous-dependencies, no-console */ const fs = require('fs'); process.chdir(__dirname); try { fs.copyFileSync('../node_modules/dota2-emoticons/resources/images/emoticons', '../assets/images/dota2/emoticons'); console.log('Success!'); } catch (err) { console.error(err); }
odota/web/dev/updateEmoticons.js/0
{ "file_path": "odota/web/dev/updateEmoticons.js", "repo_id": "odota", "token_count": 114 }
242
<svg xmlns="http://www.w3.org/2000/svg" height="480" width="640" viewBox="0 0 640 480"> <g fill-rule="evenodd" stroke-width="1pt"> <path fill="#de2110" d="M0 319.997h640V480H0z"/> <path fill="#fff" d="M0 0h640v160.003H0z"/> <path fill="#319400" d="M0 160.003h640v160.003H0z"/> </g> </svg>
odota/web/public/assets/images/flags/bg.svg/0
{ "file_path": "odota/web/public/assets/images/flags/bg.svg", "repo_id": "odota", "token_count": 145 }
243
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="480" width="640" viewBox="0 0 640 480"> <defs> <g id="d"> <g id="b"> <path d="M0-1l-.31.95.477.156z" id="a"/> <use transform="scale(-1 1)" xlink:href="#a"/> </g> <g id="c"> <use tra...
odota/web/public/assets/images/flags/eu.svg/0
{ "file_path": "odota/web/public/assets/images/flags/eu.svg", "repo_id": "odota", "token_count": 593 }
244
<svg xmlns="http://www.w3.org/2000/svg" height="480" width="640" viewBox="0 0 640 480"> <path fill="#078930" d="M0 0h640v480z"/> <path fill="#fcdd09" d="M0 0l640 480H0z"/> <path fill="#da121a" d="M252.37 218.025h135.26L278.203 297.53 320 168.89l41.798 128.64z"/> </svg>
odota/web/public/assets/images/flags/gf.svg/0
{ "file_path": "odota/web/public/assets/images/flags/gf.svg", "repo_id": "odota", "token_count": 128 }
245
<svg xmlns="http://www.w3.org/2000/svg" height="480" width="640" viewBox="0 0 640 480"> <g fill-rule="evenodd"> <path d="M0 0l320 240L0 480zM640 0L320 240l320 240z"/> <path d="M0 0l320 240L640 0zM0 480l320-240 320 240z" fill="#090"/> <path d="M640 0h-59.625L0 435.281V480h59.629L640.004 44.719z" fill="#fc0...
odota/web/public/assets/images/flags/jm.svg/0
{ "file_path": "odota/web/public/assets/images/flags/jm.svg", "repo_id": "odota", "token_count": 206 }
246
<svg xmlns="http://www.w3.org/2000/svg" height="480" width="640" viewBox="0 0 640 480"> <g fill-rule="evenodd"> <path fill="#65cfff" d="M0 0h640v480H0z"/> <path d="M318.9 41.991l162.66 395.3-322.6.91L318.9 41.991z" fill="#fff"/> <path d="M319.09 96.516l140.67 339.99-278.99.78 138.32-340.77z"/> <path d...
odota/web/public/assets/images/flags/lc.svg/0
{ "file_path": "odota/web/public/assets/images/flags/lc.svg", "repo_id": "odota", "token_count": 206 }
247
<svg xmlns="http://www.w3.org/2000/svg" height="480" width="640" viewBox="0 0 640 480"> <path fill="#d20000" d="M0 0h640v480H0z"/> <path d="M0 0h96l224 231.43L544 0h96L0 480h96l224-231.43L544 480h96zm640 192v96L0 192v96zM280 0l40 205.714L360 0zm0 480l40-205.714L360 480z" fill="#ffe600"/> <circle r="77.143" cy="24...
odota/web/public/assets/images/flags/mk.svg/0
{ "file_path": "odota/web/public/assets/images/flags/mk.svg", "repo_id": "odota", "token_count": 182 }
248
<svg xmlns="http://www.w3.org/2000/svg" height="480" width="640" viewBox="0 0 640 480"> <defs> <clipPath id="a"> <path fill-opacity=".67" d="M0 0h640v480H0z"/> </clipPath> </defs> <g fill-rule="evenodd" clip-path="url(#a)"> <path fill="#fff" d="M0 0h640v480H0z"/> <path d="M-26.374.224l.803 3...
odota/web/public/assets/images/flags/na.svg/0
{ "file_path": "odota/web/public/assets/images/flags/na.svg", "repo_id": "odota", "token_count": 676 }
249
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="480" width="640" viewBox="0 0 640 480"> <path fill="#20603d" d="M0 0h640v480H0z"/> <path fill="#fad201" d="M0 0h640v360H0z"/> <path fill="#00a1de" d="M0 0h640v240H0z"/> <g transform="translate(511 125.4) scale(.66667)"> ...
odota/web/public/assets/images/flags/rw.svg/0
{ "file_path": "odota/web/public/assets/images/flags/rw.svg", "repo_id": "odota", "token_count": 384 }
250
<svg xmlns="http://www.w3.org/2000/svg" height="480" width="640" viewBox="0 0 640 480"> <path d="M0 336h640v144H0z" fill="#078930"/> <path d="M0 144h640v192H0z" fill="#fff"/> <path d="M0 0h640v144H0z"/> <path d="M0 168h640v144H0z" fill="#da121a"/> <path d="M0 0l415.7 240L0 480z" fill="#0f47af"/> <path d="M2...
odota/web/public/assets/images/flags/ss.svg/0
{ "file_path": "odota/web/public/assets/images/flags/ss.svg", "repo_id": "odota", "token_count": 197 }
251
<svg xmlns="http://www.w3.org/2000/svg" height="480" width="640" viewBox="0 0 640 480"> <g fill-rule="evenodd" stroke-width="1pt"> <path fill="#c10000" d="M0 0h640v480H0z"/> <path fill="#fff" d="M0 0h249.954v200.321H0z"/> <g fill="#c10000"> <path d="M102.854 31.24h39.84v139.54h-39.84z"/> <path...
odota/web/public/assets/images/flags/to.svg/0
{ "file_path": "odota/web/public/assets/images/flags/to.svg", "repo_id": "odota", "token_count": 200 }
252
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="480" width="640" viewBox="0 0 640 480"> <defs> <g id="d" transform="translate(0 -36)"> <g id="c"> <g id="b"> <path d="M0-5L-1.545-.245l2.853.927z" id="a" fill="#fff"/> <use xlink:href="#a" ...
odota/web/public/assets/images/flags/ve.svg/0
{ "file_path": "odota/web/public/assets/images/flags/ve.svg", "repo_id": "odota", "token_count": 543 }
253
export default function transformBenchmarks(data) { const { result } = data; const listStats = Object.keys(data.result); const listPercentiles = result[listStats[0]].map(i => i.percentile); const benchmarks = []; for (let i = 0; i < listPercentiles.length; i += 1) { const percentilePerStat = { perc...
odota/web/src/actions/transformBenchmarks.js/0
{ "file_path": "odota/web/src/actions/transformBenchmarks.js", "repo_id": "odota", "token_count": 181 }
254
import React from 'react'; import PropTypes from 'prop-types'; import ActionInfo from 'material-ui/svg-icons/action/info'; import styled from 'styled-components'; import constants from '../constants'; const StyledDiv = styled.div` & a { color: ${constants.colorMutedLight}; font-size: ${constants.fontSizeSmal...
odota/web/src/components/Alerts/Info.jsx/0
{ "file_path": "odota/web/src/components/Alerts/Info.jsx", "repo_id": "odota", "token_count": 308 }
255
import React from 'react'; import { RaisedButton, RadioButton, RadioButtonGroup } from 'material-ui'; import heroes from 'dotaconstants/build/heroes.json'; import querystring from 'querystring'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import TextField from 'material-ui/TextField'; imp...
odota/web/src/components/Combos/Combos.jsx/0
{ "file_path": "odota/web/src/components/Combos/Combos.jsx", "repo_id": "odota", "token_count": 5302 }
256
export default function editDistance(a, b) { if (a.length === 0) return b.length; if (b.length === 0) return a.length; const matrix = []; // increment along the first column of each row let i; for (i = 0; i <= b.length; i += 1) { matrix[i] = [i]; } // increment each column in the first row let ...
odota/web/src/components/Explorer/editDistance.js/0
{ "file_path": "odota/web/src/components/Explorer/editDistance.js", "repo_id": "odota", "token_count": 418 }
257
import * as React from 'react'; import { FormControlLabel, Switch } from '@material-ui/core'; import { useStrings } from '../../hooks/useStrings.hook'; const GamemodeToggle = () => { const strings = useStrings(); const [modeFilter, setModeFilter] = React.useState(window.localStorage.getItem('modeFilter')); co...
odota/web/src/components/GamemodeToggle/index.jsx/0
{ "file_path": "odota/web/src/components/GamemodeToggle/index.jsx", "repo_id": "odota", "token_count": 377 }
258
import React from 'react'; import { shape, number, string } from 'prop-types'; import styled from 'styled-components'; import AttributeMain from './AttributeMain'; import constants from '../constants'; const AttributesWrapper = styled.div` background: rgba(0, 0, 0, .45); border-radius: 8px; display: block; mar...
odota/web/src/components/Hero/AttributesMain.jsx/0
{ "file_path": "odota/web/src/components/Hero/AttributesMain.jsx", "repo_id": "odota", "token_count": 447 }
259
import heroes from 'dotaconstants/build/heroes.json'; import constants from '../constants'; import { abbreviateNumber, displayHeroId } from '../../utility'; import { GlobalString } from 'src/types/common/GlobalString'; import { Heroes } from '../../types/Hero/Heroes'; import React from 'react'; type Props = { tabTyp...
odota/web/src/components/Heroes/rankColumns.ts/0
{ "file_path": "odota/web/src/components/Heroes/rankColumns.ts", "repo_id": "odota", "token_count": 3094 }
260
import React from 'react'; import PropTypes from 'prop-types'; const Contributor = ({ dColor, oColor, ...props }) => ( <svg {...props} version="1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1138 1138"> <path fill={dColor} d="M450 1047h60a1 1 0 0 0 0-957h-60zm120-807a.9 1 0 0 1 0 660z" /> <path fill={oCo...
odota/web/src/components/Icons/Contributor.jsx/0
{ "file_path": "odota/web/src/components/Icons/Contributor.jsx", "repo_id": "odota", "token_count": 638 }
261
import React from 'react'; export default props => ( <svg {...props} viewBox="0 0 300 300"> <rect x="81.8" y="13.6" width="54.5" height="272.7" /> <rect y="204.5" width="54.5" height="81.8" /> <rect x="163.6" y="150" width="54.5" height="136.4" /> <rect x="245.5" y="95.5" width="54.5" height="190.9" ...
odota/web/src/components/Icons/StatsBars.jsx/0
{ "file_path": "odota/web/src/components/Icons/StatsBars.jsx", "repo_id": "odota", "token_count": 156 }
262
export { default } from './Chat';
odota/web/src/components/Match/Chat/index.js/0
{ "file_path": "odota/web/src/components/Match/Chat/index.js", "repo_id": "odota", "token_count": 10 }
263
import React from 'react'; import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import Toggle from 'material-ui/Toggle'; import TeamTable from '../TeamTable'; import mcs from '../matchColumns'; import config from '../../../config'; const toggleStyle = { width: '30px', float: 'right', positi...
odota/web/src/components/Match/Purchases/index.jsx/0
{ "file_path": "odota/web/src/components/Match/Purchases/index.jsx", "repo_id": "odota", "token_count": 914 }
264
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import RaisedButton from 'material-ui/RaisedButton'; import ActionSearch from 'material-ui/svg-icons/action/search'; import Helmet from 'react-helmet'; import querystring from 'querystring'; import ExplorerOutputSect...
odota/web/src/components/Meta/index.jsx/0
{ "file_path": "odota/web/src/components/Meta/index.jsx", "repo_id": "odota", "token_count": 2506 }
265
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import styled from 'styled-components'; import { getPlayerCounts } from '../../../../actions'; import Table from '../../../Table'; import Container from '../../../Container'; import playerCountsColumns from './playerCo...
odota/web/src/components/Player/Pages/Counts/Counts.jsx/0
{ "file_path": "odota/web/src/components/Player/Pages/Counts/Counts.jsx", "repo_id": "odota", "token_count": 785 }
266
import React from 'react'; import { transformations } from '../../../../utility'; import { TableLink } from '../../../Table'; export default (playerId, strings) => [{ displayName: strings.th_avatar, field: 'last_played', displayFn: transformations.player, sortFn: true, }, { displayName: strings.th_matches, ...
odota/web/src/components/Player/Pages/Pros/playerProsColumns.jsx/0
{ "file_path": "odota/web/src/components/Player/Pages/Pros/playerProsColumns.jsx", "repo_id": "odota", "token_count": 466 }
267
import React from 'react'; import { PeersPage, OverviewPage, MatchesPage, HeroesPage, ProsPage, RankingsPage, HistogramsPage, RecordsPage, CountsPage, TrendsPage, MMRPage, // ItemsPage, WardmapPage, WordcloudPage, TotalsPage, ActivityPage, } from './Pages'; const playerPages = strings =...
odota/web/src/components/Player/playerPages.jsx/0
{ "file_path": "odota/web/src/components/Player/playerPages.jsx", "repo_id": "odota", "token_count": 1150 }
268
import Search from './Search'; export default Search;
odota/web/src/components/Search/index.js/0
{ "file_path": "odota/web/src/components/Search/index.js", "repo_id": "odota", "token_count": 14 }
269
import React, { useCallback } from 'react'; import { connect } from 'react-redux'; import Helmet from 'react-helmet'; import styled from 'styled-components'; import { loadStripe } from '@stripe/stripe-js'; import RaisedButton from 'material-ui/RaisedButton'; import { IconSteam } from '../Icons'; import { useStrings } ...
odota/web/src/components/Subscription/Subscription.jsx/0
{ "file_path": "odota/web/src/components/Subscription/Subscription.jsx", "repo_id": "odota", "token_count": 2215 }
270
import React from 'react'; import Container from '../Container'; import Table from '../Table'; import { matchColumns, memberColumns, heroColumns } from './teamDataColumns'; import { Row, MatchesContainer, MemberAndHeroContainer } from './TeamStyled'; const MAX_MATCHES_ROWS = 20; const MAX_HEROES_ROWS = 10; export def...
odota/web/src/components/Team/Overview.jsx/0
{ "file_path": "odota/web/src/components/Team/Overview.jsx", "repo_id": "odota", "token_count": 704 }
271
import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { XAxis, YAxis, Tooltip, Line, LineChart, CartesianGrid, Legend, Label, ResponsiveContainer, } from 'recharts'; import heroes from 'dotaconstants/build/heroes.json'; import styled from 'styled-...
odota/web/src/components/Visualizations/Graph/TrendGraph.jsx/0
{ "file_path": "odota/web/src/components/Visualizations/Graph/TrendGraph.jsx", "repo_id": "odota", "token_count": 1857 }
272
/* eslint-disable react/jsx-filename-extension */ import React from 'react'; import { createBrowserHistory } from 'history'; import { render, hydrate } from 'react-dom'; import { Provider } from 'react-redux'; import { BrowserRouter } from 'react-router-dom'; import ReactGA from 'react-ga'; import store from './store';...
odota/web/src/index.jsx/0
{ "file_path": "odota/web/src/index.jsx", "repo_id": "odota", "token_count": 412 }
273
{ "yes": "はい", "no": "いいえ", "abbr_thousand": "k", "abbr_million": "m", "abbr_billion": "b", "abbr_trillion": "t", "abbr_quadrillion": "q", "abbr_not_available": "N/A", "abbr_pick": "P", "abbr_win": "W", "abbr_number": "No.", "analysis_eff": "レーン効率", "analysis_farm_drought": "5分間内の最低GPM", "an...
odota/web/src/lang/ja-JP.json/0
{ "file_path": "odota/web/src/lang/ja-JP.json", "repo_id": "odota", "token_count": 21653 }
274
{ "yes": "có", "no": "không", "abbr_thousand": "k", "abbr_million": " triệu", "abbr_billion": "b", "abbr_trillion": "t", "abbr_quadrillion": "q", "abbr_not_available": "N/A", "abbr_pick": "P", "abbr_win": "W", "abbr_number": "No.", "analysis_eff": "Hiệu quả lane", "analysis_farm_drought": "Tiề...
odota/web/src/lang/vi-VN.json/0
{ "file_path": "odota/web/src/lang/vi-VN.json", "repo_id": "odota", "token_count": 24740 }
275
[ { "match_id": 4644814938, "teama": [ 68, 2, 26, 104, 106 ], "teamb": [ 100, 3, 99, 73, 8 ], "teamawin": true, "start_time": null }, { "match_id": 4644782923, "teama": [ 121, 109, 32, 34, 2 ], "teamb": [ 67, 3, 107, 28, 13 ], "tea...
odota/web/testcafe/cachedAjax/findMatches_teamA=2&teamB=3.json/0
{ "file_path": "odota/web/testcafe/cachedAjax/findMatches_teamA=2&teamB=3.json", "repo_id": "odota", "token_count": 1213 }
276
[ { "account_id": 101695162, "name": "fy", "country_code": "", "fantasy_role": 2, "team_id": 15, "team_name": "PSG.LGD", "team_tag": "PSG.LGD", "is_locked": false, "is_pro": true, "locked_until": 1535785200, "steamid": "76561198061960890", "avatar": "https://cdn.cloudflare.steamstatic.com/steam...
odota/web/testcafe/cachedAjax/players_101695162_pros_.json/0
{ "file_path": "odota/web/testcafe/cachedAjax/players_101695162_pros_.json", "repo_id": "odota", "token_count": 349389 }
277
[ { "match_id": "4098625630", "start_time": "1535995413", "hero_id": "11", "score": "2060" }, { "match_id": "4097153300", "start_time": "1535916397", "hero_id": "4", "score": "2051" }, { "match_id": "4101918338", "start_time": "1536165053", "hero_id": "17", "score": "1975" }, { "match_i...
odota/web/testcafe/cachedAjax/records_gold_per_min_.json/0
{ "file_path": "odota/web/testcafe/cachedAjax/records_gold_per_min_.json", "repo_id": "odota", "token_count": 5563 }
278
.github .task .vscode data/ docs.bleve/ frontend/node_modules/ frontend/cache/ frontend/build/ frontend/.next/ *.exe .env *.db
openmultiplayer/web/.dockerignore/0
{ "file_path": "openmultiplayer/web/.dockerignore", "repo_id": "openmultiplayer", "token_count": 57 }
279
package pawndex_test import ( "context" "fmt" "os" "testing" "github.com/google/go-github/github" "github.com/joho/godotenv" "golang.org/x/oauth2" "github.com/openmultiplayer/web/app/resources/pawndex" ) func TestGitHubScraper_Scrape(t *testing.T) { godotenv.Load("../.env") //nolint:errcheck token := os.G...
openmultiplayer/web/app/resources/pawndex/scraper_test.go/0
{ "file_path": "openmultiplayer/web/app/resources/pawndex/scraper_test.go", "repo_id": "openmultiplayer", "token_count": 325 }
280
package authentication import ( "context" "net/http" "time" "github.com/pkg/errors" "go.uber.org/zap" "github.com/openmultiplayer/web/internal/web" ) // Info represents data that is extracted from the path, validated // against auth and stored in request context. type Info struct { Authenticated bool Cookie...
openmultiplayer/web/app/services/authentication/middleware.go/0
{ "file_path": "openmultiplayer/web/app/services/authentication/middleware.go", "repo_id": "openmultiplayer", "token_count": 1093 }
281
package docs import ( "net/http" "github.com/Southclaws/qstring" "github.com/go-chi/chi" "go.uber.org/fx" "github.com/openmultiplayer/web/app/services/docsindex" "github.com/openmultiplayer/web/internal/web" ) type service struct { idx *docsindex.Index } func Build() fx.Option { return fx.Options( fx.Pro...
openmultiplayer/web/app/transports/api/docs/api.go/0
{ "file_path": "openmultiplayer/web/app/transports/api/docs/api.go", "repo_id": "openmultiplayer", "token_count": 536 }
282
package servers import ( "net/http" "strconv" "time" "github.com/pkg/errors" "github.com/openmultiplayer/web/app/resources/server" "github.com/openmultiplayer/web/internal/web" ) func (s *service) list(w http.ResponseWriter, r *http.Request) { queries := r.URL.Query() since, err := strconv.Atoi(queries.Get(...
openmultiplayer/web/app/transports/api/servers/h_list.go/0
{ "file_path": "openmultiplayer/web/app/transports/api/servers/h_list.go", "repo_id": "openmultiplayer", "token_count": 352 }
283
--- title: OnGameModeInit description: This callback is triggered when the gamemode starts. tags: [] --- ## Description This callback is triggered when the gamemode starts. ## Examples ```c public OnGameModeInit() { print("Gamemode started!"); return 1; } ``` ## Notes :::tip This function can also be use...
openmultiplayer/web/docs/scripting/callbacks/OnGameModeInit.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/callbacks/OnGameModeInit.md", "repo_id": "openmultiplayer", "token_count": 251 }
284
--- title: OnPlayerClickPlayerTextDraw description: This callback is called when a player clicks on a player-textdraw. tags: ["player", "textdraw", "playertextdraw"] --- ## Description This callback is called when a player clicks on a player-textdraw. It is not called when player cancels the select mode (ESC) - howev...
openmultiplayer/web/docs/scripting/callbacks/OnPlayerClickPlayerTextDraw.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/callbacks/OnPlayerClickPlayerTextDraw.md", "repo_id": "openmultiplayer", "token_count": 1069 }
285
--- title: OnPlayerGiveDamage description: This callback is called when a player gives damage to another player. tags: ["player"] --- ## Description This callback is called when a player gives damage to another player. | Name | Description | |----------------...
openmultiplayer/web/docs/scripting/callbacks/OnPlayerGiveDamage.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/callbacks/OnPlayerGiveDamage.md", "repo_id": "openmultiplayer", "token_count": 883 }
286
--- title: OnPlayerSelectObject description: This callback is called when a player selects an object after BeginObjectSelecting has been used. tags: ["player", "object"] --- ## Description This callback is called when a player selects an object after [BeginObjectSelecting](../functions/BeginObjectSelecting) has been ...
openmultiplayer/web/docs/scripting/callbacks/OnPlayerSelectObject.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/callbacks/OnPlayerSelectObject.md", "repo_id": "openmultiplayer", "token_count": 739 }
287
--- title: OnVehicleDamageStatusUpdate description: This callback is called when a vehicle element such as doors, tyres, panels, or lights change their damage status. tags: ["vehicle"] --- :::tip For some useful functions for working with vehicle damage values, see [here](../resources/damagestatus). ::: ## Descript...
openmultiplayer/web/docs/scripting/callbacks/OnVehicleDamageStatusUpdate.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/callbacks/OnVehicleDamageStatusUpdate.md", "repo_id": "openmultiplayer", "token_count": 707 }
288
--- title: AddStaticPickup description: This function adds a 'static' pickup to the game. tags: ["pickup"] --- ## Description This function adds a 'static' pickup to the game. These pickups support weapons, health, armor etc., with the ability to function without scripting them (weapons/health/armor will be given aut...
openmultiplayer/web/docs/scripting/functions/AddStaticPickup.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/AddStaticPickup.md", "repo_id": "openmultiplayer", "token_count": 881 }
289
--- title: AttachCameraToObject description: You can use this function to attach the player camera to objects. tags: ["player", "object"] --- ## Description You can use this function to attach the player camera to objects. | Name | Description | | --------...
openmultiplayer/web/docs/scripting/functions/AttachCameraToObject.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/AttachCameraToObject.md", "repo_id": "openmultiplayer", "token_count": 428 }
290
--- title: CallRemoteFunction description: Calls a public function in any script that is loaded. tags: ["core"] --- ## Description Calls a public function in any script that is loaded. | Name | Description | | -------------------- | ------------------------------------...
openmultiplayer/web/docs/scripting/functions/CallRemoteFunction.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/CallRemoteFunction.md", "repo_id": "openmultiplayer", "token_count": 2188 }
291
--- title: CreateExplosionForPlayer description: Creates an explosion that is only visible to a single player. tags: ["player"] --- ## Description Creates an explosion that is only visible to a single player. This can be used to isolate explosions from other players or to make them only appear in specific virtual wor...
openmultiplayer/web/docs/scripting/functions/CreateExplosionForPlayer.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/CreateExplosionForPlayer.md", "repo_id": "openmultiplayer", "token_count": 641 }
292
--- title: DestroyObject description: Destroys (removes) an object that was created using CreateObject. tags: ["object"] --- ## Description Destroys (removes) an object that was created using CreateObject. | Name | Description | | -------- | ------------------------...
openmultiplayer/web/docs/scripting/functions/DestroyObject.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/DestroyObject.md", "repo_id": "openmultiplayer", "token_count": 556 }
293
--- title: EditPlayerObject description: Allows players to edit a player-object (position and rotation) with a GUI and their mouse. tags: ["player"] --- ## Description Allows players to edit a player-object (position and rotation) with a GUI and their mouse. | Name | Description ...
openmultiplayer/web/docs/scripting/functions/EditPlayerObject.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/EditPlayerObject.md", "repo_id": "openmultiplayer", "token_count": 517 }
294
--- title: GangZoneDestroy description: Destroy a gangzone. tags: ["gangzone"] --- ## Description Destroy a gangzone. | Name | Description | | ------ | ------------------------------ | | zoneid | The ID of the zone to destroy. | ## Returns 1: The function executed successfully. 0: The functio...
openmultiplayer/web/docs/scripting/functions/GangZoneDestroy.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GangZoneDestroy.md", "repo_id": "openmultiplayer", "token_count": 448 }
295
--- title: Get3DTextLabelLOS description: Gets the 3D text label line-of-sight. tags: ["3dtextlabel"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Gets the 3D text label line-of-sight. | Name | Description | | ------------- | --------------------...
openmultiplayer/web/docs/scripting/functions/Get3DTextLabelLOS.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/Get3DTextLabelLOS.md", "repo_id": "openmultiplayer", "token_count": 363 }
296
--- title: GetConsoleVarAsFloat description: Get the float value of a console variable. tags: [] --- ## Description Get the float value of a console variable. | Name | Description | | ------------ | --------------------------------------------------- | | const cvar[] |...
openmultiplayer/web/docs/scripting/functions/GetConsoleVarAsFloat.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetConsoleVarAsFloat.md", "repo_id": "openmultiplayer", "token_count": 328 }
297
--- title: GetMyPos description: Get position of the NPC tags: ["npc"] --- ## Description Get the position of the NPC. | Name | Description | | --------- | -------------------------------------------------------| | &Float:x | A float to save the X coordinate, passed...
openmultiplayer/web/docs/scripting/functions/GetMyPos.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetMyPos.md", "repo_id": "openmultiplayer", "token_count": 266 }
298
--- title: GetPVarInt description: Gets an integer player variable's value. tags: ["player variable", "pvar"] --- ## Description Gets an integer player variable's value. | Name | Description | | ------------ | ----------------...
openmultiplayer/web/docs/scripting/functions/GetPVarInt.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetPVarInt.md", "repo_id": "openmultiplayer", "token_count": 592 }
299
--- title: GetPlayer3DTextLabelPos description: Gets the player's 3D text label position. tags: ["player", "3dtextlabel"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Gets the player's 3D text label position. | Name | Description ...
openmultiplayer/web/docs/scripting/functions/GetPlayer3DTextLabelPos.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayer3DTextLabelPos.md", "repo_id": "openmultiplayer", "token_count": 565 }
300
--- title: GetPlayerCameraTargetPlayer description: Allows you to retrieve the ID of the player the playerid is looking at. tags: ["player", "camera"] --- <VersionWarn version='SA-MP 0.3.7' /> ## Description Allows you to retrieve the ID of the player the playerid is looking at. | Name | Description ...
openmultiplayer/web/docs/scripting/functions/GetPlayerCameraTargetPlayer.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerCameraTargetPlayer.md", "repo_id": "openmultiplayer", "token_count": 397 }
301
--- title: GetPlayerGhostMode description: Get player's ghost mode. tags: ["player"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Get player's ghost mode. | Name | Description | | -------- | ----------------------------------------------------- | | playe...
openmultiplayer/web/docs/scripting/functions/GetPlayerGhostMode.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerGhostMode.md", "repo_id": "openmultiplayer", "token_count": 256 }
302
--- title: GetPlayerObjectAttachedData description: Get the attachment data of a player-object. tags: ["player", "object", "playerobject"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Get the attachment data of a player-object. | Name | Description ...
openmultiplayer/web/docs/scripting/functions/GetPlayerObjectAttachedData.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerObjectAttachedData.md", "repo_id": "openmultiplayer", "token_count": 496 }
303
--- title: GetPlayerPing description: Get the ping of a player. tags: ["player"] --- ## Description Get the ping of a player. The ping measures the amount of time it takes for the server to 'ping' the client and for the client to send the message back. | Name | Description | | ------...
openmultiplayer/web/docs/scripting/functions/GetPlayerPing.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerPing.md", "repo_id": "openmultiplayer", "token_count": 697 }
304
--- title: GetPlayerWeather description: Get a player's weather. tags: ["player"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Get a player's weather. | Name | Description | | -------- | ---------------------------------------- | | playerid | The ID of the player to ...
openmultiplayer/web/docs/scripting/functions/GetPlayerWeather.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetPlayerWeather.md", "repo_id": "openmultiplayer", "token_count": 242 }
305
--- title: GetServerVarAsString description: Get the string value of a server variable. tags: [] --- :::warning This function, as of 0.3.7 R2, is deprecated. Please see GetConsoleVarAsString ::: ## Description Get the string value of a server variable. | Name | Description ...
openmultiplayer/web/docs/scripting/functions/GetServerVarAsString.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetServerVarAsString.md", "repo_id": "openmultiplayer", "token_count": 525 }
306
--- title: GetVehicleLastDriver description: Get the last driver of a vehicle. tags: ["vehicle"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Get the last driver of a vehicle. ## Parameters | Name | Description | |-----------|------------------------| | vehicleid | The ID of the veh...
openmultiplayer/web/docs/scripting/functions/GetVehicleLastDriver.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetVehicleLastDriver.md", "repo_id": "openmultiplayer", "token_count": 377 }
307
--- title: GetVehicleRespawnTick description: Get the respawn tick of a vehicle. tags: ["vehicle"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Get the respawn tick of a vehicle. ## Parameters | Name | Description | |-----------|------------------------| | vehicleid | The ID of the ...
openmultiplayer/web/docs/scripting/functions/GetVehicleRespawnTick.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GetVehicleRespawnTick.md", "repo_id": "openmultiplayer", "token_count": 275 }
308
--- title: GivePlayerMoney description: Give money to or take money from a player. tags: ["player"] --- ## Description Give money to or take money from a player. | Name | Description | | -------- | ------------------------------------------------------...
openmultiplayer/web/docs/scripting/functions/GivePlayerMoney.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/GivePlayerMoney.md", "repo_id": "openmultiplayer", "token_count": 418 }
309
--- title: Is3DTextLabelStreamedIn description: Checks if a 3D text label is streamed in for a player. tags: ["3dtextlabel"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Checks if a 3D text label is streamed in for a player. | Name | Description | | ------------- | --------...
openmultiplayer/web/docs/scripting/functions/Is3DTextLabelStreamedIn.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/Is3DTextLabelStreamedIn.md", "repo_id": "openmultiplayer", "token_count": 423 }
310
--- title: IsPlayerAttachedObjectSlotUsed description: Check if a player has an object attached in the specified index (slot). tags: ["player", "object", "attachment"] --- ## Description Check if a player has an object attached in the specified index (slot). | Name | Description | | -------- |...
openmultiplayer/web/docs/scripting/functions/IsPlayerAttachedObjectSlotUsed.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/IsPlayerAttachedObjectSlotUsed.md", "repo_id": "openmultiplayer", "token_count": 514 }
311
--- title: IsPlayerInVehicle description: Checks if a player is in a specific vehicle. tags: ["player", "vehicle"] --- ## Description Checks if a player is in a specific vehicle. | Name | Description | | --------- | ----------------------------------------- | | playerid | ID of th...
openmultiplayer/web/docs/scripting/functions/IsPlayerInVehicle.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/IsPlayerInVehicle.md", "repo_id": "openmultiplayer", "token_count": 456 }
312
--- title: IsValidActor description: Checks if an actor ID is valid. tags: ["actor"] --- <VersionWarn version='SA-MP 0.3.7' /> ## Description Checks if an actor ID is valid. | Name | Description | | ------- | ----------------------------- | | actorid | The ID of the actor to check. | ## Return...
openmultiplayer/web/docs/scripting/functions/IsValidActor.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/IsValidActor.md", "repo_id": "openmultiplayer", "token_count": 323 }
313
--- title: IsValidVehicle description: Check if a vehicle is created. tags: ["vehicle"] --- :::note This function is not present in the old libraries packaged with the SA-MP server however the [latest versions of the maintained libraries](https://github.com/pawn-lang/samp-stdlib) contain this and other formerly missi...
openmultiplayer/web/docs/scripting/functions/IsValidVehicle.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/IsValidVehicle.md", "repo_id": "openmultiplayer", "token_count": 547 }
314
--- title: NetStats_ConnectionStatus description: Gets the player's current connection status. tags: ["network monitoring"] --- ## Description Gets the player's current connection status. | Name | Description | | -------- | -----------------------------------------------...
openmultiplayer/web/docs/scripting/functions/NetStats_ConnectionStatus.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/NetStats_ConnectionStatus.md", "repo_id": "openmultiplayer", "token_count": 909 }
315
--- title: PlayerGangZoneShow description: Show player gangzone in a color tags: ["player", "gangzone", "playergangzone"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Show player gangzone in a color. | Name | Description | | ----------- | -...
openmultiplayer/web/docs/scripting/functions/PlayerGangZoneShow.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/PlayerGangZoneShow.md", "repo_id": "openmultiplayer", "token_count": 824 }
316
--- title: PlayerTextDrawGetTextSize description: Gets the X axis and Y axis of the player-textdraw text size. tags: ["player", "textdraw", "playertextdraw"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Gets the X axis and Y axis of the player-textdraw text size. | Name | Description ...
openmultiplayer/web/docs/scripting/functions/PlayerTextDrawGetTextSize.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/PlayerTextDrawGetTextSize.md", "repo_id": "openmultiplayer", "token_count": 988 }
317
--- title: PlayerTextDrawShow description: Show a player-textdraw to the player it was created for. tags: ["player", "textdraw", "playertextdraw"] --- ## Description Show a player-textdraw to the player it was created for | Name | Description | | ----------------- | ---...
openmultiplayer/web/docs/scripting/functions/PlayerTextDrawShow.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/PlayerTextDrawShow.md", "repo_id": "openmultiplayer", "token_count": 746 }
318
--- title: SHA256_PassHash description: Hashes a password using the SHA-256 hashing algorithm. tags: ["encryption"] --- <VersionWarn version='SA-MP 0.3.7 R1' /> :::warning This function is deprecated in open.mp, Use [samp-bcrypt](https://github.com/Sreyas-Sreelal/samp-bcrypt) plugin for hashing. ::: ## Description...
openmultiplayer/web/docs/scripting/functions/SHA256_PassHash.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/SHA256_PassHash.md", "repo_id": "openmultiplayer", "token_count": 679 }
319
--- title: Set3DTextLabelLOS description: Sets the 3D text label line-of-sight. tags: ["3dtextlabel"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Sets the 3D text label line-of-sight. | Name | Description | | ------------- ...
openmultiplayer/web/docs/scripting/functions/Set3DTextLabelLOS.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/Set3DTextLabelLOS.md", "repo_id": "openmultiplayer", "token_count": 412 }
320
--- title: SetNameTagDrawDistance description: Set the maximum distance to display the names of players. tags: [] --- ## Description Set the maximum distance to display the names of players. | Name | Description | | -------------- | -------------------- | | Float:distance | The distance to set. | ...
openmultiplayer/web/docs/scripting/functions/SetNameTagDrawDistance.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/SetNameTagDrawDistance.md", "repo_id": "openmultiplayer", "token_count": 235 }
321
--- title: SetPlayerGravity description: Set a player's gravity. tags: ["player"] --- <VersionWarn version='omp v1.1.0.2612' /> ## Description Set a player's gravity. | Name | Description | | ------------- | ---------------------------------------------...
openmultiplayer/web/docs/scripting/functions/SetPlayerGravity.md/0
{ "file_path": "openmultiplayer/web/docs/scripting/functions/SetPlayerGravity.md", "repo_id": "openmultiplayer", "token_count": 379 }
322