|
@@ -1848,7 +1848,7 @@ Inbound.VmessSettings = class extends Inbound.Settings {
|
|
|
}
|
|
|
};
|
|
|
Inbound.VmessSettings.Vmess = class extends XrayCommonClass {
|
|
|
- constructor(id=RandomUtil.randomUUID(), email=RandomUtil.randomLowerAndNum(8),limitIp=0, totalGB=0, expiryTime=0, enable=true, tgId='', subId=RandomUtil.randomLowerAndNum(16), reset=0) {
|
|
|
+ constructor(id=RandomUtil.randomUUID(), email=RandomUtil.randomLowerAndNum(8),limitIp=0, totalGB=0, expiryTime=0, enable=true, tgId=0, subId=RandomUtil.randomLowerAndNum(16), reset=0) {
|
|
|
super();
|
|
|
this.id = id;
|
|
|
this.email = email;
|
|
@@ -1939,7 +1939,7 @@ Inbound.VLESSSettings = class extends Inbound.Settings {
|
|
|
};
|
|
|
|
|
|
Inbound.VLESSSettings.VLESS = class extends XrayCommonClass {
|
|
|
- constructor(id=RandomUtil.randomUUID(), flow='', email=RandomUtil.randomLowerAndNum(8),limitIp=0, totalGB=0, expiryTime=0, enable=true, tgId='', subId=RandomUtil.randomLowerAndNum(16), reset=0) {
|
|
|
+ constructor(id=RandomUtil.randomUUID(), flow='', email=RandomUtil.randomLowerAndNum(8),limitIp=0, totalGB=0, expiryTime=0, enable=true, tgId=0, subId=RandomUtil.randomLowerAndNum(16), reset=0) {
|
|
|
super();
|
|
|
this.id = id;
|
|
|
this.flow = flow;
|
|
@@ -2064,7 +2064,7 @@ Inbound.TrojanSettings = class extends Inbound.Settings {
|
|
|
}
|
|
|
};
|
|
|
Inbound.TrojanSettings.Trojan = class extends XrayCommonClass {
|
|
|
- constructor(password=RandomUtil.randomSeq(10), flow='', email=RandomUtil.randomLowerAndNum(8),limitIp=0, totalGB=0, expiryTime=0, enable=true, tgId='', subId=RandomUtil.randomLowerAndNum(16), reset=0) {
|
|
|
+ constructor(password=RandomUtil.randomSeq(10), flow='', email=RandomUtil.randomLowerAndNum(8),limitIp=0, totalGB=0, expiryTime=0, enable=true, tgId=0, subId=RandomUtil.randomLowerAndNum(16), reset=0) {
|
|
|
super();
|
|
|
this.password = password;
|
|
|
this.flow = flow;
|
|
@@ -2209,7 +2209,7 @@ Inbound.ShadowsocksSettings = class extends Inbound.Settings {
|
|
|
};
|
|
|
|
|
|
Inbound.ShadowsocksSettings.Shadowsocks = class extends XrayCommonClass {
|
|
|
- constructor(method='', password=RandomUtil.randomShadowsocksPassword(), email=RandomUtil.randomLowerAndNum(8),limitIp=0, totalGB=0, expiryTime=0, enable=true, tgId='', subId=RandomUtil.randomLowerAndNum(16), reset=0) {
|
|
|
+ constructor(method='', password=RandomUtil.randomShadowsocksPassword(), email=RandomUtil.randomLowerAndNum(8),limitIp=0, totalGB=0, expiryTime=0, enable=true, tgId=0, subId=RandomUtil.randomLowerAndNum(16), reset=0) {
|
|
|
super();
|
|
|
this.method = method;
|
|
|
this.password = password;
|