mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-17 23:33:12 +09:00
Separate connection related data from host data
Split out host specific data from RegisterHostData that is not related to the establishment of a connection to the controller into it's own HostInfoUpdate event. This allows this data to be updated when the config values they are taken from are changed.
This commit is contained in:
1 parent
790f880e98
commit
688ddc529b
8 files changed
+94
-42
No files matched your search
@@ -108,7 +108,6 @@ Host handshake for establishing a new connection session.
|
||||
|
||||
- `token: string` - Authentication token.
|
||||
- `version: string` - The protocol version of the host, e.g. "2.0.0".
|
||||
- `name: string` - Name of the host.
|
||||
- `id: integer` - ID of the host.
|
||||
- `plugins: Object<string, string>` -
|
||||
Object mapping plugin names to plugin version for plugins that are available on the host.
|
||||
@@ -242,7 +241,6 @@ Host registering a new connection session.
|
||||
"data": {
|
||||
"token": "xyzabc123",
|
||||
"version": "2.0.0",
|
||||
"name": "Foo",
|
||||
"id": 123
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user