Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sdffhsdfg #1244

Draft
wants to merge 15 commits into
base: production
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/requirements.txt
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ mkdocs-material-extensions==1.0.3
mkdocs-redirects==1.2.0
mkdocs==1.4.0
pygments==2.13.0
pymdown-extensions==9.6
pymdown-extensions==10.0
mkdocs-static-i18n==0.47
mkdocs-minify-plugin==0.5.0
mkdocs-meta-descriptions-plugin==2.1.0
2 changes: 1 addition & 1 deletion .github/workflows/development.yml
Original file line number Diff line number Diff line change
@@ -35,6 +35,6 @@ jobs:
run: npm run lint:paths

- name: Lint Markdown
uses: DavidAnson/markdownlint-cli2-action@v9
uses: DavidAnson/markdownlint-cli2-action@v10
with:
globs: "src/**/*.md"
2 changes: 1 addition & 1 deletion .github/workflows/production.yml
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@ jobs:
run: npm run lint:paths

- name: Lint Markdown
uses: DavidAnson/markdownlint-cli2-action@v9
uses: DavidAnson/markdownlint-cli2-action@v10
with:
globs: "src/**/*.md"

4 changes: 2 additions & 2 deletions .github/workflows/pullrequest.yml
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ jobs:
run: npm run lint:paths

- name: Lint Markdown
uses: DavidAnson/markdownlint-cli2-action@v9
uses: DavidAnson/markdownlint-cli2-action@v10
with:
globs: "src/**/*.md"

@@ -45,7 +45,7 @@ jobs:
max_timeout: 520

- name: Audit URLs using Lighthouse
uses: treosh/lighthouse-ci-action@9.6.8
uses: treosh/lighthouse-ci-action@10.1.0
env:
LHCI_GITHUB_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
with:
30 changes: 15 additions & 15 deletions .github/workflows/vale.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
name: Prose Linting
on: [push]
# name: Prose Linting
# on: [push]

jobs:
prose:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
# jobs:
# prose:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3

- name: Vale
uses: errata-ai/[email protected]
with:
files: src
fail_on_error: true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
# - name: Vale
# uses: errata-ai/[email protected]
# with:
# files: src
# fail_on_error: true
# env:
# GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
252 changes: 129 additions & 123 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -39,13 +39,13 @@
"homepage": "https://docs.coregames.com",
"devDependencies": {
"@attilagyongyosi/path-linter": "^2.1.5",
"eslint": "^8.38.0",
"eslint": "^8.41.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"lite-youtube-embed": "^0.2.0",
"markdownlint-cli2": "^0.6.0",
"prettier": "^2.8.7"
"markdownlint-cli2": "^0.7.1",
"prettier": "^2.8.8"
},
"engines": {
"node": ">= 18"
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -4,9 +4,9 @@ mkdocs-ezlinks-plugin==0.1.14
mkdocs-git-revision-date-localized-plugin==1.2.0
mkdocs-material-extensions==1.1.1
mkdocs-redirects==1.2.0
mkdocs==1.4.2
pygments==2.14.0
pymdown-extensions==9.11
mkdocs==1.4.3
pygments==2.15.1
pymdown-extensions==10.0.1
mkdocs-static-i18n==0.56
mkdocs-minify-plugin==0.6.4
mkdocs-meta-descriptions-plugin==2.2.0
8 changes: 8 additions & 0 deletions src/api/enums.md
Original file line number Diff line number Diff line change
@@ -356,6 +356,14 @@ tags:
| `TaskStatus.CANCELED` | `6` | The task was canceled, either by a call to `Task.Cancel()` or because its script was destroyed. |
| `TaskStatus.BLOCKED` | `7` | The task is waiting for an operation to complete before resuming execution. Examples include a call to `CoreObjectReference:WaitForObject()`, `CorePlatform.GetGameInfo()`, etc. |

## TeamMode

| Enum Name | Value | Description |
| --------- | ----------- | ----------- |
| `TeamMode.FREE_FOR_ALL` | `0` | Players are hostile to all other players. |
| `TeamMode.TEAM_VERSUS` | `1` | Players are assigned to teams that are hostile to each other. |
| `TeamMode.FRIENDLY` | `2` | Players are friendly to all other players. |

## TextJustify

| Enum Name | Value | Description |
1 change: 1 addition & 0 deletions src/api/player.md
Original file line number Diff line number Diff line change
@@ -77,6 +77,7 @@ Player is an object representation of the state of a player connected to the gam
| `occupiedVehicle` | [`Vehicle`](vehicle.md) | Returns the `Vehicle` that the player currently occupies, or `nil` if the player is not occupying a vehicle. | Read-Only |
| `isInParty` | `boolean` | Returns whether this player is in a party. This is known regardless of if the party is public or private. | Read-Only |
| `isPartyLeader` | `boolean` | Returns whether this player is the leader of a public party. | Read-Only |
| `ping` | `integer` | Returns the ping value in milliseconds for this player. | Read-Only |

## Functions

2 changes: 2 additions & 0 deletions src/api/teams.md
Original file line number Diff line number Diff line change
@@ -16,6 +16,8 @@ The Teams namespace contains a set of class functions for dealing with teams and
| -------------- | ----------- | ----------- | ---- |
| `Teams.AreTeamsEnemies(integer team1, integer team2)` | `boolean` | Returns true if teams are considered enemies under the current TeamMode. If either team is TEAM_NEUTRAL=0, returns false. | None |
| `Teams.AreTeamsFriendly(integer team1, integer team2)` | `boolean` | Returns true if teams are considered friendly under the current TeamMode. If either team is TEAM_NEUTRAL=0, returns true. | None |
| `Teams.SetTeamMode(TeamMode team_mode)` | `None` | Set the current team mode. | Server-Only |
| `Teams.GetTeamMode()` | [`TeamMode`](enums.md#teammode) | Get the current team mode. | None |

## Examples

2 changes: 1 addition & 1 deletion src/getting_started/core_help.md
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ The [Core Community Discord](https://discord.coregames.com) is a live social spa

## Help Center

The [Help Center](https://support.coregames.com/hc/en-us) is the best place to go for any technical issues in Core.
The [Help Center](https://support.coregames.com/) is the best place to go for any technical issues in Core.

## Bug Reports