Added getFragmentOutbound function to ServerConfig.kt
This commit is contained in:
1 parent
496a0ec92c
commit
6eaac2d7e9
1 file changed
+4
@@ -56,6 +56,10 @@ data class ServerConfig(
|
|||||||
return fullConfig?.getProxyOutbound()
|
return fullConfig?.getProxyOutbound()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fun getFragmentOutbound(): V2rayConfig.OutboundBean? {
|
||||||
|
return fullConfig?.getProxyOutbound()
|
||||||
|
}
|
||||||
|
|
||||||
fun getAllOutboundTags(): MutableList<String> {
|
fun getAllOutboundTags(): MutableList<String> {
|
||||||
if (configType != EConfigType.CUSTOM) {
|
if (configType != EConfigType.CUSTOM) {
|
||||||
return mutableListOf(TAG_AGENT, TAG_DIRECT, TAG_BLOCKED)
|
return mutableListOf(TAG_AGENT, TAG_DIRECT, TAG_BLOCKED)
|
||||||
|
|||||||
Reference in new issue
Block a user