Skip to content

Commit 5872e1f

Browse files
aloke-coreCommanderFoodependabot[bot]
authored
Patch 1.0.294 from development (#1211)
* Docs updated new ping property for Player object * Bump pymdown-extensions from 9.6 to 10.0 in /.devcontainer Bumps [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) from 9.6 to 10.0. - [Release notes](https://github.com/facelessuser/pymdown-extensions/releases) - [Commits](facelessuser/pymdown-extensions@9.6...10.0) --- updated-dependencies: - dependency-name: pymdown-extensions dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * Bump pymdown-extensions from 9.11 to 10.0 Bumps [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) from 9.11 to 10.0. - [Release notes](https://github.com/facelessuser/pymdown-extensions/releases) - [Commits](facelessuser/pymdown-extensions@9.11...10.0) --- updated-dependencies: - dependency-name: pymdown-extensions dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * Bump eslint from 8.38.0 to 8.40.0 Bumps [eslint](https://github.com/eslint/eslint) from 8.38.0 to 8.40.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](eslint/eslint@v8.38.0...v8.40.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump mkdocs from 1.4.2 to 1.4.3 Bumps [mkdocs](https://github.com/mkdocs/mkdocs) from 1.4.2 to 1.4.3. - [Release notes](https://github.com/mkdocs/mkdocs/releases) - [Commits](mkdocs/mkdocs@1.4.2...1.4.3) --- updated-dependencies: - dependency-name: mkdocs dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump DavidAnson/markdownlint-cli2-action from 9 to 10 Bumps [DavidAnson/markdownlint-cli2-action](https://github.com/DavidAnson/markdownlint-cli2-action) from 9 to 10. - [Release notes](https://github.com/DavidAnson/markdownlint-cli2-action/releases) - [Commits](DavidAnson/markdownlint-cli2-action@v9...v10) --- updated-dependencies: - dependency-name: DavidAnson/markdownlint-cli2-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Bump markdownlint-cli2 from 0.6.0 to 0.7.1 Bumps [markdownlint-cli2](https://github.com/DavidAnson/markdownlint-cli2) from 0.6.0 to 0.7.1. - [Release notes](https://github.com/DavidAnson/markdownlint-cli2/releases) - [Changelog](https://github.com/DavidAnson/markdownlint-cli2/blob/main/CHANGELOG.md) - [Commits](DavidAnson/markdownlint-cli2@v0.6.0...v0.7.1) --- updated-dependencies: - dependency-name: markdownlint-cli2 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump treosh/lighthouse-ci-action from 9.6.8 to 10.1.0 Bumps [treosh/lighthouse-ci-action](https://github.com/treosh/lighthouse-ci-action) from 9.6.8 to 10.1.0. - [Release notes](https://github.com/treosh/lighthouse-ci-action/releases) - [Commits](treosh/lighthouse-ci-action@9.6.8...10.1.0) --- updated-dependencies: - dependency-name: treosh/lighthouse-ci-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Bump pygments from 2.14.0 to 2.15.1 Bumps [pygments](https://github.com/pygments/pygments) from 2.14.0 to 2.15.1. - [Release notes](https://github.com/pygments/pygments/releases) - [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES) - [Commits](pygments/pygments@2.14.0...2.15.1) --- updated-dependencies: - dependency-name: pygments dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump prettier from 2.8.7 to 2.8.8 Bumps [prettier](https://github.com/prettier/prettier) from 2.8.7 to 2.8.8. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@2.8.7...2.8.8) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump pymdown-extensions from 10.0 to 10.0.1 Bumps [pymdown-extensions](https://github.com/facelessuser/pymdown-extensions) from 10.0 to 10.0.1. - [Release notes](https://github.com/facelessuser/pymdown-extensions/releases) - [Commits](facelessuser/pymdown-extensions@10.0...10.0.1) --- updated-dependencies: - dependency-name: pymdown-extensions dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump eslint from 8.40.0 to 8.41.0 Bumps [eslint](https://github.com/eslint/eslint) from 8.40.0 to 8.41.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](eslint/eslint@v8.40.0...v8.41.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Update API for 1.0.294 (#1210) Teams.SetMode, Teams.GetMode, enum TeamMode --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: CommanderFoo <pixeldepth@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 4a92452 commit 5872e1f

File tree

10 files changed

+151
-134
lines changed

10 files changed

+151
-134
lines changed

.devcontainer/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ mkdocs-material-extensions==1.0.3
66
mkdocs-redirects==1.2.0
77
mkdocs==1.4.0
88
pygments==2.13.0
9-
pymdown-extensions==9.6
9+
pymdown-extensions==10.0
1010
mkdocs-static-i18n==0.47
1111
mkdocs-minify-plugin==0.5.0
1212
mkdocs-meta-descriptions-plugin==2.1.0

.github/workflows/development.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ jobs:
3535
run: npm run lint:paths
3636

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

.github/workflows/production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
run: npm run lint:paths
3636

3737
- name: Lint Markdown
38-
uses: DavidAnson/markdownlint-cli2-action@v9
38+
uses: DavidAnson/markdownlint-cli2-action@v10
3939
with:
4040
globs: "src/**/*.md"
4141

.github/workflows/pullrequest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
run: npm run lint:paths
3434

3535
- name: Lint Markdown
36-
uses: DavidAnson/markdownlint-cli2-action@v9
36+
uses: DavidAnson/markdownlint-cli2-action@v10
3737
with:
3838
globs: "src/**/*.md"
3939

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

4747
- name: Audit URLs using Lighthouse
48-
uses: treosh/lighthouse-ci-action@9.6.8
48+
uses: treosh/lighthouse-ci-action@10.1.0
4949
env:
5050
LHCI_GITHUB_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
5151
with:

package-lock.json

Lines changed: 129 additions & 123 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@
3939
"homepage": "https://docs.coregames.com",
4040
"devDependencies": {
4141
"@attilagyongyosi/path-linter": "^2.1.5",
42-
"eslint": "^8.38.0",
42+
"eslint": "^8.41.0",
4343
"eslint-config-airbnb-base": "^15.0.0",
4444
"eslint-plugin-import": "^2.27.5",
4545
"eslint-plugin-prettier": "^4.2.1",
4646
"lite-youtube-embed": "^0.2.0",
47-
"markdownlint-cli2": "^0.6.0",
48-
"prettier": "^2.8.7"
47+
"markdownlint-cli2": "^0.7.1",
48+
"prettier": "^2.8.8"
4949
},
5050
"engines": {
5151
"node": ">= 18"

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ mkdocs-ezlinks-plugin==0.1.14
44
mkdocs-git-revision-date-localized-plugin==1.2.0
55
mkdocs-material-extensions==1.1.1
66
mkdocs-redirects==1.2.0
7-
mkdocs==1.4.2
8-
pygments==2.14.0
9-
pymdown-extensions==9.11
7+
mkdocs==1.4.3
8+
pygments==2.15.1
9+
pymdown-extensions==10.0.1
1010
mkdocs-static-i18n==0.56
1111
mkdocs-minify-plugin==0.6.4
1212
mkdocs-meta-descriptions-plugin==2.2.0

src/api/enums.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,14 @@ tags:
356356
| `TaskStatus.CANCELED` | `6` | The task was canceled, either by a call to `Task.Cancel()` or because its script was destroyed. |
357357
| `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. |
358358

359+
## TeamMode
360+
361+
| Enum Name | Value | Description |
362+
| --------- | ----------- | ----------- |
363+
| `TeamMode.FREE_FOR_ALL` | `0` | Players are hostile to all other players. |
364+
| `TeamMode.TEAM_VERSUS` | `1` | Players are assigned to teams that are hostile to each other. |
365+
| `TeamMode.FRIENDLY` | `2` | Players are friendly to all other players. |
366+
359367
## TextJustify
360368

361369
| Enum Name | Value | Description |

src/api/player.md

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

8182
## Functions
8283

src/api/teams.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ The Teams namespace contains a set of class functions for dealing with teams and
1616
| -------------- | ----------- | ----------- | ---- |
1717
| `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 |
1818
| `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 |
19+
| `Teams.SetTeamMode(TeamMode team_mode)` | `None` | Set the current team mode. | Server-Only |
20+
| `Teams.GetTeamMode()` | [`TeamMode`](enums.md#teammode) | Get the current team mode. | None |
1921

2022
## Examples
2123

0 commit comments

Comments
 (0)