Skip to content

Commit

Permalink
Patch 1.0.294 from development (#1211)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
3 people committed Jun 21, 2023
1 parent 4a92452 commit 5872e1f
Show file tree
Hide file tree
Showing 10 changed files with 151 additions and 134 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Up @@ -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"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pullrequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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:
Expand Down
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
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 8 additions & 0 deletions src/api/enums.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
1 change: 1 addition & 0 deletions src/api/player.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions src/api/teams.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5872e1f

Please sign in to comment.