mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-13 07:04:53 +09:00
Reorder members of Address
The logical order of clusterio's components are in most places controller, host, instance, control. It is confusing that Address breaks this convention and I do not remember I wrote it that way. Reorder and renumber the host and instance members of Address to be consistent with most other places.
This commit is contained in:
1 parent
bb1401a683
commit
1e66f11917
1 file changed
+3
-3
@@ -19,10 +19,10 @@ export type AddressShorthand =
|
|||||||
export class Address {
|
export class Address {
|
||||||
/** Controller address */
|
/** Controller address */
|
||||||
static controller = 0;
|
static controller = 0;
|
||||||
/** Instance address */
|
|
||||||
static instance = 1;
|
|
||||||
/** Host address */
|
/** Host address */
|
||||||
static host = 2;
|
static host = 1;
|
||||||
|
/** Instance address */
|
||||||
|
static instance = 2;
|
||||||
/** Control address */
|
/** Control address */
|
||||||
static control = 3;
|
static control = 3;
|
||||||
/** Broadcast */
|
/** Broadcast */
|
||||||
|
|||||||
Reference in new issue
Block a user