mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-06 07:07:33 +00:00
feat(game/farmingsimulator): add response to raw object (#682)
* feat(game/farmingsimulator): add response to raw object * docs: add changelog line
This commit is contained in:
parent
1e2ade8d5c
commit
e6b959a4d7
2 changed files with 6 additions and 3 deletions
|
|
@ -6,6 +6,7 @@
|
|||
* Docs: Counter-Strike 2 does not provide players names, note this and a plugin workaround (#675).
|
||||
* Fix: Minetest - server filtering replace missing field ip with address (By @hjri #678)
|
||||
* Docs: Arma Reforger does not provide players data (#680)
|
||||
* Feat: Farming Simulator add response to raw object (#682)
|
||||
|
||||
## 5.2.0
|
||||
* Fix: Palworld not respecting query output players schema (#666)
|
||||
|
|
|
|||
|
|
@ -35,7 +35,11 @@ export default class farmingsimulator extends Core {
|
|||
}
|
||||
})
|
||||
|
||||
state.raw.mods = []
|
||||
state.raw = {
|
||||
data: request,
|
||||
mods: []
|
||||
}
|
||||
|
||||
$('Mod').each(function () {
|
||||
if ($(this).attr('name') !== undefined) {
|
||||
state.raw.mods.push({
|
||||
|
|
@ -49,7 +53,5 @@ export default class farmingsimulator extends Core {
|
|||
})
|
||||
|
||||
state.version = serverInfo.attr('version')
|
||||
|
||||
// TODO: Add state.raw
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue